Hi! Well, finally, I could compile Telemac v7p2 (SVN-trunk one month ago) using the following config-file:
---->
[Configurations]
configs : smuc2intelmpipar
[general]
root : /path-to-telemac/opentelemac3/v7p2
version : v7p2
language : 2
modules : update system -dredgesim
options :
mods_all : -I <config>
sfx_zip : .gztar
sfx_lib : .a
sfx_obj : .o
sfx_mod : .mod
sfx_exe :
val_root : <root>/examples
val_rank : all
[smuc2intelmpipar]
options : parallel mpi
par_cmdexec : mpiexec <config>/partel_para < PARTEL.PAR >> <partel.log>
mpi_cmdexec : mpiexec -wdir <wdir> <exename>
mpi_hosts:
cmd_obj_c : mpicc -c <srcName> -o <objName>
cmd_obj : mpif90 -c -O3 -DHAVE_MPI -DHAVE_PARMETIS -convert big_endian -sox -xsse4.2 <mods> <incs> <f95name>
cmd_lib : ar cru <libname> <objs>
cmd_exe : mpif90 -convert big_endian -o <exename> <objs> <libs>
incs_parallel : -I/lrz/sys/intel/impi/5.1.3.181/intel64/include
libs_partel : <root>/optionals/parmetis-4.0.3/lib/libparmetis.a <root>/optionals/parmetis-4.0.3/lib/libmetis.a
libs_all : <root>/optionals/parmetis-4.0.3/lib/libparmetis.a <root>/optionals/parmetis-4.0.3/lib/libmetis.a /lrz/sys/intel/impi/5.1.3.181/intel64/lib/libmpi.so
---->
This was no that easy as it might sound as I had to compile parmetis as well. And here are some degrees of freedom, where I'm not sure that I chose the correct one.
But fine, the usual workflow (partel serial/telemac parallel) seems to work. So I tried to use partel_para instead of partel. Bur here, something went wrong. First of all, partel_para starts parallely. So far okay.
But then, partel_para complains about a missing file 'partel.par' (lower cases). I found this file name hardcoded inside partel_para.F. But the common workflow script (runcode.py) only creates PARTEL.PAR (upper case). But this is not just a question of case-sensitivy, unfortunately. Also the content of PARTEL.PAR does not fit to what partel_para expects. As I couldn't find any documentation about the input of partel_para, I simply tried from the source code expectation (partel_para.F:253):
---->
OPEN(UNIT=ID_INPUT,FILE='partel.par')
READ(ID_INPUT,*) NAMEINP
READ(ID_INPUT,*) NAMECLI
READ(ID_INPUT,*) NPARTS
READ(ID_INPUT,*) PMETHOD
CLOSE(ID_INPUT)
---->
So, I tried (partel.par):
---->
T2DGEO
T2DCLI
28
3
---->
However, this crashed - later (I still have to fix the right position) - with backtrace of the fortrtl.
So,I'm probably doing something really wrong here, as it makes me have the impression that partel_para (partel and parmetis coupling) is still not really supported. But this can hardly be after all! Could somebody tell me, where in my confused mind lies the error? Is my config-file okay? What is missing?
Many thanks for any kind of hint
Cheers, Martin