Welcome, Guest
Username: Password: Remember me

TOPIC: Update to v7p1r0 parallel compilation error

Update to v7p1r0 parallel compilation error 7 years 10 months ago #24712

  • EnGlobe
  • EnGlobe's Avatar
Hello,

I have successfully updated to the latest version and compiled the scalar for TELEMAC. However I run into some trouble with the parallel version. I made some changes in the cfg file, but no luck. I ran with the option win7gforp and wing64mpi, but both give the same error-message.

Command:
compileTELEMAC.py --clean -c win7gforp -f configs\systel_parallel_v7p2.cfg

ERROR MESSAGE:
C:\opentelemac-mascaret\v7p2r0\builds\win7gforp\lib\utils\partel\homere_api.lib(partitioner.o):partitioner.F:(.text+0x74b): undefined reference to `metis_partmeshdual_' collect2.exe: error: ld returned 1 exit status
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)

Do I miss something in my installation of MPICH?

Thanks for any help,
Patrick
Attachments:
The administrator has disabled public write access.

Update to v7p1r0 parallel compilation error 7 years 10 months ago #24714

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

With the arrival of the API, you now have to add C:\opentelemac-mascaret\metis\lib\libmetis.a into libs_all, so that you do not need incs_parallel, incs_special and libs_partel anymore.
libs_all:           C:\opentelemac-mascaret\mpich2\lib\libfmpich2g.a C:\opentelemac-mascaret\metis\lib\libmetis.a
incs_all:   -I C:\opentelemac-mascaret\mpich2\include

Hope this helps,

Sébastien.
The administrator has disabled public write access.

Update to v7p1r0 parallel compilation error 7 years 10 months ago #24715

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
As indicate, the problem is linked to metis and not to mpich.
Metis should probably be declare as libs_all

regards
Christophe
The administrator has disabled public write access.

Update to v7p1r0 parallel compilation error 7 years 10 months ago #24728

  • EnGlobe
  • EnGlobe's Avatar
Merci, Sébastien et Christophe,

That worked out fine, thanks for your help.

Fairly new to the TELEMAC system, compliments on the documentation is for the 7.2 version, it is better than before.

Out of curiosity is there a step by step description for compiling in the document? (I might have missed it)

Thanks,
Patrick
The administrator has disabled public write access.
Moderators: borisb

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