CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   The dummy Pstream library cannot be used in parallel mode (https://www.cfd-online.com/Forums/openfoam/242194-dummy-pstream-library-cannot-used-parallel-mode.html)

denis08 April 9, 2022 09:25

The dummy Pstream library cannot be used in parallel mode
 
Hello everyone,


I tried to run an OpenFoam case with interFoam in parallel and got the following error :


"FOAM FATAL ERROR: (openfoam-2012)
The dummy Pstream library cannot be used in parallel mode


From static bool Foam::UPstream::init(int &, char **&, bool)
in file UPstream.C at line 50.
"


I read some threads on this forum about it but could not find a solution.


I also have more information about the MPI:


echo $WM_MPLIB: OPENMPI
echo $MPI_ARCH_PATH: /xxx/ThirdParty-v2012/platforms/linux64Icc/openmpi-4.0.3
ls -l $MPI_ARCH_PATH: ls: cannot access '/xxx/ThirdParty-v2012/platforms/linux64Icc/openmpi-4.0.3': No such file or directory
which mpirun: /opt/intel/2019.4.070/impi/2019.4.243/intel64/bin/mpirun


I guess my problem is that i have intelmpi and not openmpi but could not figure out how to solve it


Thank you for your help

denis08 April 9, 2022 09:58

By the way, i tried something:


I changed WM_MPLIB and now got:


echo $WM_MPLIB: INTELMPI


But when i start my simulation again, i got a new error:


Sorry! You were supposed to get help about:
mpi_init:startup:internal-failure
But I couldn't open the help file:
/xxx/ThirdParty-v2012/platforms/linux64Icc/openmpi-4.0.3/share/openmpi/help-mpi-runtime.txt: No such file or directory. Sorry!
--------------------------------------------------------------------------
*** An error occurred in MPI_Init_thread
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
*** and potentially your MPI job)
[gacn0098:32568] 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!


Hope this helps you understand my issue


All times are GMT -4. The time now is 14:52.