Welcome, Guest
Username: Password: Remember me

TOPIC: Problem during Telemac V7p2r0 compilation

Problem during Telemac V7p2r0 compilation 7 years 7 months ago #25968

  • LUIGGI1993
  • LUIGGI1993's Avatar
Hi, I am beginning in telemac, i hope you can help me.

I am stuck in the compilation, during the program HOMERE_API and dependents compilation, it is not possible to create the executable, it says:


File Attachment:

File Name: systel.ubuntu.cfg
File Size: 4 KB

telemac/v7p2r0/builds/ubugfmpich/lib/homere_api.a(partitioner.0): In function 'partitioner_':
partitioner.F:(.text+0x710): undefined reference to 'metis_partmeshdual_'
collect2:error: ld returned 1 exit ststus
compileTELEMAC::main:
+>creating executable: homere_api
createExeFiles: something went wrong, I am not sure why (runcode=1)
the following command failed for the reason above(or below)
mpif90 -fPIC -fconvert=big-endian -frecord-marker=4 -lpthread -lm -o ...


I am attaching the systel.ubuntu.cfg

Thanks in advance

Luiggi


File Attachment:

File Name: systel.ubuntu.cfg
File Size: 4 KB
The administrator has disabled public write access.

Problem during Telemac V7p2r0 compilation 7 years 7 months ago #26008

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

In your configuration file you need to replace:
libs_partel:        ~/telemac/v7p2r0/optionals/metis-5.1.0/build/Linux-x86_64/libmetis/libmetis.a
libs_all:           /usr/lib/mpich/lib/libmpich.so

By :
libs_all:           /usr/lib/mpich/lib/libmpich.so ~/telemac/v7p2r0/optionals/metis-5.1.0/build/Linux-x86_64/libmetis/libmetis.a
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: LUIGGI1993

Problem during Telemac V7p2r0 compilation 7 years 7 months ago #26020

  • LUIGGI1993
  • LUIGGI1993's Avatar
Hi Yugi

Thanks for your answer.

I will try it out, I will let you know the result.

Thank in advance.

Luiggi
The administrator has disabled public write access.

Problem during Telemac V7p2r0 compilation 7 years 7 months ago #26024

  • LUIGGI1993
  • LUIGGI1993's Avatar
Hi Yugi

After make the change you suggest and adding the c compilation for MASCARET in the General section, the work is finally done.

Thanks

Luiggi
The administrator has disabled public write access.
Moderators: borisb

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