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

Parallel execution of customized solver

Register Blogs Community New Posts Updated Threads Search

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

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
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
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
  #3
New Member
 
Jun Ishimoto
Join Date: Mar 2009
Location: Sendai, Miyagi, Japan
Posts: 5
Rep Power: 17
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
/home/jun/OpenFOAM/jun-1.2/applications/bin/linuxGcc4Opt
[jun@injector jun]$ echo $FOAM_USER_LIBBIN
/home/jun/OpenFOAM/jun-1.2/lib/linuxGcc4Opt
[jun@hpc5 jun]$ echo $FOAM_USER_APPBIN
/home/jun/OpenFOAM/jun-1.2/applications/bin/linuxGcc4Opt
[jun@hpc5 jun]$ echo $FOAM_USER_LIBBIN
/home/jun/OpenFOAM/jun-1.2/lib/linuxGcc4Opt
.
.
.
---------------------------------
ishimotoj 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
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 05:00.