Welcome, Guest
Username: Password: Remember me

TOPIC: Running subroutines in Telemac 2D

Running subroutines in Telemac 2D 10 years 9 months ago #11784

  • dsc1r12
  • dsc1r12's Avatar
Hi,

I have made a fortran file with all of my subroutines in, and am now trying to run a simulation with these subroutines, however when I try to do so I get the following errors:

t2dfort.f(2): error #5149: Illegal character in statement label field [M]
MODULE DECLARATIONS_TELEMAC2D
^

And this message is repeated for all the following characters as well.
Can anyone tell me why this is happening?

I have attached my subroutines file.

Cheers

Danny

File Attachment:

File Name: h84b5616.f
File Size: 388 KB
The administrator has disabled public write access.

Running subroutines in Telemac 2D 10 years 9 months ago #11786

  • jmhervouet
  • jmhervouet's Avatar
Hello,

You need to have 6 spaces before beginning a line in Fortran.

Moreover you cannot have the module declarations_telemac2d in your Fortran because if you modify it it will be different from the one which has been used for compiling the subroutines in the library, and it will trigger a memory mismatch.

Regards,

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

Running subroutines in Telemac 2D 10 years 9 months ago #11787

  • dsc1r12
  • dsc1r12's Avatar
Thanks,

It runs a little further now the spaces are in.
The administrator has disabled public write access.
Moderators: pham

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