|
[Sponsors] |
Problem with MPI when testing my first case in SU2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 7, 2023, 06:15 |
Problem with MPI when testing my first case in SU2
|
#1 |
New Member
Guangjing JU
Join Date: Sep 2023
Posts: 9
Rep Power: 3 |
After typing "SU2_CFD thermalbath.cfg", the terminal returned:
-------------------------------------------------------------------------- It looks like opal_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during opal_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): opal_shmem_base_select failed --> Returned value -1 instead of OPAL_SUCCESS -------------------------------------------------------------------------- -------------------------------------------------------------------------- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): opal_init failed --> Returned value Error (-1) instead of ORTE_SUCCESS -------------------------------------------------------------------------- -------------------------------------------------------------------------- It looks like MPI_INIT failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during MPI_INIT; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer): ompi_mpi_init: ompi_rte_init failed --> Returned "Error" (-1) instead of "Success" (0) -------------------------------------------------------------------------- *** An error occurred in MPI_Init *** on a NULL communicator *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort, *** and potentially your MPI job) Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed! My .bashrc file has following added: export PATH=/home/jugj/doc/mpich-4.0.2/mpich-install/bin:$PATH export LD_LIBRARY_PATH=/home/jugj/doc/mpich-4.0.2/mpich-install/lib:$LD_LIBRARY_PATH export CPATH=/home/jugj/doc/mpich-4.0.2/mpich-install/include:$CPATH export SU2_RUN=/usr/local/bin export SU2_HOME=/home/jugj/SU2/su2code-SU2-1fe5981 export PATH=$PATH:$SU2_RUN export PYTHONPATH=$PYTHONPATH:$SU2_RUN export MPP_DATA_DIRECTORY=$SU2_HOME/subprojects/Mutationpp/data export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SU2_HOME/build/subprojects/Mutationpp:$LD_LIBRARY_PATH export MPICC=mpicc export MPICXX=mpicxx export MPIF90=mpif90 Anyone can give any suggestion? |
|
September 7, 2023, 15:18 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
did you compile SU2 with the meson options:
Code:
-Dwith-mpi=enabled -Dcustom-mpi=true -Dextra-deps=mpich Code:
C compiler for the host machine: /usr/bin/mpicc.mpich (gcc 11.4.0 "gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the host machine: /usr/bin/mpicc.mpich ld.bfd 2.38 C++ compiler for the host machine: /usr/bin/mpicxx.mpich (gcc 11.4.0 "g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C++ linker for the host machine: /usr/bin/mpicxx.mpich ld.bfd 2.38 In my case, I also have: Code:
$echo $MPICC /usr/bin/mpicc.mpich $ |
|
September 8, 2023, 04:55 |
|
#3 |
New Member
Guangjing JU
Join Date: Sep 2023
Posts: 9
Rep Power: 3 |
Thank you so much! I finally run the testcase normally!
After reconfiguration with: -Dextra-deps=mpich the terminal returned: ERROR: Dependency "mpich" not found, tried pkgconfig and cmake So i sudo apt-get install libmpich-dev, and problem solved. Again, thank you so much for your reply! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3D Windturbine simulation in SU2 | k.vimalakanthan | SU2 | 15 | October 12, 2023 06:53 |
continuing problem with chtMultiRegion case - need help | boffin5 | OpenFOAM Running, Solving & CFD | 7 | May 23, 2023 14:52 |
Inputs of Riemann Problem in SU2 with Slope Limiters | ugurtan666 | SU2 | 0 | March 26, 2022 08:32 |
Problem running movingCylinders case in parallel with foam-extend-3.1 | mhkenergy | OpenFOAM Running, Solving & CFD | 5 | March 3, 2017 06:20 |
Code Saturne mass sources MPI problem | Pat84 | Main CFD Forum | 9 | April 21, 2010 09:02 |