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

Can't run in parallel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 29, 2012, 21:03
Default Can't run in parallel
  #1
Member
 
Jason Eason
Join Date: Jan 2010
Location: Portage, Michigan
Posts: 44
Rep Power: 7
JulytoNovember is on a distinguished road
I'm using OpenFOAM-1.6-ext when I try to run my case in parallel I get this error.
PHP Code:
eason@eason-laptop:~$ cd Desktop/1
 eason
@eason-laptop:~/Desktop/1foamJob --p pimpleDyMFoam
 Parallel processing using OPENMPI with 2 processors
 Executing
mpirun -np 2 /home/eason/OpenFOAM/OpenFOAM-1.6-ext/bin/foamExec pimpleDyMFoam -parallel tee log
 
/home/eason/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc308: [[: not found
 
/home/eason/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc308: [[: not found
 export
21: -pthreadbad variable name
 export
21: -pthreadbad variable name
 
--------------------------------------------------------------------------
 
mpirun noticed that the job abortedbut has no info as to the process
 that caused that situation
.
 -------------------------------------------------------------------------- 
The case decomposed and my it will run on a single processor. I've tried everything I've read on this site. Seems like foamJob or foamExec is not finding the bashrc file for OpenFOAM-1.6-ext. Any ideas on what is wrong or how can I fix it?
__________________
Debian Squeeze - OpenFOAM-2.1.x, Paraview-3.12.0
JulytoNovember is offline   Reply With Quote

Old   March 30, 2012, 08:14
Default
  #2
Member
 
Joe
Join Date: Dec 2011
Location: Groton, CT
Posts: 67
Rep Power: 5
jferrari is on a distinguished road
I'm not sure how foamJob works, but when I do parallel runs I use the line:

Code:
mpirun -np 6 pimpleFoam -parallel > log &
They only thing I don't see in your code is the -parallel option. Try using the command above instead of foamJob and see if that works.
jferrari is offline   Reply With Quote

Old   March 31, 2012, 09:28
Default
  #3
Member
 
Jason Eason
Join Date: Jan 2010
Location: Portage, Michigan
Posts: 44
Rep Power: 7
JulytoNovember is on a distinguished road
Thank you for your help, its works I appreciate the help. Now I can use all 8 cores.
__________________
Debian Squeeze - OpenFOAM-2.1.x, Paraview-3.12.0

Last edited by JulytoNovember; March 31, 2012 at 19:11. Reason: correction
JulytoNovember is offline   Reply With Quote

Reply

Tags
parallel foamjob foamexec

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
Parallel Run on dynamically mounted partition braennstroem OpenFOAM Running, Solving & CFD 14 October 5, 2010 14:43
Unable to run OF in parallel on a multiple-node cluster quartzian OpenFOAM 3 November 24, 2009 14:37
serial run fine, but parallel run diverged phsieh2005 OpenFOAM Running, Solving & CFD 2 October 6, 2009 08:33
Parallel run diverges, serial does not SammyB OpenFOAM Running, Solving & CFD 1 May 10, 2009 03:28
Run in parallel a 2mesh case cosimobianchini OpenFOAM Running, Solving & CFD 2 January 11, 2007 07:33


All times are GMT -4. The time now is 14:56.