Welcome, Guest
Username: Password: Remember me

TOPIC: compilation of version v7p1r0

compilation of version v7p1r0 8 years 3 months ago #23441

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
For information, the same problem occurs with version v7p1r1.

Yugi, could you be more specific about the static/dynamic thingy?
The administrator has disabled public write access.

compilation of version v7p1r0 8 years 3 months ago #23454

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
There are two way to compile a library:
- dynamic : linking are made at run time (extension .so)
- static : linking are made at compilation (extension .a)

For a more detailled see (http://stackoverflow.com/questions/140061/when-to-use-dynamic-vs-static-libraries)

This is changed by changing the line cmd_lib in the systel.cfg
For static use :
cmd_lib: ar cru <libname> <objs>

Hope it helps
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.

compilation of version v7p1r0 8 years 3 months ago #23462

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
I'm a bit confused, I'm already using
cmd_lib: ar cru <libname> <objs>
since the beginning...
The administrator has disabled public write access.

compilation of version v7p1r0 8 years 3 months ago #23464

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
My bad I forgot that I was the one that told you to try dynamic compilation as the static one was not working.

This is indeed pretty strange.

I have a idea. Could you try adding the option "-cpp" in cmd_obj.
And run compileTELEMAC.py --clean.

Hope it helps.
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.

compilation of version v7p1r0 8 years 3 months ago #23465

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
No worry, it's a long time ago already.

I tried this:
cmd_obj:    gfortran -c -O3 -DHAVE_MPI -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name> -cpp

but it did not solve the problem...
The administrator has disabled public write access.

compilation of version v7p1r0 8 years 3 months ago #23473

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Too bad, it was a long shot anyway.

Maybe you can try :
compileTELEMAC.py -j1 --clean

If that does not solve, i'll have to give up.
I do not have a mac to test it.
Will you be by any chance at the Telemac User Club in October ?
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.

compilation of version v7p1r0 8 years 3 months ago #23481

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
It didn't work neither, but thank you for trying.

I will be in Paris for the User Conference indeed. It would be very nice if we could sit together some time and try to fix it!

Cheers.
The administrator has disabled public write access.

compilation of version v7p1r0 8 years 3 months ago #23485

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
I'll be handling the first part of the workshop.
I'll be mostly free for the rest of the conference so we should be able to do that.

See you there.
By the way my name is Yoann Audouin.
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.

compilation of version v7p1r0 8 years 3 months ago #23497

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
Great, thanks.

I might also arrive one day earlier or stay one day later. Can I find your e-mail address somewhere to contact you?

By the way, my name is Olivier Gourgue, and I speak French :)
The administrator has disabled public write access.
Moderators: borisb

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