Welcome, Guest
Username: Password: Remember me

TOPIC: Parallel compilation : pb in the makefiles ?

Parallel compilation : pb in the makefiles ? 12 years 4 months ago #4874

  • altw
  • altw's Avatar
Hello,

I am trying to install TELEMAC in parallel on a cluster.
I have installed the non-parallel version and it runs normally.

For the paralle version, when I run makepar90, I get "undefined reference" :

# / Home3/telemac/v6p1/parallel/parallel_v6p1/intel_64_11/parallelv6p1.a (p_dmax.o): In function `p_dmax_ ':
# P_dmax.f: (. Text +0 x37): undefined reference to `mpi_allreduce_ '

... (and many others), and then

# Make: *** [sisyphev6p1_MP.exe] Error 1

To successfully compile, I need to edit the makefile in each module (Sisyphe, telemac2d ...)
-> in sisyphe / ... / Makefile , for the $ (EXEDEFPARA):
I change : $ (LK_NAM) -> $ (FC_MPI) (FC_MPI returns mpiifort)

In this case, it compiles and it creates sisyphev6p1_MP.exe

I don't know yet if this compilation works or not (I don't know how to run telemac in parallel on the calculator).

Is there really are errors in the makefiles or the problem is elsewhere in my compilation ?

Thank you for your help

Anne-Laure
The administrator has disabled public write access.

Re: Parallel compilation : pb in the makefiles ? 12 years 4 months ago #4887

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

Have you already read the following topics in Linux section?
www.opentelemac.org/index.php?option=com...=3079&Itemid=89#3079
or
www.opentelemac.org/index.php?option=com...=2996&Itemid=89#3012

It seems that some answers may help you.

I do not remember if makepar90 has been solved on version 6.1 but you can compile with command makeall90 (compilation of the whole Telemac system in sequential mode), then run make all install in parallel/parallel_v6p1/sources that must generate partel, gretel programs and so on. The default executables name_of_codev6p1_MP.exe need not be present in sources and compilator directories if you use a Fortran file for your case.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
Moderators: borisb

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