Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2021-01-28 Thread Kahnbein Kai via users
Tony, Im not able to run it in parallel on OF7. So i decide to use OF7 (with CfMesh) to mesh my case and then switch to OF8 and calculate it :). Thank you for your help and best regards Kai Am 10.01.21 um 16:49 schrieb Tony Ladd via users: Kai That means your case directory is mostly OK. E

Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2021-01-10 Thread Tony Ladd via users
Kai That means your case directory is mostly OK. Exactly what command did you use to run the executable. By serial mode I actually meant a single processor. For example simpleFoam But then its surprising if it uses multiple cores. But it may be using multithreading by default. On a multic

Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2021-01-10 Thread Kahnbein Kai via users
Hey Tony, it works without the -parallel flag, all four cpu's are at 100% and running fine. Best regards Kai Am 05.01.21 um 20:36 schrieb Tony Ladd via users: Just run the executable without mpirun and the -parallel flag. On 1/2/21 11:39 PM, Kahnbein Kai via users wrote: *[External Email]*

Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2021-01-05 Thread Tony Ladd via users
Just run the executable without mpirun and the -parallel flag. On 1/2/21 11:39 PM, Kahnbein Kai via users wrote: *[External Email]* Ok, sorry, what do you mean with the "serial version" ? Best regards Kai Am 31.12.20 um 16:25 schrieb tladd via users: I did not see the whole email chain befo

Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2021-01-02 Thread Kahnbein Kai via users
Ok, sorry, what do you mean with the "serial version" ? Best regards Kai Am 31.12.20 um 16:25 schrieb tladd via users: I did not see the whole email chain before. The problem is not that it cannot find the MPI directories. I think this INIT error comes when the program cannot start for some

Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2020-12-31 Thread tladd via users
I did not see the whole email chain before. The problem is not that it cannot find the MPI directories. I think this INIT error comes when the program cannot start for some reason. For example a missing input file. Does the serial version work. On 12/31/20 6:33 AM, Kahnbein Kai via users wrot

Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2020-12-31 Thread Kahnbein Kai via users
I compared the /etc/bashrc files of both versions of OF (v7 and v8) and i dont found any difference. Here are the lines (i thought related to openmpi) of both files: OpenFOAM v7: Line 86 till 89: #- MPI implementation: #    WM_MPLIB = SYSTEMOPENMPI | OPENMPI | SYSTEMMPI | MPICH | MPICH-GM | HPM

Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2020-12-30 Thread tladd via users
Probably because OF cannot find your mpi installation. Once you set your OF environment, where is it looking for mpicc? Note the OF environment overrides your .bashrc once you source the OF bashrc. That takes its settings from the src/etc directory in the OF source code. On 12/29/20 10:23 AM,

Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2020-12-29 Thread Kahnbein Kai via users
Thank you for this hint. I installed OpenFOAM v8 (the newest) on my computer and it works ... At the Version v7 i get still this mpi error I dont know why ... I wish you a healthy start into the new year :) Am 28.12.20 um 19:16 schrieb Benson Muite via users: Have you tried reinstalling

Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2020-12-28 Thread Benson Muite via users
Have you tried reinstalling OpenFOAM? If you are mostly working in a desktop, there are pre-compiled versions available: https://openfoam.com/download/ If you are using a pre-compiled version, do also consider reporting the error to the packager. It seems unlikely to be an MPI error, more likel

Re: [OMPI users] MPI Exit Code:1 on an OpenFoam application

2020-12-28 Thread Kahnbein Kai via users
Good morning, im trying to fix this error by myself and i have a little update. The ompi version i use is the: Code: kai@Kai-Desktop:~/Dokumente$ mpirun --version mpirun (Open MPI) 4.0.3 If i create a *.c file, with the following content: Code: #include #include int main(int argc, char** arg