Dear Sebastien,
Thank you for the detailed explanation.
The configuration file is now being picked up by the scheduler, but it runs for a few seconds and kills the job.
Here is the error file returned from the hpc
/var/spool/pbs/mom_priv/jobs/5819754.egeon2.SC: line 1: telemac2d.py: command not found
/var/spool/pbs/mom_priv/jobs/5819754.egeon2.SC: line 3: mpi_hosts:: command not found
/var/spool/pbs/mom_priv/jobs/5819754.egeon2.SC: line 4: syntax error near unexpected token `<'
/var/spool/pbs/mom_priv/jobs/5819754.egeon2.SC: line 4: `mpi_cmdexec: /apps/openmpi/1.6.5/gcc/4.7.2/bin/mpiexec -wdir <wdir> -n <ncsize> <exename>'
It seems that it is not able to find telemac2d.py. The telemac software is in the directory /TELEMAC/v7p2r0, but I am not sure where to put this information in the configuration file.
The cluster I am using has the following MPI implementation: OpenMPI, MPICH2, MVAPICH2.
Here is my configuration file
telemac2d.py -s goulais_manning.cas --ncsize 36 --nctile 3 --jobname telemac_test_case
#
mpi_hosts: mgmt01
mpi_cmdexec: /apps/openmpi/1.6.5/gcc/4.7.2/bin/mpiexec -wdir <wdir> -n <ncsize> <exename>
#
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=<nctile>:ppn=<ncnode>
#PBS -q highp
source /etc/profile.d/modules.sh
module load gcc/4.7.2 openmpi/1.6.5/gcc/4.7.2 python/2.7.2
PATH=$PATH:$HOME/bin:~/opentelemac/trunk/scripts/python27
export PATH
cd <wdir>
<py_runcode>
exit
#
hpc_runcode: chmod 755 <hpc_stdin>; qsub <hpc_stdin>
#
hpc_depend: -W depend=afterok:<jobid>
#
cmd_obj: gfortran -c -O3 -fconvert=big-endian -DHAVE_MPI -frecord-marker=4 <mods> <incs> <f95name>
cmd_exe: /apps/openmpi/1.6.5/gcc/4.7.2/bin/mpif90 -fconvert=big-endian -frecord-marker=4 -lpthread -v -lm -o <exename> <objs> <libs>
#
Best regards,
Sho