|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Yufan CHEN
Join Date: Apr 2025
Location: Hong Kong
Posts: 14
Rep Power: 2 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 762
Rep Power: 21 ![]() |
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 . |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Yufan CHEN
Join Date: Apr 2025
Location: Hong Kong
Posts: 14
Rep Power: 2 ![]() |
Quote:
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 |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |