Hello,
I have previously successfully compiled v6p3r1 using openmpi and gfortran. Everything worked great. To get some extra speed, I tried to compile it using ifort instead of gfortran.
If I understood the instructions correctly, all I have to do is alter the cmd_obj, cmd_lib and cmd_exe in the *.cfg file. With the *.cfg file below, the system seems to create objects and libraries, but not the executables. I've tried a few different cmd_exe options, but no luck. It could be that OpenMPI is still referencing to gfortran and not to ifort, but I am not sure. Does anyone know how to link OpenMPI to ifort in the cmd_exe option?
I am using Debian Wheezy with intel's composer_xe_2013.5.192.
Any recommendations are welcome.
Thank you,
Pat
# _____ _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs: ifortdebianmpi2
#
[general]
root: /home/user/opentelemac/v6p3r1
version: v6p3
language: 2
modules: 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
# also possible val_rank: <3 >7 6
#
# ____/ Debian ifort openMPI /__________________________________/
[ifortdebianmpi2]
#
options: parallel mpi
#
par_cmdexec: <config>/bin/partel < PARTEL.PAR >> <partel.log>
#
mpi_cmdexec: /usr/bin/mpiexec -wdir <wdir> -n <ncsize> <exename>
mpi_hosts:
#
cmd_obj: ifort -c -O3 -convert big_endian -no-prec-div -O3 -sox -vec-report1 -xsse4.2 -g -DHAVE_VTK -DHAVE_MPI -DHAVE_TECPLOT <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: ?????????
#
mods_all: -I <config>
#
incs_parallel: -I /usr/include/mpi/
libs_partel: /home/user/opentelemac/v6p3r1/optionals/metis-5.1.0/build/Linux-i686/libmetis/libmetis.a
libs_all : /usr/lib/libmpi.so.0.0.4
#
#