Hello,
If you need your two version in two modes, you need to have 4 configurations in your configuration file.
But first, for the parallel configuration, you need to also have MPICH2 installed and know the location the METIS library.
Here how it would look like (you have to replace the path of C:\mpich2_64\bin\mpiexec.exe, /include:C:\mpich2_64\include, C:\opentelemac\lib\libmetis64b.lib and C:\mpich2_64\lib\fmpich2.lib in two of your configurations.
Hope this helps,
Sébastien.
# _____ _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs: vdot1 vdot2 vpar1 vpar2
# _____ ____________________________________
# ____/ general common options /___________________________________/
#
[general]
#
language: 2
modules: update telemac2d
options:
#
cmd_obj: gfortran -c -O3 -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: gfortran -fconvert=big-endian -frecord-marker=4 -v -o <exename> <objs> <libs>
#
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
# _____ _______________________________________
# ____/ VDOT1 configuration /______________________________________/
#
[vdot1]
#
root: /home/nheili/v6p3r1
version: v6p3
# _____ _______________________________________
# ____/ VDOT2 configuration /______________________________________/
#
[vdot2]
#
root: /home/nheili/DOT2
version: v6p3
#
# _____ _______________________________________
# ____/ VPAR1 configuration /______________________________________/
#
[vpar1]
#
root: /home/nheili/v6p3r1
version: v6p3
#options:
#
par_cmdexec: <config>/partel < PARTEL.PAR >> <partel.log>
#
mpi_cmdexec: C:\mpich2_64\bin\mpiexec.exe -wdir <wdir> -n <ncsize> <exename>
mpi_hosts:
#
cmd_obj: gfortran -c -O3 -fconvert=big-endian -frecord-marker=4 -DHAVE_MPI <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: gfortran -fconvert=big-endian -frecord-marker=4 -v -o <exename> <objs> <libs>
#
incs_parallel: /include:C:\mpich2_64\include
libs_partel: C:\opentelemac\lib\libmetis64b.lib
libs_all: C:\mpich2_64\lib\fmpich2.lib
# _____ _______________________________________
# ____/ VPAR2 configuration /______________________________________/
#
[vpar2]
#
root: /home/nheili/DOT2
version: v6p3
#
par_cmdexec: <config>/partel < PARTEL.PAR >> <partel.log>
#
mpi_cmdexec: C:\mpich2_64\bin\mpiexec.exe -wdir <wdir> -n <ncsize> <exename>
mpi_hosts:
#
cmd_obj: gfortran -c -O3 -fconvert=big-endian -frecord-marker=4 -DHAVE_MPI <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: gfortran -fconvert=big-endian -frecord-marker=4 -v -o <exename> <objs> <libs>
#
incs_parallel: /include:C:\mpich2_64\include
libs_partel: C:\opentelemac\lib\libmetis64b.lib
libs_all: C:\mpich2_64\lib\fmpich2.lib