preCICE-v3.0.0, compiled from source on Centos8. All the tutorials run perfectly in parallel mode (multi-CPU via mpirun) but fail in serial mode (single-CPU). For example I will get the following error if run precice-aste-run using single CPU:
[lux-new-ws:206424] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 388
[lux-new-ws:206424] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 166
--------------------------------------------------------------------------
Sorry! You were supposed to get help about:
orte_init:startup:internal-failure
But I couldn't open the help file:
/proj/nv/libraries/Linux_x86_64/openmpi/2020/192603-rel/share/openmpi/help-orte-runtime: No such file or directory. Sorry!
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Sorry! You were supposed to get help about:
mpi_init:startup:internal-failure
But I couldn't open the help file:
/proj/nv/libraries/Linux_x86_64/openmpi/2020/192603-rel/share/openmpi/help-mpi-runtime.txt: No such file or directory. Sorry!
--------------------------------------------------------------------------
*** 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)
[lux-new-ws:206424] 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!
Which tutorials did you try and how do you see that they succeed? In principle, the log files report the “precice-openfoam adapter version 1.2.3”, which is not compatible with preCICE version 3 (Releases · precice/openfoam-adapter · GitHub). Which version of aste are you using? Note that it is highly recommended to use consistent MPI versions across all packages you intend to use with preCICE.
Note that if you rebuild preCICE (major update from v2.x to v3.x), you also need to rebuild all adapters or executable invoking the preCICE library.
Thanks. The ASTE was installed by compiling the source downloaded via git clonning the master branch last week and thus should be the latest version. By running the turbine blade tutorial inparallel mode, I can check the mapped results in paraview. Also, the openfoam adaptor is ver. 1.2.3 + unreleased features and using it, I have run several cases in parallel mode, like perpendicular flap openfoam+solidfoam and volumn coupled flow. Simulations ended normally till the prescribed time window given in the xml input file and have checked results in paraview as well. Hence pretty sure everythings working fine in parallel mode. But got the shown error when running the cases in single cpu mode.
maybe there is misunderstanding. I meant using multi-CPU via mpirun by parallel mode and using single-CPU by serial mode. Please do not confuse with the parallel / serial coupling method between the participants.
---[preciceAdapter] Loaded the OpenFOAM-preCICE adapter - v1.3.0.
[lux-new-ws:1145542] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 388
[lux-new-ws:1145542] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 166
Long shot, but what happens if you also run the serial code with mpirun -n 1? I could imagine that you built the code with an MPI compiler, which linked to some libraries that are not discoverable outside the MPI environment.