I am attempting to setup a parallel code_saturne 3.1 run using openmpi on 2 computers.
The steps that I have taken so far include:
1. Created my analysis and verified that it works on one computer (single computer multi-core using openmpi)
2. Verifed that my openmpi setup utilizing both computers works useing mpqc (http://www.mpqc.org/mpqc-html/index.html)
3. Moved "cs_user_scripts.py" into the DATA directory adding the following lines:
i) case.n_procs = 12
ii) mpi_env.mpiexec_opts = '-hostfile /etc/openmpi/openmpi-default-hostfile'
However, when I try to start my solution, I get the error below. It does appear that openmpi finds "crunchbang-node2" but that node2 cannot find the runcase xml file. Is there a specific way i need to share the run files over a network drive? Currently I have "synced" home directories on node1 and node2.
Code: Select all
****************************
Preparing calculation data
****************************
***************************
Preprocessing calculation
***************************
**********************
Starting calculation
**********************
Code_Saturne: cs_gui_util.c:174: Warning
Unable to open the file: 2D-Rectangular-Bluff-Body1.xml
Call stack:
Code_Saturne: cs_gui_util.c:174: Warning
Unable to open the file: 2D-Rectangular-Bluff-Body1.xml
Call stack:
Code_Saturne: cs_gui_util.c:174: Warning
Unable to open the file: 2D-Rectangular-Bluff-Body1.xml
Call stack:
Code_Saturne: cs_gui_util.c:174: Warning
Unable to open the file: 2D-Rectangular-Bluff-Body1.xml
Call stack:
Code_Saturne: cs_gui_util.c:174: Warning
Unable to open the file: 2D-Rectangular-Bluff-Body1.xml
Call stack:
Code_Saturne: cs_gui_util.c:174: Warning
Unable to open the file: 2D-Rectangular-Bluff-Body1.xml
Call stack:
Error loading parameter file "2D-Rectangular-Bluff-Body1.xml".
Code_Saturne: cs_gui_util.c:174: Warning
Unable to open the file: 2D-Rectangular-Bluff-Body1.xml
Error loading parameter file "2D-Rectangular-Bluff-Body1.xml".
Error loading parameter file "2D-Rectangular-Bluff-Body1.xml".
Error loading parameter file "2D-Rectangular-Bluff-Body1.xml".
Error loading parameter file "2D-Rectangular-Bluff-Body1.xml".
Error loading parameter file "2D-Rectangular-Bluff-Body1.xml".
Error loading parameter file "2D-Rectangular-Bluff-Body1.xml".
Code_Saturne: cs_gui_util.c:174: Warning
Unable to open the file: 2D-Rectangular-Bluff-Body1.xml
Error loading parameter file "2D-Rectangular-Bluff-Body1.xml".
Call stack:
Call stack:
1: 0x7f8a90d2808b <cs_opts_define+0x36b> (libsaturne.so.0)
2: 0x7f8a90cace84 <main+0xa4> (libsaturne.so.0)
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0
with errorcode 1.
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
3: 0x7f8a8db2c995 <__libc_start_main+0xf5> (libc.so.6)
4: 0x4007b9 <> (cs_solver)
End of stack
--------------------------------------------------------------------------
mpiexec.openmpi has exited due to process rank 4 with PID 5552 on
node crunchbang-node2 exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpiexec.openmpi (as reported here).
--------------------------------------------------------------------------
solver script exited with status 1.
Error running the calculation.
Check Code_Saturne log (listing) and error* files for details.
****************************
Saving calculation results
****************************
Error in calculation stage.
Peter