CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   mpirun detected that one or more processes exited... on remotely accessed (https://www.cfd-online.com/Forums/openfoam-solving/225209-mpirun-detected-one-more-processes-exited-remotely-accessed.html)

Geb1313 March 18, 2020 12:08

mpirun detected that one or more processes exited... on remotely accessed
 
Hi,

I have been working with OpenFoam for the last few months. Now I wanted to continue working from home ( Home quarantined :o) . I am accessing a workstation via Remote desktop connection from my laptop.

A parallel running of a dambreak case on 16 processors gives the following error:
"
Primary job terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[27991,1],0]
Exit code: 145 "

Any help please!

Note that: a) similar cases were working fine when I was working in my office.
b) The same case is working fine in my laptop
c) The same case with a single processor is ok in the workstation
d) I am connected via VPN to the company's internet to access the workstation.

mahsankhan April 10, 2020 16:05

I got the same error
 
I ran:
decomposePar

then:
mpirun -np 3 interMixingFoam -parallel


And then I have got the same error:




Build : v1906 OPENFOAM=1906
Arch : "LSB;label=32;scalar=64"
Exec : interMixingFoam -parallel
Date : Apr 10 2020
Time : 20:37:29
Host : DESKTOP-KVKH8JA
PID : 2839
fileName::stripInvalid() called for invalid fileName /mnt/c/Users/AhsanKhan/Documents/Docs/theCase/5thCaseRun/mixingTank3DTurbulentDecomposed
For debug level (= 2) > 1 this is considered fatal
fileName::stripInvalid() called for invalid fileName /mnt/c/Users/AhsanKhan/Documents/Docs/theCase/5thCaseRun/mixingTank3DTurbulentDecomposed
For debug level (= 2) > 1 this is considered fatal
fileName::stripInvalid() called for invalid fileName /mnt/c/Users/AhsanKhan/Documents/Docs/theCase/5thCaseRun/mixingTank3DTurbulentDecomposed
For debug level (= 2) > 1 this is considered fatal
-------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[5421,1],1]
Exit code: 1




Kindly someone help me with this issue.

mahsankhan September 7, 2020 09:45

I found the error. My computer's username has a space in it so that was the problem.
Unfortunately, the username can not be changed...

olesen September 7, 2020 13:10

Quote:

Originally Posted by mahsankhan (Post 782228)
I found the error. My computer's username has a space in it so that was the problem.
Unfortunately, the username can not be changed...

Looks like a windows mapping issue. The easy solution, which normally works fine, is to enable spaces.

In the etc/controlDict
Code:

InfoSwitches
{
    // The default ASCII write precision
    writePrecision  6;

...


    // Allow space character in fileName (use with caution)
    // Ignored (always 1) for Windows.
// Default:    allowSpaceInFileName    0;


    allowSpaceInFileName    1;
}



This will likely get it working for you.


/mark


All times are GMT -4. The time now is 20:10.