Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: makepar90 make: *** [telemac3dv6p1_MP.exe]

makepar90 make: *** [telemac3dv6p1_MP.exe] 13 years 5 days ago #3079

  • ORIZONO
  • ORIZONO's Avatar
Bonjour,
J'ai un problème qui est le suivant, lorsque que j’exécute makepar90 j'ai plusieurs erreurs de la forme :


========== telemac3d/tel3d_v6p1/sources :

===== Making : /home/istil/promo09-12/orizono/opentelemac/v6p1/telemac3d/tel3d_v6p1/so
urces
Link parallel executable par defaut ...
/home/istil/promo09-12/orizono/opentelemac/v6p1/parallel/parallel_v6p1/intel_64_10/par
allelv6p1.a(p_dmax.o): In function `p_dmax_':
p_dmax.f:(.text+0x62): undefined reference to `mpi_allreduce_'
/home/istil/promo09-12/orizono/opentelemac/v6p1/parallel/parallel_v6p1/intel_64_10/par
allelv6p1.a(p_dmin.o): In function `p_dmin_':
p_dmin.f:(.text+0x62): undefined reference to `mpi_allreduce_'
/home/istil/promo09-12/orizono/opentelemac/v6p1/parallel/parallel_v6p1/intel_64_10/par
allelv6p1.a(p_dsum.o): In function `p_dsum_':
p_dsum.f:(.text+0x62): undefined reference to `mpi_allreduce_'
/home/istil/promo09-12/orizono/opentelemac/v6p1/parallel/parallel_v6p1/intel_64_10/par
allelv6p1.a(p_exit.o): In function `p_exit_':
p_exit.f:(.text+0x132): undefined reference to `mpi_barrier_'
p_exit.f:(.text+0x142): undefined reference to `mpi_finalize_'
/home/istil/promo09-12/orizono/opentelemac/v6p1/parallel/parallel_v6p1/intel_64_10/par
allelv6p1.a(p_imax.o): In function `p_imax_':
p_imax.f:(.text+0x62): undefined reference to `mpi_allreduce_'

Pourtant j'ai à priori fait les démarches necessaires:
ajout dans systel.ini:
LIBMUMPSPAR="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p1/<DIRLIB>/mumpsvoidv6p1.a"
LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p1/<DIRLIB>/mumpsvoidv6p1.a"
LK_LIB="/home/istil/promo09-12/orizono/opentelemac/v6p1/parallel/parallel_v6p1/$(DIRLIB)/libmetis.a"
INCMPI="/usr/local/mpich1.2.6/include/mpif.h"
LK_LIB_SPECIAL="/home/istil/promo09-12/orizono/opentelemac/v6p1/metis-4.0.3/libmetis.a"

ajout dans makefile du répertoire parallel des lignes:
INCMPI = /usr/local/mpich1.2.6/include/mpi.h
LKLIB = /home/istil/promo09-12/orizono/opentelemac/v6p1/metis-4.0.3/libmetis.a

Pourriez vous m'aider svp?
Attachments:
The administrator has disabled public write access.

Re: makepar90 make: *** [telemac3dv6p1_MP.exe] 13 years 5 days ago #3080

  • ORIZONO
  • ORIZONO's Avatar
Bonjour,
j'ai oublié d'insérer également le fichier systel.ini au cas où. Merci
Attachments:
The administrator has disabled public write access.

Re: makepar90 make: *** [telemac3dv6p1_MP.exe] 13 years 4 days ago #3092

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Telemac use MPI2 functions and it seems you try to link with MPI1

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

Re: makepar90 make: *** [telemac3dv6p1_MP.exe] 13 years 1 day ago #3102

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hello,
Christophe is right, you should use MPI2.
However, you're having another issue (mpi_allreduce & exit belong to both MPI1&2).

You added some targets (INCMPI, LK_LIB...) used by the parallel makefile directly in your config file. As the config file is parsed by Perl scripts, you cannot define here new targets (whithout modifying them).

So, please check your MPI install.
-> You should add ...mpich/bin to your PATH
-> You should add ...mpich/lib to your LD_LIBRARY_PATH
-> mpif.h can be included through FC_OPT_INCLUDE (please see my new post on a similar topic)

... Or re-install MPI in <home_telemac>/mpi

Last but not least, I don t think that the parallel makefile is using the LK_LIB_SPECIAL target. Libmetis is expected in the parallel DIRLIB (intel_64_10 for instance, cf. Install note)

Regards,

Fabien Decung
The administrator has disabled public write access.

Re: makepar90 make: *** [telemac3dv6p1_MP.exe] 13 years 1 day ago #3103

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
One more thing, I already been adressed this issue in the FAQ (dedicated to the some common environment issues):

==> www.opentelemac.org/index.php?option=com...16&Itemid=20&lang=fr)

What?
Message error is :

“… parallelv6p0.a(p_dmax.o): In function `p_dmax_':

p_dmax.f:(.text+0x37): undefined reference to `mpi_allreduce_'

This error message is printed for every function inside parallelv6p0.a

Why?

This happens usually when a fortran compiler instead of the MPI's "wrapper" compiler (mpif90, mpiifort…) is used in FC_MPI in the systel.ini file. It is also not sufficient to define LIBS_MPI with –lmpich or –lmpi.

Solution :

It is strongly recommend to use MPI's "wrapper" compiler to in FC_MPI.

Depending on your MPI library, you may try :

FC_MPI=mpif90 (or mpiifort sometimes)

You should also be careful to the LIBS_MPI variable in systel.ini file.

Tip with OPENMPI (www.open-mpi.org/faq/?category=mpi-apps#cant-use-wrappers)

> mpif90 –showme:link add results in LIBS_MPI

Tip with MPICH2 :

> mpif90 –show add linking options in LIBS_MPI
The administrator has disabled public write access.

Re: makepar90 make: *** [telemac3dv6p1_MP.exe] 13 years 1 day ago #3110

  • ORIZONO
  • ORIZONO's Avatar
Thanks, I just added "LIBS_MPI="-L /usr/local/mpich1.2.6/lib -lmpich -lmpi -lpthread -lstdc++ -lz " and now I have only one problem because i link with MPI1 ( problem with function mpi_extent_type" as Christophe said but when i try to compile an exemple I haven't any errors can I keep my config ??
When I run an exemple ,it finished by:
______________________________________________________________________________
*** RESTITUTION DES FICHIERS ***

- FICHIER DES RESULTATS 3D : r3d_canal-t3d.slf
- r3d_canal-t3d.slf
- FICHIER DES RESULTATS 2D : r2d_canal-t3d.slf
- r2d_canal-t3d.slf

________________________________________________________
Execution terminee: telemac3d.bat
________________________________________________________
No compilation/linking/file errors detected.
No execution errors detected.

Working directory: /home/istil/promo09-12/orizono/opentelemac/v6p1/validation_v6p1/telemac3d/tel3d_v6p1/001_canal/t3d_canal.cas19936_tmp
can be manually deleted with: /home/istil/promo09-12/orizono/opentelemac/v6p1/validation_v6p1/telemac3d/tel3d_v6p1/001_canal/delete_t3d_canal.cas19936

Returning exit status 0

=========================================================
Telemac System 5.6 to 6.1 - Perl scripts version 6.1
=========================================================
...stopping.

orizono@ouessant:~/opentelemac/v6p1/bin>
The administrator has disabled public write access.

Re: makepar90 make: *** [telemac3dv6p1_MP.exe] 13 years 1 day ago #3111

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Well, compiling the PARALLEL library is only mandatory for parallel computing. In sequential, TELEMAC uses a void version named PARAVOID. The sequential version seems fine according to your case.

However, parallelism in TELEMAC is such a powerful feature that it's worth it to spend some time in installing MPI2 on your system. When using a recent Linux distribution, MPI2 is often packaged and available through the software center ("logitheque" in french).

Best regards,

Fabien Decung
The administrator has disabled public write access.

Re: makepar90 make: *** [telemac3dv6p1_MP.exe] 13 years 14 hours ago #3119

  • ORIZONO
  • ORIZONO's Avatar
thanks for your help ^^. But, I have an other problem when i use the parallelism, it's can't find the file mpi_telemac.conf in order to run.. I'm already search this file but i don't find it.. can I create a new file nammed mpi_telemac.conf and config it to run parralel ?
The administrator has disabled public write access.

Re: makepar90 make: *** [telemac3dv6p1_MP.exe] 13 years 14 hours ago #3120

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Well, it has been adressed elsewhere in this forum and it must exist in some validation test cases.

However, mpi_telemac.conf is an USER file, wrapped by TELEMAC scripts to create the "machinefile" (named mpirun.txt in TELEMAC) for MPI.

It looks like as follow:
#---------------------------------------------------
# Configuring MPI for TELEMAC
#--------------------------------------------------------
#
# Number of processors (same value in the parameter file)
16
# For each host
#
#  Name_of_the_host   number_of_processeur_on_this_host
#
host1 8
host2 8
#-------------------------------------------------

Best regards,

Fabien Decung
The administrator has disabled public write access.

Re: makepar90 make: *** [telemac3dv6p1_MP.exe] 12 years 11 months ago #3141

  • ORIZONO
  • ORIZONO's Avatar
Thanks,
But again... I have a problem... it's and i don't find a solution...



______________________________________________________________________________
*** MACHINE MPI ***
Machine MPI ok (avec 4 processeurs).
______________________________________________________________________________
*** EXECUTION ***

lancement MPI : /usr/local/mpich1.2.6/bin/mpirun -machinefile mpirun.txt -np 4 out17218_intel_64_10.exe
/home/istil/promo09-12/orizono/opentelemac/v6p1/validation_v6p1/telemac3d/tel3d_v6p1/001_canal/t3d_canal.cas17218_tmp/out17218_intel_64_10.exe: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
## Erreur : Fin anormale : cd /home/istil/promo09-12/orizono/opentelemac/v6p1/validation_v6p1/telemac3d/tel3d_v6p1/001_canal/t3d_canal.cas17218_tmp; /usr/local/mpich1.2.6/bin/mpirun -machinefile mpirun.txt -np 4 out17218_intel_64_10.exe :32512
## Error : System command failed for /home/istil/promo09-12/orizono/opentelemac/v6p1/validation_v6p1/telemac3d/tel3d_v6p1/001_canal/t3d_canal.cas17218_tmp/telemac3d.bat :32512
________________________________________________________
Execution terminee: telemac3d.bat
________________________________________________________
No compilation/linking/file errors detected.
Execution errors detected.
Please see messages in stdout above or study stderr output.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: borisb

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