Welcome, Guest
Username: Password: Remember me

TOPIC: Editions de liens - CORRXY

Editions de liens - CORRXY 8 years 5 months ago #22179

  • Jeanlec
  • Jeanlec's Avatar
Bonjour,

J'ai modifié le fichier CORRXY.f et je souhaite qu'il soit recompilé pour prendre en compte les modifications apportées en l'indiquant comme fichier fortran du projet. La compilation se passe correctement avec gfortran mais pas l'édition de liens où il détecte des références non connues à des procédures de homere_telemac2d.f :
C:\open...\telemac2dv6p2.lib:homere_telemac2d.f:(.text+0x347):undefined reference to 'config_code_'
à différentes reprises.
Est-ce que l'installation de Telemac est bien paramétré sur mon PC pour utiliser des fichiers surchargés? ou bien ai-je mal compris la façon d'insérer du code particulier sous telemac2d.
Merci de votre réponse
Jean
The administrator has disabled public write access.

Editions de liens - CORRXY 8 years 5 months ago #22180

  • jmhervouet
  • jmhervouet's Avatar
Hello,

This kind of errors occurs when the list of libraries is not given in the right order. config_code is in the library BIEF. However you are using version 6.2 and it could be that this problem has already been corrected. It seems that in some compiler configurations adding the main program homere_telemac2d.f to your Fortran file is necessary and solves the problem, so you can try this.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Editions de liens - CORRXY 8 years 4 months ago #22208

  • Jeanlec
  • Jeanlec's Avatar
Hello,
I have tried to put homere_telemac2d.f files in my FORTRAN file but no matter the same error is shown in the linking process. I have also tried to change the order or library in the linking process but i have other errors ot the same type with unknow references.
Best regards
Jean
The administrator has disabled public write access.

Editions de liens - CORRXY 8 years 4 months ago #22212

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Since you are in version 6.2, it would be interesting to know if this problem is still there in the latest version, in which case it would be a problem with your compiler. Comparing Python and Perl would be also interesting, but I admit that these are rather heavy tests.

Regards,

JMH
The administrator has disabled public write access.

Editions de liens - CORRXY 8 years 4 months ago #22213

  • Jeanlec
  • Jeanlec's Avatar
Thank you for your answer.
I'm downlodaing the version 7.0 to install and test if I find agin the same limit in linking FORTRAN file ib my computer. i have tried to debug the perl script which writes the telemac2d.bat file in tmp directory and it is really a long task. Regards, Jean
The administrator has disabled public write access.
Moderators: pham

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