Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Link up set of subroutines into a single FORTRAN file

Link up set of subroutines into a single FORTRAN file 9 years 8 months ago #16102

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Yes, this is not in the (very light) Perl scripts, though they can still be used to compile and run all the system.

Regards,

JMH
The administrator has disabled public write access.

Link up set of subroutines into a single FORTRAN file 9 years 8 months ago #16103

  • Proust_Nicolas
  • Proust_Nicolas's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 136
  • Thank you received: 2
Thank you for the information.

I will use the "old method" with only one Fortran file.

Regards
Nicolas
The administrator has disabled public write access.

Link up set of subroutines into a single FORTRAN file 6 years 11 months ago #28359

  • v.clary
  • v.clary's Avatar
Hello,
I use this post because I have the same kind of problem when I try to use a fortran folder. Is it also possible with Telemac3D (which I used)?

Here is the line I added in the case file, and the fortran folder (called Subroutinefolder) is in the same directory.
FORTRAN FILE ='Subroutinefolder'

I get this message:
runCAS: could not compile: addprofileandsource-v1
|processExecutable: could not link your executable (runcode=1).
|
|... The following command failed for the reason above (or below)
|/usr/bin/mpif90 -fconvert=big-endian -frecord-marker=4 -lpthread -v -lm -o addprofileandsource-v1 t3dfort.o /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/telemac3d/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/telemac2d/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/tomawac/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/sisyphe/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/utils/ad/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/nestor/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/waqtel/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/stbtel/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/utils/bief/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/utils/damocles/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/utils/hermes/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/utils/parallel/homere_telemac3d.a /opt/opentelemac/7.2.0/builds/debgfopenmpi/lib/utils/special/homere_telemac3d.a /usr/lib/openmpi/lib/libmpi.so /opt/metis/5.1.0/lib/libmetis.a
|
Can it due to a wrong installation of the software on the cluster?

Thank you very much and have a nice day,

Vincent
The administrator has disabled public write access.

Link up set of subroutines into a single FORTRAN file 6 years 11 months ago #28360

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Could you detail what sources are in your folder?
regards
Christophe
The administrator has disabled public write access.

Link up set of subroutines into a single FORTRAN file 6 years 11 months ago #28361

  • v.clary
  • v.clary's Avatar
Hello, thank you for the answer.
Here are the sources for the simulation I want to run (it was just to test the possibility to use fortran folder so I simplified my case and added just one file).

The compilation is done when I just use condim.f without a repertory (simulation crashes because I removed a lot of other functions!) but it doesn't compile with a folder.
Attachments:
The administrator has disabled public write access.

Link up set of subroutines into a single FORTRAN file 6 years 11 months ago #28371

  • riadh
  • riadh's Avatar
Hello

This option will be added for option v7p3. so it should not work for you since you are using v7p2.

kind regards

Riadh
The administrator has disabled public write access.

Link up set of subroutines into a single FORTRAN file 6 years 11 months ago #28375

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hello!

I can also report that from version 7.1 (not 100% sure) to 7.2.1 it was OK to place all user subroutines in a subfolder but since 7.2.2 (not 100% sure...) I also got the indicated error message:
"|processExecutable: could not link your executable (runcode=1)."

It works fine if the subroutines are merged into a single fortran file located in the same folder than the model.

Hopefully the functionality will be fully back with version 7.3 (when is it due?)!

Best regards
PL
The administrator has disabled public write access.

Link up set of subroutines into a single FORTRAN file 6 years 11 months ago #28378

  • v.clary
  • v.clary's Avatar
Ok, thank you a lot!
I had misunderstood the announcements during the Telemac conference and thought it was already implemented.
Now I know the syntax to use for the future!

Vincent
The administrator has disabled public write access.

Link up set of subroutines into a single FORTRAN file 6 years 11 months ago #28383

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
It was indeed broken in 7.2.2.
And it is solved in 7.3.0.
That should be release soon (before the end of the year).
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.
  • Page:
  • 1
  • 2
Moderators: pham

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