Welcome, Guest
Username: Password: Remember me

TOPIC: Telemac v6p3 with python procedure

Telemac v6p3 with python procedure 7 years 11 months ago #24436

  • altw
  • altw's Avatar
Hello,

I am trying to install telemac v6p3, with the python procedure. The compilation of the scalar version is ok.

For the parallel version (intel and mpi), I have in my file systel.cfg :

# _____ __________________________________
# ____/ Calibre7 INTEL MPICH _________________________________/
[C7.ifort10HPC]
#
options: parallel mpi mpi_cmdexec: mpirun -machinefile MPI_HOSTFILE -np <ncsize> <exename>
#
cmd_obj: ifort -c -O3 -convert big_endian -DHAVE_MPI <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: ifort -static-intel -convert big_endian -o <exename> <objs> <libs>
cmd_exe_estel3d: ifort -static-intel -convert big_endian -o <exename> <objs> <libs> -lstdc++ -lz
#
mods_all: -I<config>
libs_estel3d:
#
#
incs_parallel: -I/appli/mpt/2.06/include
libs_partel: /home/metis/lib/libmetis.a
libs_all: *.o -lpthread -lpthread -lrt -lstdc++ -lz



At the compilation, I have this error :

/home/telemac/v6p3r2/sources/utils/partel/partel_prelim.F:(.text+0x0): multiple definition of `MAIN__'
partel.o:/home/telemac/v6p3r2/sources/utils/partel/partel.F:(.text+0x0): first defined here
... The following command failed for the reason above
ifort -static-intel -convert big_endian -o /home/telemac/v6p3r2/builds/C7.ifort10HPC/bin/partel partitioner.o util_pares.o pares3d.o partel.o /home/telemac/v6p3r2/builds/C7.ifort10HPC/lib/utils/bief/partel.a /home/telemac/v6p3r2/builds/C7.ifort10HPC/lib/utils/special/partel.a *.o -lpthread -lpthread -lrt -lstdc++ -lz /home/telemac/metis/lib/libmetis.a

Do you have any idea to make it work ?
Thank you very much.
The administrator has disabled public write access.

Telemac v6p3 with python procedure 7 years 11 months ago #24437

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

Try to install the latest version (v7.1) first

Regards
Christophe
The administrator has disabled public write access.

Telemac v6p3 with python procedure 7 years 11 months ago #24438

  • altw
  • altw's Avatar
With the same systel.cfg and the v7p1r1 version, I have this error :

/home/telemac/v7p1r1/builds/C7.ifort10HPC/lib/utils/special/splitsel.a(plante.o): In function `plante_':
/home/telemac/v7p1r1/sources/utils/special/plante.F:(.text+0x5d): undefined reference to `mpi_initialized_'
/home/telemac/v7p1r1/sources/utils/special/plante.F:(.text+0x12f): undefined reference to `mpi_abort_'
compileTELEMAC::main:
+> creating executable: splitsel:
|createExeFiles: something went wrong, I am not sure why (runcode=1).
|
|... The following command failed for the reason above (or below)
|ifort -static-intel -convert big_endian -o /home/telemac/v7p1r1/builds/C7.ifort10HPC/bin/splitsel pair.o splitsel.o /home/telemac/v7p1r1/builds/C7.ifort10HPC/lib/utils/bief/splitsel.a /home/telemac/v7p1r1/builds/C7.ifort10HPC/lib/utils/hermes/splitsel.a /home/telemac/v7p1r1/builds/C7.ifort10HPC/lib/utils/special/splitsel.a *.o -lpthread -lpthread -lrt -lstdc++ -lz


I have also tried :
cmd_exe: mpiifort -convert big_endian -o <exename> <objs> <libs>
cmd_exe: mpif90 -fconvert=big-endian -o <exename> <objs> <libs>
but this doesn't work either.

Regards.
The administrator has disabled public write access.

Telemac v6p3 with python procedure 7 years 11 months ago #24441

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
try to replace incs_parallel by incs_all in your config file

hope this helps
Christophe
The administrator has disabled public write access.

Telemac v6p3 with python procedure 7 years 11 months ago #24459

  • altw
  • altw's Avatar
Thank you very much.
The compilation was ok for the two versions (v6p3 and v7p1) with :

incs_parallel: -I /appli/intel/impi/5.0.3.048/include64
libs_parallel: /home/telemac/metis/lib/libmetis.a
libs_all: -L/appli/intel/impi/5.0.3.048/lib64 -lmpi -lpthread -lrt

Telemac works in parallel 1 proc (no multiproc), without fortran file, for the 2 versions.
With a fortran file and 1 proc, I have a problem at the execution (v6p3, since the fortran file is not compatible with the v7p1 version) :

ifort -convert big_endian -o R00.exe wacfort.o -Xlinker --start-group /mnt/data2/home/telemac/v6p3r2/builds/C7.ifort10HPC/lib/tomawac/homere_tomawac.lib /mnt/data2/home/telemac/v6p3r2/builds/C7.ifort10HPC/lib/utils/bief/homere_tomawac.lib /mnt/data2/home/telemac/v6p3r2/builds/C7.ifort10HPC/lib/utils/damocles/homere_tomawac.lib /mnt/data2/home/telemac/v6p3r2/builds/C7.ifort10HPC/lib/utils/parallel/homere_tomawac.lib /mnt/data2/home/telemac/v6p3r2/builds/C7.ifort10HPC/lib/utils/special/homere_tomawac.lib /work/test/lancement/R00.cas_2016-12-01-10h55min48s/-L/appli/intel/impi/5.0.3.048/lib64 -lmpi -lpthread -lrt --end-group

ifort: error #10236: File not found: '/work/test/lancement/R00.cas_2016-12-01-10h55min48s/-L/appli/intel/impi/5.0.3.048/lib64'

Do you have any idea ?
Thank you very much,
Regards.
The administrator has disabled public write access.

Telemac v6p3 with python procedure 7 years 11 months ago #24460

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
strange message as it seems a space is missing in the link command.
Could you join the config file?

regards
Christophe
The administrator has disabled public write access.

Telemac v6p3 with python procedure 7 years 11 months ago #24461

  • altw
  • altw's Avatar
Here is the systel.cfg file.

File Attachment:

File Name: systel.cfg
File Size: 3 KB
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.