Here is a configuration that works for me (note that you are using a different queue system so you have to adapt to yours):
#
hosts: mgmt01
mpi_cmdexec: /data/apps/openmpi/1.6/gcc/4.4.6/bin/mpiexec -wdir <wdir> -n <ncsize> <exename> --hostfile <hostfile>
#
par_cmdexec: <config>/partel < PARTEL.PAR >> <partel.log>
#
hpc_stdin: #!/bin/bash
#PBS -S /bin/sh
#PBS -o <sortiefile>
#PBS -e <exename>.err
#PBS -N <jobname>
#PBS -l nodes=<ncnode>:ppn=<nctile>
#PBS -q highp
<mpi_cmdexec>
exit
hpc_cmdexec: chmod 755 <hpc_stdin>; qsub <hpc_stdin>
#
cmd_obj: gfortran -c -O3 -DHAVE_MPI -ffixed-line-length-132 -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: /data/apps/openmpi/1.6/gcc/4.4.6/bin/mpif90 -fconvert=big-endian -frecord-marker=4 -v -lm -o <exename> <objs> <libs>
#
mods_all: -I <config>
#
incs_parallel: -I /data/apps/openmpi/1.6/gcc/4.4.6/include
libs_partel: /data/home/HR/sbo/opentelemac/libs/libmetis.a
libs_all: /apps/openmpi/1.6/gcc/4.4.6/lib/libmpi.so
#
With this you have can either do telemac2d.py -s -w ./trace casfile, and at the end you will have to do telemac2d.py -s -w ./trace casfile --merge
You can also do the first step in several sub-steps:
telemac2d.py -s -w ./trace casfile --split
telemac2d.py -s -w ./trace casfile -x
telemac2d.py -s -w ./trace casfile --run
as long as you keep using the same tmp dir "./trace".
Have a nice weekend.
Sébastien.