Welcome, Guest
Username: Password: Remember me

TOPIC: Problems while compiling parallel version

Re: Problems while compiling parallel version 13 years 2 weeks ago #3002

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Nicolas
In the makefile of parallel, there is a linewhich gives the metis library location

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: nhuybrec

Re: Problems while compiling parallel version 13 years 5 days ago #3089

  • nhuybrec
  • nhuybrec's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
Hi
thank you for your advise. We have now successfully compiled parallel. But we have a new problem. When we run makepar90, we have the following error message:

(for information, we have tried the openmpi 1,4,4 and openmpi 1,2,8.)

best regards
nicolas
/apl/soft/telemac/parallel/parallel_v6p1/intel_11/parallelv6p1.a(p_dmax.o): In function `p_dmax_':
p_dmax.f:(.text+0x31): undefined reference to `mpi_allreduce_'
/apl/soft/telemac/parallel/parallel_v6p1/intel_11/parallelv6p1.a(p_dsum.o): In function `p_dsum_':
p_dsum.f:(.text+0x31): undefined reference to `mpi_allreduce_'
/apl/soft/telemac/parallel/parallel_v6p1/intel_11/parallelv6p1.a(p_exit.o): In function `p_exit_':
p_exit.f:(.text+0xf1): undefined reference to `mpi_barrier_'
p_exit.f:(.text+0x100): undefined reference to `mpi_finalize_'
/apl/soft/telemac/parallel/parallel_v6p1/intel_11/parallelv6p1.a(p_imax.o): In function `p_imax_':
p_imax.f:(.text+0x2e): undefined reference to `mpi_allreduce_'
/apl/soft/telemac/parallel/parallel_v6p1/intel_11/parallelv6p1.a(p_init.o): In function `p_init_':
p_init.f:(.text+0x46): undefined reference to `mpi_init_'
p_init.f:(.text+0x139): undefined reference to `mpi_comm_rank_'
p_init.f:(.text+0x22c): undefined reference to `mpi_comm_size_'
p_init.f:(.text+0xb3e): undefined reference to `mpi_barrier_'
/apl/soft/telemac/parallel/parallel_v6p1/intel_11/parallelv6p1.a(p_isum.o): In function `p_isum_':
p_isum.f:(.text+0x2e): undefined reference to `mpi_allreduce_'
/apl/soft/telemac/parallel/parallel_v6p1/intel_11/parallelv6p1.a(p_iread.o): In function `p_iread_':
p_iread.f:(.text+0x24): undefined reference to `mpi_irecv_'
/apl/soft/telemac/parallel/parallel_v6p1/intel_11/parallelv6p1.a(p_wait_paraco.o): In function `p_wait_paraco_':
p_wait_paraco.f:(.text+0x2d): undefined reference to `mpi_waitall_'
/apl/soft/telemac/parallel/parallel_v6p1/intel_11/parallelv6p1.a(p_iwrit.o): In function `p_iwrit_':
p_iwrit.f:(.text+0x24): undefined reference to `mpi_isend_'
/apl/soft/telemac/parallel/parallel_v6p1/intel_11/parallelv6p1.a(build_global_bound.o): In function `build_global_bound_':
build_global_bound.f:(.text+0x4ac): undefined reference to `mpi_allreduce_'
build_global_bound.f:(.text+0x78f): undefined reference to `mpi_allreduce_'
build_global_bound.f:(.text+0xa72): undefined reference to `mpi_allreduce_'
build_global_bound.f:(.text+0xd55): undefined reference to `mpi_allreduce_'
build_global_bound.f:(.text+0x100b): undefined reference to `mpi_allreduce_'
The administrator has disabled public write access.

Re: Problems while compiling parallel version 13 years 5 days ago #3090

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Nicolas
First one remark because in don't know openmpi. You should remamber that telemac is know using MPI2 convention.
Nevertheless, your message looks like the mpi library wasn't available during the link. Maybe a declaration in your systel environnement?

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

Re: Problems while compiling parallel version 13 years 2 days ago #3104

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hello,

This issue has already been adressed in the FAQ (dedicated to the some common environment issues) :

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

In your case, "mpif90 –showme:link" will give you the whole sequence for the linking step with OpenMPI. This sequence must be put in LIBS_MPI.

And with OpenMPI on a cluster, the PATH to "orterun" must be known in the user bashrc (or bash_profile...). Common issue with OpenMPI, I think.

Regards,

Fabien Decung
The administrator has disabled public write access.
Moderators: borisb

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