|
[Sponsors] |
August 28, 2015, 16:27 |
Running icoFoam in parallel
|
#1 |
Senior Member
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18 |
Dear Foamers,
I have installed OF 2.4 in my cluster and am trying to run icoFoam in parallel. However, I get the following error message. Code:
--> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 79. From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 79. FOAM aborting --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function UPstream::init(int& argc, char**& argv) FOAM aborting in file UPstream.C at line 79. FOAM aborting --> FOAM FATAL ERROR: bool IPstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor From function UPstream::init(int& argc, char**& argv) in file UPstream.C at line 79. FOAM aborting #0 #0 #0 #0 Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)-------------------------------------------------------------------------- An MPI process has executed an operation involving a call to the "fork()" system call to create a child process. Open MPI is currently operating in a condition that could result in memory corruption or other system errors; your MPI job may hang, crash, or produce silent data corruption. The use of fork() (or system() or other calls that create child processes) is strongly discouraged. The process that invoked fork was: Local host: taub098 (PID 19185) MPI_COMM_WORLD rank: 0 If you are *absolutely sure* that your application will successfully and correctly survive a call to fork(), you may disable this warning by setting the mpi_warn_on_fork MCA parameter to 0. -------------------------------------------------------------------------- -------------------------------------------------------------------------- An MPI process has executed an operation involving a call to the "fork()" system call to create a child process. Open MPI is currently operating in a condition that could result in memory corruption or other system errors; your MPI job may hang, crash, or produce silent data corruption. The use of fork() (or system() or other calls that create child processes) is strongly discouraged. The process that invoked fork was: Local host: taub098 (PID 19183) MPI_COMM_WORLD rank: 0 If you are *absolutely sure* that your application will successfully and correctly survive a call to fork(), you may disable this warning by setting the mpi_warn_on_fork MCA parameter to 0. Code:
#PBS -q cse #PBS -l nodes=1:ppn=4 #PBS -l walltime=00:01:00 #PBS -j oe #PBS -o dc_0V #PBS -N dc_0 cd ${PBS_O_WORKDIR} module load mvapich2/1.6-gcc+ifort #blockMesh #decomposePar mpiexec -np 4 icoFoam -parallel Thanks Regards, Vishal Last edited by wyldckat; August 30, 2015 at 17:43. Reason: Added [CODE][/CODE] markers |
|
August 30, 2015, 17:46 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer: You need to check the options that mpiexec needs for working, because the problem seems to be that the "-parallel" argument was not delivered to icoFoam for using. You need to talk with the system administrator of your cluster and/or check the documentation of mvapich2 that you're using.
For example: Code:
mpiexec --help |
|
September 1, 2015, 16:37 |
|
#3 |
Senior Member
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18 |
Thanks, Bruno for the reply. I was able to figure out the solution to the problem by loading a different module in the batch script.
module load openmpi/1.8.4-gcc-4.9.2 Thanks Regards, Vishal |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OF 2.0.1 parallel running problems | moser_r | OpenFOAM Running, Solving & CFD | 9 | July 27, 2022 03:15 |
problem about running parallel on cluster | killsecond | OpenFOAM Running, Solving & CFD | 3 | July 23, 2014 21:13 |
Problem in Running OpenFoam in Parallel | himanshu28 | OpenFOAM Running, Solving & CFD | 1 | July 11, 2013 09:19 |
Issues with running in parallel OF-2.2.0 | kalyangoparaju | OpenFOAM | 0 | June 21, 2013 12:41 |
Running PimpleDyMFoam in parallel | paul b | OpenFOAM Running, Solving & CFD | 8 | April 20, 2011 05:21 |