Welcome, Guest
Username: Password: Remember me

TOPIC: compile V6P0 with python

compile V6P0 with python 12 years 3 months ago #5287

  • Alexis B
  • Alexis B's Avatar
Hello,

I have started my phd while the version 6.0 was up-to-date. I decided to stick to it in order to evaluate only my contribution to the code.

Today I need to install this version of telemac on a unix machine (I already installed V6P1 successfully on this computer working with unbuntu). I have followed the guideline of "Installing TELEMAC V6P0 on Unix, Linux and Windows" by Decung et al. but I got windows executables (".bat") while asking for gFortran (gfortran-debian) configuration in systel.ini.

I have try to compile the code with python (via systel.cfg) but the link between the subroutines doesn't work all the time. Has anyone ever tried to compile V6P0 with python? If so, what the configuration file looked like?

Thank you very much for your help.


Alexis
The administrator has disabled public write access.

Re: compile V6P0 with python 12 years 3 months ago #5290

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

In your config, try something like:

cmd_exe: mpif90 -fconvert=big-endian -frecord-marker=4 -v -lm -lz -o <exename> <objs> -Wl,--start-group <libs> -Wl,--end-group

(merci Fabien)
(reading alpha-L for -Wl and not numeric-one)

It should also work with gfortran (instead of mpif90)

Hope this help

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

Re: compile V6P0 with python 12 years 3 months ago #5293

  • Alexis B
  • Alexis B's Avatar
Sébastien,

There are at least this two fortran files in bief that are not compiled and therefore not linked to others subroutines:

astro.o: In function `astro_':
astro.f:(.text+0x6b): undefined reference to `jultim_'
marast.o: In function `marast_':
marast.f:(.text+0x1a9): undefined reference to `tsloc_'
collect2: ld returned 1 exit status

The compilation processus started nicely before getting this error message. Any thought?

Thank you!

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

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