CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Error during parallel run (https://www.cfd-online.com/Forums/openfoam-pre-processing/142644-error-during-parallel-run.html)

harsha_kulkarni October 6, 2014 04:53

Error during parallel run
 
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

alexeym October 6, 2014 05:01

It's

Code:

interFoam
not

Code:

InterFoam

harsha_kulkarni October 6, 2014 05:44

Quote:

Originally Posted by alexeym (Post 513064)
It's

Code:

interFoam
not

Code:

InterFoam

It's my silly mistake

harsha_kulkarni October 6, 2014 05:45

Thanks

It's my silly mistake

harsha_kulkarni October 6, 2014 05:51

when I' trying to simulate using ./Allrun

I'm getting an error

/Allrun: 52: ./Allrun: decomposePar: not found

alexeym October 6, 2014 06:02

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.

harsha_kulkarni October 6, 2014 07:18

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

alexeym October 6, 2014 08:25

Environment seems to be set. What's the output of

Code:

which decomposePar
?

harsha_kulkarni October 6, 2014 08:26

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 October 6, 2014 08:29

It shows nothing, when we enter 'which decomposePar'

alexeym October 6, 2014 08:29

Quote:

Originally Posted by harsha_kulkarni (Post 513089)
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 October 6, 2014 08:36

Quote:

Originally Posted by harsha_kulkarni (Post 513090)
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*


harsha_kulkarni October 6, 2014 11:50

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

alexeym October 6, 2014 12:02

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.

harsha_kulkarni October 6, 2014 12:14

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 October 6, 2014 23:13

Actually

Terminal is not taking any command related to OpenFOAM, fluent

It has some problem it is not showing different colour for directory, executable


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