CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Problem with foamJob

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By truong_nm

Reply
 
LinkBack Thread Tools Display Modes
Old   May 21, 2010, 01:46
Default Problem with foamJob
  #1
Senior Member
 
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 102
Rep Power: 9
mecbe2002 is on a distinguished road
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
mecbe2002 is offline   Reply With Quote

Old   May 21, 2010, 08:25
Default
  #2
Member
 
Ngoc-Minh Truong
Join Date: Feb 2010
Location: Toulouse, France
Posts: 42
Rep Power: 8
truong_nm is on a distinguished road
Send a message via MSN to truong_nm
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
truong_nm is offline   Reply With Quote

Old   May 21, 2010, 09:13
Default
  #3
Senior Member
 
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 102
Rep Power: 9
mecbe2002 is on a distinguished road
I am just exploring parallel running in OpenFOAM. So can you explain in detail what to do?
mecbe2002 is offline   Reply With Quote

Old   May 21, 2010, 09:51
Default
  #4
Member
 
Ngoc-Minh Truong
Join Date: Feb 2010
Location: Toulouse, France
Posts: 42
Rep Power: 8
truong_nm is on a distinguished road
Send a message via MSN to truong_nm
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
atg likes this.
truong_nm is offline   Reply With Quote

Old   May 21, 2010, 13:34
Default
  #5
Senior Member
 
KGN
Join Date: Oct 2009
Location: Chennai, India
Posts: 102
Rep Power: 9
mecbe2002 is on a distinguished road
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.
mecbe2002 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


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