|
[Sponsors] |
March 23, 2006, 22:11 |
Hi,
We modified lesInterF
|
#1 |
New Member
Masato Otsuki
Join Date: Mar 2009
Location: Tokyo, Japan
Posts: 26
Rep Power: 17 |
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 |
|
March 24, 2006, 06:17 |
Parallel error messages are no
|
#2 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
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. |
|
March 24, 2006, 08:47 |
The environmental values $FOAM
|
#3 |
New Member
Jun Ishimoto
Join Date: Mar 2009
Location: Sendai, Miyagi, Japan
Posts: 5
Rep Power: 17 |
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 . . . --------------------------------- |
|
|
|
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 |