SU2_CFD can run with parallel ,but can not run serial
Zcaic opened this issue · 0 comments
Zcaic commented
Desktop (please complete the following information):
- OS: [e.g., WSL (Mint 21.2)]
- C++ compiler and version: [e.g., g++ (GCC) 11.4.0]
- MPI implementation and version: [e.g., OpenMPI 4.1.2]
- SU2 Version: [e.g., v7.5.1]
I compile SU2 with
export CXXFLAGS="-march=native -funroll-loops -O2"
./meson.py build -Denable-autodiff=true -Denable-directdiff=true --prefix=/opt/su2
./ninja -C build install
And it compiles successfully. When I run QuickStart with mpirun -n 2 SU2_CFD inv_NACA0012.cfg
, it can run sucessfully, but when I run serial with SU2_CFD inv_NACA0012.cfg
, I get a error:
[DESKTOP-7ALPJDS:00356] *** An error occurred in MPI_Win_create
[DESKTOP-7ALPJDS:00356] *** reported by process [235864065,0]
[DESKTOP-7ALPJDS:00356] *** on communicator MPI_COMM_WORLD
[DESKTOP-7ALPJDS:00356] *** MPI_ERR_WIN: invalid window
[DESKTOP-7ALPJDS:00356] *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
[DESKTOP-7ALPJDS:00356] *** and potentially your MPI job)
It seems that SU2 was able to run successfully in parallel, but something went wrong with running serially.