Welcome, Guest
Username: Password: Remember me

TOPIC: Problems while compiling parallel version

Re: Problems while compiling parallel version 13 years 1 month ago #2829

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
if you compiled parallel succesfully, you could try to compile manually sisyphe, tomawac, telemac2d, telemac3d and artemis by running the command maktel parallel in each source directory

The first error message show a problem exists in the makefile of parallel which shouldn't have a parallel target. You could solve this problem by duplication of all bloc which will be rename parallel

For the other message, it looks like the other libraries was not available in particular bief. Be sure that the inlude option of compilation pointed on the libraries of bief, damocles, parallel, special.

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

Re: Problems while compiling parallel version 13 years 1 month ago #2837

  • jmhervouet
  • jmhervouet's Avatar
Yes, I corrected the makefile recently, it should be available through svn.

JMH
The administrator has disabled public write access.

Re: Problems while compiling parallel version 13 years 1 month ago #2841

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
That will be great! Thanks!
The administrator has disabled public write access.

Re: Problems while compiling parallel version 13 years 1 month ago #2842

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Morning!

I solved the makefile problem by duplication of all bloc and rename it as parallel. I also have the libraries of bief and other components. It is better than before but still there is something wrong with the MPI I think. Here is the errors I got for sispyhe. I got similar errors for telemac2D, telemac3D, tomawac and artemis.
========== sisyphe/sisyphe_v6p1/sources :

===== Making : /user/leuven/304/vsc30459/TelemacV6p1/sources/sisyphe/sisyphe_v6p 1/sources
Link parallel executable par defaut ...
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(init.o): In function `MPI_Init':
init.c:(.text+0x68): undefined reference to `MPL_env2str'
init.c:(.text+0x263): undefined reference to `MPL_env2bool'
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(initthread.o): In function `MPI_Init_ thread':
initthread.c:(.text+0x11b): undefined reference to `MPL_env2bool'
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(param_vals.o): In function `MPIR_Para m_init_params':
param_vals.c:(.text+0xe): undefined reference to `MPL_env2int'
param_vals.c:(.text+0x26): undefined reference to `MPL_env2int'
param_vals.c:(.text+0x3e): undefined reference to `MPL_env2int'
param_vals.c:(.text+0x56): undefined reference to `MPL_env2int'
param_vals.c:(.text+0x6e): undefined reference to `MPL_env2int'
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(param_vals.o):param_vals.c:(.text+0x8 6): more undefined references to `MPL_env2int' follow
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(param_vals.o): In function `MPIR_Para m_init_params':
param_vals.c:(.text+0x326): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x33e): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x356): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x36e): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x386): undefined reference to `MPL_env2bool'
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(param_vals.o):param_vals.c:(.text+0x3 9e): more undefined references to `MPL_env2bool' follow
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(param_vals.o): In function `MPIR_Para m_init_params':
param_vals.c:(.text+0x3e6): undefined reference to `MPL_env2int'
param_vals.c:(.text+0x3fe): undefined reference to `MPL_env2int'
param_vals.c:(.text+0x416): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x42e): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x446): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x45e): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x476): undefined reference to `MPL_env2int'
param_vals.c:(.text+0x48e): undefined reference to `MPL_env2int'
param_vals.c:(.text+0x4a6): undefined reference to `MPL_env2int'
param_vals.c:(.text+0x4be): undefined reference to `MPL_env2int'
param_vals.c:(.text+0x4d6): undefined reference to `MPL_env2str'
param_vals.c:(.text+0x4ee): undefined reference to `MPL_env2str'
param_vals.c:(.text+0x506): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x51e): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x536): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x54e): undefined reference to `MPL_env2bool'
param_vals.c:(.text+0x566): undefined reference to `MPL_env2bool'
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(param_vals.o):param_vals.c:(.text+0x5 7e): more undefined references to `MPL_env2bool' follow
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(mpid_vc.o): In function `MPIDI_Popula te_vc_node_ids':
mpid_vc.c:(.text+0xc74): undefined reference to `MPL_env2int'
mpid_vc.c:(.text+0xc86): undefined reference to `MPL_env2int'
mpid_vc.c:(.text+0xcc2): undefined reference to `MPL_env2bool'
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(tcp_init.o): In function `MPID_nem_tc p_bind':
tcp_init.c:(.text+0x859): undefined reference to `MPL_env2range'
/apps/leuven/mpich2/1.3.2p1/lib/libmpich.a(tcp_init.o): In function `MPID_nem_tc p_init':
tcp_init.c:(.text+0xba7): undefined reference to `MPL_env2range'
make: *** [sisyphev6p1_MP.exe] Error 1
===== /user/leuven/304/vsc30459/TelemacV6p1/sources/sisyphe/sisyphe_v6p1/sources : maktel parallel
Have you ever had this problem?
The administrator has disabled public write access.

Re: Problems while compiling parallel version 13 years 1 month ago #2845

  • jmhervouet
  • jmhervouet's Avatar
Hello,

This is now internal linking errors in MPI, so probably due to MPI installation or version.

JMH
The administrator has disabled public write access.

Re: Problems while compiling parallel version 13 years 1 month ago #2846

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Thanks! I used another version of mpi and I think I have the program compiled successfully except one final problem:
========== artemis/arte_v6p1/sources :

===== Making : /user/leuven/304/vsc30459/TelemacV6p1/sources/artemis/arte_v6p1/s ources
Link parallel executable par defaut ...
Termine.
Installe artemisv6p1.a dans /user/leuven/304/vsc30459/TelemacV6p1/sources/artemi s/arte_v6p1/intel_64_parallel.
Installe artemisv6p1_MP.exe dans /user/leuven/304/vsc30459/TelemacV6p1/sources/a rtemis/arte_v6p1/intel_64_parallel.
===== /user/leuven/304/vsc30459/TelemacV6p1/sources/artemis/arte_v6p1/sources : maktel parallel


Repertoire 'estel2d/estel2d_v6p1/sources' inexistant
Repertoire 'estel2d/estel2d_v6p1/sources' inexistant ! (Ignore)
Repertoire 'estel3d/estel3d_v6p1/sources' inexistant
Repertoire 'estel3d/estel3d_v6p1/sources' inexistant ! (Ignore)

I don't have estel2d in the source code. How to solve this problem?
The administrator has disabled public write access.

Re: Problems while compiling parallel version 13 years 1 month ago #2852

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Estel2d is our groundwater flow model, it is not in the freeware package but this is not a problem, it should work now.

JMH
The administrator has disabled public write access.

Re: Problems while compiling parallel version 13 years 1 week ago #2994

  • nhuybrec
  • nhuybrec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
Hi all,

When we are compiling the sources of Parallel, using the command "maktel all install", we have the same problem :

partel.o: In function `MAIN__':
partel.f:(.text+0x6dee): undefined reference to `metis_partmeshdual_'
partel.o: In function `pares3d_':
partel.f:(.text+0x1ce14): undefined reference to `metis_partmeshdual_'

Do we have to install mumps if we want to install Telemac on a cluster?
Otherwise how can we specify the link to the metis library?
We are currently working without mumps and with metis 5.O.2


thanking you in advance
The administrator has disabled public write access.

Re: Problems while compiling parallel version 13 years 1 week ago #2995

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

Did you see the first topic in this section?
It clearly indicate that Metis 5.0 is not compatible with partel.

Change it to metis 4.0 and the compilation will works. Metis is only use for partel executable.

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

Re: Problems while compiling parallel version 13 years 1 week ago #3000

  • nhuybrec
  • nhuybrec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
Thank you for this advice,

We installed metis 4.0 but we still got the same error :
How do we enter the path to the metis library for partel executable ?
The administrator has disabled public write access.
Moderators: borisb

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