CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

MPI_ERRORS during run SU2_CFD

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2025, 06:13
Question MPI_ERRORS during run SU2_CFD
  #1
New Member
 
Yufan CHEN
Join Date: Apr 2025
Location: Hong Kong
Posts: 14
Rep Power: 2
yufan is on a distinguished road
Hi, guys

I am a beginer of SU2, I have the same problems with building SU2 on Linux/MacOS, and what i do for building the codes is

rm -rf build
export CC=mpicc.mpich
export CXX=mpicxx.mpich
export CXXFLAGS="-march=native -funroll-loops -ffast-math -fno-finite-math-only"
./meson.py build --optimization=2 --warnlevel=3 --prefix=$PWD/build -Dcustom-mpi=true -Dwith-omp=true -Denable-mpp=true
sudo ./ninja -C build install -j 4
(I get hints from this post MPI issues on debian Debian 11 bullseye , unfortunately i cannot reply this post so i created a new thread)

it is weird the when i run with SU2_CFD it output:

[yufanpro-virtual-machine:214352] *** An error occurred in MPI_Win_create
[yufanpro-virtual-machine:214352] *** reported by process [3228696577,0]
[yufanpro-virtual-machine:214352] *** on communicator MPI_COMM_WORLD
[yufanpro-virtual-machine:214352] *** MPI_ERR_WIN: invalid window
[yufanpro-virtual-machine:214352] *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
[yufanpro-virtual-machine:214352] *** and potentially your MPI job)

but it can be run with mpirun -n 1 --mca osc ucx SU2_CFD, I donot know if this is equal to run with SU2_CFD.

I suffered from this a lot >_<, i am really looking forward to your hints or help.



Best Regards,
Yufan
yufan is offline   Reply With Quote

Old   April 14, 2025, 02:41
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 762
Rep Power: 21
bigfootedrockmidget is on a distinguished road
did you forget -Dwith-mpi=enabled?
Code:
-Dwith-mpi=enabled -Dcustom-mpi=false



Also check in the meson output that the compiler it uses is mpich and not just gcc .
bigfootedrockmidget is offline   Reply With Quote

Old   April 14, 2025, 09:30
Default
  #3
New Member
 
Yufan CHEN
Join Date: Apr 2025
Location: Hong Kong
Posts: 14
Rep Power: 2
yufan is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
did you forget -Dwith-mpi=enabled?
Code:
-Dwith-mpi=enabled -Dcustom-mpi=false



Also check in the meson output that the compiler it uses is mpich and not just gcc .
Hi Sir,

Thank you for your advice, i suddenly understand this is caused by the interference of openmpi and mpich in my VMware. I uninstall those two package, and install mpich to fix the problem.

Thank you very much ^_^!

Yours,
Yufan
yufan is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM benchmarks on various hardware eric Hardware 864 May 25, 2025 15:53
[waves2Foam] waves2Foam on an Ubuntu 18.04 with OpenFOAM 1712 JGadelho OpenFOAM Community Contributions 36 April 27, 2024 16:46
Cannot run phoenix on linux opensuse 13.1 kde mabal Phoenics 0 June 15, 2014 06:16
[mesh manipulation] Cannot get refineMesh to run in parallel smschnob OpenFOAM Meshing & Mesh Conversion 2 June 3, 2014 11:20
First Parallel Run - need some help Gian Maria OpenFOAM 3 June 17, 2011 12:08


All times are GMT -4. The time now is 06:30.