Welcome, Guest
Username: Password: Remember me

TOPIC: Problem during V7p2 compilation

Problem during V7p2 compilation 7 years 7 months ago #25775

  • Flo64
  • Flo64's Avatar
Hi

I try to compile the parallel mode of the new version of TELEMAC v7p2 .
I have some problems and errors and i don't know how to correct them:

- completed: .../v7p2r0/sources/mascaret/API/f90/delete_mascaret.f90
- completed: .../v7p2r0/sources/mascaret/API/f90/free_all_save_etat_mascaret.f90
- completed: .../v7p2r0/sources/mascaret/API/f90/create_mascaret.f90
- completed: .../v7p2r0/sources/mascaret/API/f90/get_erreur_mascaret.f90
- completed: .../v7p2r0/sources/mascaret/API/f90/calcul_mascaret_condition_limite.f90
- completed: .../v7p2r0/sources/mascaret/API/f90/init_abaque.f90
- completed: .../v7p2r0/sources/mascaret/Transdiffusion/tracer.f90
- completed: .../v7p2r0/sources/mascaret/API/f90/get_type_var_mascaret.f90
- completed: .../v7p2r0/sources/mascaret/API/f90/get_taille_var_mascaret.f90
/softs/Outils_telemac/v7p2/v7p2r0/sources/mascaret/API/f90/import_xml.f90:76.35:

startElement_handler=START_ELEMENT_HANDLER, endElement_handler=EN
1
Error: Internal procedure 'start_element_handler' is not allowed as an actual argument at (1)
/softs/Outils_telemac/v7p2/v7p2r0/sources/mascaret/API/f90/import_xml.f90:76.77:

startElement_handler=START_ELEMENT_HANDLER, endElement_handler=END_
1
Error: Internal procedure 'end_element_handler' is not allowed as an actual argument at (1)
/PROJETS/oceano/softs/Outils_telemac/v7p2/v7p2r0/sources/mascaret/API/f90/import_xml.f90:77.33:

characters_handler=CHARACTERS_HANDLER)
1
Error: Internal procedure 'characters_handler' is not allowed as an actual argument at (1)

Any idea, please?
Thanks in advance

Florian
Attachments:
The administrator has disabled public write access.

Problem during V7p2 compilation 7 years 7 months ago #25776

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

This error is due to your version of fortran you need a more recent one.
I don't remenber which which it starts to work but i know it is solved with gfortran 4.9

If you can not install a newer version of gfortran you can deactivate mascaret by adding -mascaret in the "modules:" line in your systel.cfg

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.

Problem during V7p2 compilation 7 years 7 months ago #25777

  • Flo64
  • Flo64's Avatar
Yugi,

Thanks for your help.
I had another error and i had to put in my systel.cfg file the line "cmd_obj_c: gcc -c <srcName> -o <objName>".

Now, the compilation is ok.

Regards

Florian
The administrator has disabled public write access.

Problem during V7p2 compilation 7 years 7 months ago #25841

  • Flo64
  • Flo64's Avatar
Yugi,

My compilation has been ok but i have some errors when i execute the model (telemac2d). I have two version of gfortan : 4.9.0 and 4.9.1. I choose to use the version 4.9.1. It's ok for you?

Florian
The administrator has disabled public write access.

Problem during V7p2 compilation 7 years 7 months ago #25851

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
That should be ok could you post the errors you have when running the model.
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.

Problem during V7p2 compilation 7 years 7 months ago #25852

  • Flo64
  • Flo64's Avatar
You can see below my error:
... checking the executable
t2dfort.f:46.17:

INTEGER LNG,LU
1
t2dfort.f:39.9:

USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_special', use-associated at (2)
t2dfort.f:47.21:

COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
t2dfort.f:239.17:

INTEGER LNG,LU
1
t2dfort.f:235.9:

USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_special', use-associated at (2)
t2dfort.f:240.21:

COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
t2dfort.f:506.17:

INTEGER LNG,LU
1
t2dfort.f:500.9:

USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_special', use-associated at (2)
t2dfort.f:507.21:

COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
t2dfort.f:629.17:

INTEGER LNG,LU
1
t2dfort.f:623.9:

USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_special', use-associated at (2)
t2dfort.f:630.21:

COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
t2dfort.f:775.17:

INTEGER LNG,LU
1
t2dfort.f:770.9:

USE BIEF
2
Error: Symbol 'lng' at (1) conflicts with symbol from module 'declarations_special', use-associated at (2)
t2dfort.f:776.21:

COMMON/INFO/LNG,LU
1
Error: Cannot change attributes of USE-associated symbol lng at (1)
runCAS: could not compile: saint-laurent_Qmin
|processExecutable: could not compile your FORTRAN (runcode=1).
|

I have seen that 2 posts deal with this type of message : www.opentelemac.org/index.php/kunena/2-w...error?start=10#24637

www.opentelemac.org/index.php/kunena/2-w...error?start=10#24637

I don't use a windows configuration but a linux hpc cluster configuration.

Florian
The administrator has disabled public write access.

Problem during V7p2 compilation 7 years 7 months ago #25853

  • Flo64
  • Flo64's Avatar
Yugi,

I comment these lines and it's ok:

INTEGER LNG,LU
COMMON/INFO/LNG,LU

Have a good day

Florian
The administrator has disabled public write access.

Problem during V7p2 compilation 7 years 7 months ago #25869

  • jmhervouet
  • jmhervouet's Avatar
Hello,

This is normal, LNG and LU have now been moved to declarations, so you need to remove the COMMON from your own modified subroutines.

Regards,

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

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