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

Error during parallel run

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2014, 04:53
Exclamation Error during parallel run
  #1
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
I have get this error

what should I do


mpirun was unable to launch the specified application as it could not find an executable:

Executable: InterFoam
harsha_kulkarni is offline   Reply With Quote

Old   October 6, 2014, 05:01
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
It's

Code:
interFoam
not

Code:
InterFoam
harsha_kulkarni likes this.
alexeym is offline   Reply With Quote

Old   October 6, 2014, 05:44
Default
  #3
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
Quote:
Originally Posted by alexeym View Post
It's

Code:
interFoam
not

Code:
InterFoam
It's my silly mistake
harsha_kulkarni is offline   Reply With Quote

Old   October 6, 2014, 05:45
Default
  #4
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
Thanks

It's my silly mistake
harsha_kulkarni is offline   Reply With Quote

Old   October 6, 2014, 05:51
Default
  #5
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
when I' trying to simulate using ./Allrun

I'm getting an error

/Allrun: 52: ./Allrun: decomposePar: not found
harsha_kulkarni is offline   Reply With Quote

Old   October 6, 2014, 06:02
Default
  #6
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Are you sure the environment was set up? I.e. did you source OpenFOAM's bashrc? You can check it by issuing

Code:
export | grep FOAM_
if the environment wasn't set up, the output will be empty.
alexeym is offline   Reply With Quote

Old   October 6, 2014, 07:18
Default
  #7
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
declare -x FOAM_APP="/home/ict/OpenFOAM/OpenFOAM-2.3.0/applications"
declare -x FOAM_APPBIN="/home/ict/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDP/bin"
declare -x FOAM_EXT_LIBBIN="/home/ict/OpenFOAM/ThirdParty-2.3.0/platforms/linuxGccDP/lib"
declare -x FOAM_INST_DIR="/home/ict/OpenFOAM"
declare -x FOAM_JOB_DIR="/home/ict/OpenFOAM/jobControl"
declare -x FOAM_LIBBIN="/home/ict/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDP/lib"
declare -x FOAM_MPI="openmpi-system"
declare -x FOAM_RUN="/home/ict/OpenFOAM/ict-2.3.0/run"
declare -x FOAM_SETTINGS="WM_NCOMPPROCS=4"
declare -x FOAM_SIGFPE=""
declare -x FOAM_SITE_APPBIN="/home/ict/OpenFOAM/site/2.3.0/platforms/linuxGccDP/bin"
declare -x FOAM_SITE_LIBBIN="/home/ict/OpenFOAM/site/2.3.0/platforms/linuxGccDP/lib"
declare -x FOAM_SOLVERS="/home/ict/OpenFOAM/OpenFOAM-2.3.0/applications/solvers"
declare -x FOAM_SRC="/home/ict/OpenFOAM/OpenFOAM-2.3.0/src"
declare -x FOAM_TUTORIALS="/home/ict/OpenFOAM/OpenFOAM-2.3.0/tutorials"
declare -x FOAM_USER_APPBIN="/home/ict/OpenFOAM/ict-2.3.0/platforms/linuxGccDP/bin"
declare -x FOAM_USER_LIBBIN="/home/ict/OpenFOAM/ict-2.3.0/platforms/linuxGccDP/lib"
declare -x FOAM_UTILITIES="/home/ict/OpenFOAM/OpenFOAM-2.3.0/applications/utilities


the output is like ablove when I use export | grep FOAM_ command

If environment was'nt set what is the procedure for that
harsha_kulkarni is offline   Reply With Quote

Old   October 6, 2014, 08:25
Default
  #8
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Environment seems to be set. What's the output of

Code:
which decomposePar
?
alexeym is offline   Reply With Quote

Old   October 6, 2014, 08:26
Default
  #9
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
I have added below line in $HOME/.bashrc by

gedit ~/.bashrc

source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc

Is it the right way to set environment ??
harsha_kulkarni is offline   Reply With Quote

Old   October 6, 2014, 08:29
Default
  #10
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
It shows nothing, when we enter 'which decomposePar'
harsha_kulkarni is offline   Reply With Quote

Old   October 6, 2014, 08:29
Default
  #11
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Quote:
Originally Posted by harsha_kulkarni View Post
I have added below line in $HOME/.bashrc by

gedit ~/.bashrc

source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc

Is it the right way to set environment ??
Yes, it is.
alexeym is offline   Reply With Quote

Old   October 6, 2014, 08:36
Default
  #12
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Quote:
Originally Posted by harsha_kulkarni View Post
It shows nothing, when we enter 'which decomposePar'
It's rather strange. Maybe OpenFOAM installation is somehow broken (i.e. parallel support was not built). Can you show the output of the following commands:

Code:
$ cd $FOAM_APPBIN
$ ls decompose*
alexeym is offline   Reply With Quote

Old   October 6, 2014, 11:50
Default
  #13
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
These are the outputs from above command

bash: cd: /home/ict/OpenFOAM/OpenFOAM-2.3.0/platforms/linuxGccDP/bin: No such file or directory

ls: cannot access decompose*: No such file or directory
harsha_kulkarni is offline   Reply With Quote

Old   October 6, 2014, 12:02
Default
  #14
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Mmm... it seems I'm starting to understand what's going on

You've downloaded source tarball, unpacked it into $HOME/OpenFOAM, sourced $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc and now trying to run tutorials? I.e. you've forgotten compilation step.

Last edited by alexeym; October 6, 2014 at 15:32. Reason: typo
alexeym is offline   Reply With Quote

Old   October 6, 2014, 12:14
Exclamation
  #15
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
what I did her download tarballs from OpenSSL

later put in OpenFOAM directory and extract it.

and give command- source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bash

it give following error

bash: /home/ict/OpenFOAM/OpenFOAM-2.3.0/etc/bash: No such file or directory
harsha_kulkarni is offline   Reply With Quote

Old   October 6, 2014, 23:13
Default
  #16
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
Actually

Terminal is not taking any command related to OpenFOAM, fluent

It has some problem it is not showing different colour for directory, executable
harsha_kulkarni is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Case running in serial, but Parallel run gives error atmcfd OpenFOAM Running, Solving & CFD 18 March 26, 2016 12:40
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 13:37
serial run fine, but parallel run diverged phsieh2005 OpenFOAM Running, Solving & CFD 2 October 6, 2009 08:33
Run in parallel a 2mesh case cosimobianchini OpenFOAM Running, Solving & CFD 2 January 11, 2007 06:33


All times are GMT -4. The time now is 16:55.