CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Parallel execution of customized solver

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2006, 22:11
Default Hi, We modified lesInterF
New Member
Masato Otsuki
Join Date: Mar 2009
Location: Tokyo, Japan
Posts: 26
Rep Power: 16
otsuki is on a distinguished road

We modified lesInterFoam with adding energy equation. A Class for temperature-dependent thermophysical properties was also added. New solver works in serial. Parallel execution works only if we put our executable and runtime library (*.so) into $FOAM_APPBIN and $FOAM_LIBBIN.
If we put them into $FOAM_USER_APPBIN and $FOAM_USER_LIBBIN, we can't execute new solver
in parallel and get the following error message.

It seems that [at least] one of the processes that was started with
mpirun did not invoke MPI_INIT before quitting (it is possible that
more than one process did not invoke MPI_INIT -- mpirun was only
notified of the first one, which was on node n0).

mpirun can *only* be used with MPI programs (i.e., programs that
invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program
to run non-MPI programs over the lambooted nodes.

Does anyone explain why ?

Masato Otsuki
otsuki is offline   Reply With Quote

Old   March 24, 2006, 06:17
Default Parallel error messages are no
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 20
eugene is on a distinguished road
Parallel error messages are notoriously unhelpfull.

First thing to check is whether $FOAM_USER_APPBIN points at the same location on all the nodes and the compile machine.
eugene is offline   Reply With Quote

Old   March 24, 2006, 08:47
Default The environmental values $FOAM
New Member
Jun Ishimoto
Join Date: Mar 2009
Location: Sendai, Miyagi, Japan
Posts: 5
Rep Power: 16
ishimotoj is on a distinguished road
The environmental values $FOAM_USER_APPBIN and $FOAM_USER_LIBBIN are in the same location in the master and slave machines.
[jun@injector jun]$ echo $FOAM_USER_APPBIN
[jun@injector jun]$ echo $FOAM_USER_LIBBIN
[jun@hpc5 jun]$ echo $FOAM_USER_APPBIN
[jun@hpc5 jun]$ echo $FOAM_USER_LIBBIN
ishimotoj is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Own boundary condition modified simpleFoam erorr in parallel execution sponiar OpenFOAM Running, Solving & CFD 1 August 27, 2008 10:16
Boundary condition error depending on location of solver execution kjmaki OpenFOAM Running, Solving & CFD 0 June 18, 2008 16:04
Customized solver to run in parallel hsieh OpenFOAM Running, Solving & CFD 3 September 21, 2006 05:59
Parallel interfom trouble in execution mer OpenFOAM Running, Solving & CFD 6 October 18, 2005 06:45

All times are GMT -4. The time now is 22:58.