|
[Sponsors] |
May 21, 2010, 01:46 |
Problem with foamJob
|
#1 |
Senior Member
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 121
Rep Power: 16 |
Hi all,
I am trying to run a problem in parallel using "foamJob" in my laptop which has 2 core. To start with i tried to do a parallelTest, when i execute the command "foamJob - p -s parallelTest" it shows the following message. So whats the problem. Parallel processing using OPENMPI with 2 processors Executing: mpirun -np 2 /home/idea/OpenFOAM/OpenFOAM-1.6/bin/foamExec parallelTest -parallel | tee log bool Pstream::init(int& argc, char**& argv) : attempt to run parallel on 1 processor#0 Foam::error:rintStack(Foam::Ostream&) in "/home/idea/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/home/idea/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so" #2 Foam::Pstream::init(int&, char**&) in "/home/idea/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/openmpi-1.3.3/libPstream.so" #3 Foam::argList::argList(int&, char**&, bool, bool) in "/home/idea/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so" #4 main in "/home/idea/OpenFOAM/idea-1.6/applications/bin/linux64GccDPOpt/parallelTest" #5 __libc_start_main in "/lib/libc.so.6" #6 _start at /build/buildd/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:116 From function Pstream::init(int& argc, char**& argv) in file Pstream.C at line 74. FOAM aborting [IDeA:02052] *** Process received signal *** [IDeA:02052] Signal: Aborted (6) [IDeA:02052] Signal code: (-6) [IDeA:02052] [ 0] /lib/libc.so.6 [0x7feb58231040] [IDeA:02052] [ 1] /lib/libc.so.6(gsignal+0x35) [0x7feb58230fb5] [IDeA:02052] [ 2] /lib/libc.so.6(abort+0x183) [0x7feb58232bc3] [IDeA:02052] [ 3] /home/idea/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so(_ZN4Foam5error5abortEv+0x20c) [0x7feb5902e48c] [IDeA:02052] [ 4] /home/idea/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/openmpi-1.3.3/libPstream.so(_ZN4Foam7Pstream4initERiRPPc+0x4ca) [0x7feb57ffacca] [IDeA:02052] [ 5] /home/idea/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so(_ZN4Foam7argListC1ERiRPPcbb+0x3138) [0x7feb5903bcf8] [IDeA:02052] [ 6] parallelTest [0x401994] [IDeA:02052] [ 7] /lib/libc.so.6(__libc_start_main+0xe6) [0x7feb5821c5a6] [IDeA:02052] [ 8] parallelTest [0x401859] [IDeA:02052] *** End of error message *** Aborted |
|
May 21, 2010, 08:25 |
|
#2 |
Member
|
It seems that the error message is not linked to foamJob but simply your case setup.
I would try to run fully manually the computation and see what happens |
|
May 21, 2010, 09:13 |
|
#3 |
Senior Member
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 121
Rep Power: 16 |
I am just exploring parallel running in OpenFOAM. So can you explain in detail what to do?
|
|
May 21, 2010, 09:51 |
|
#4 |
Member
|
Just change directory to your case folder.
Then: mpirun -np 2 solverFoam -parallel | tee log where solverFoam is the solver you use, the same as in controlDict file. Hope it'll help |
|
May 21, 2010, 13:34 |
|
#5 |
Senior Member
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 121
Rep Power: 16 |
Hi,
Below is the error message, i get. Can you tell what is it? idea@IDeA:~/OpenFOAM/idea-1.6/run/Practise/forwardStep_1$ mpirun -np 2 rhoSonicFoam | tee log Missing: program name Program rhoSonicFoam either does not exist, is not executable, or is an erroneous argument to mpirun. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
Incoherent problem table in hollow-fiber spinning | Gianni | FLUENT | 0 | April 5, 2008 10:33 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 14:52 |