Welcome, Guest
Username: Password: Remember me

TOPIC: [trunk] No description of error while compiling user fortran file

[trunk] No description of error while compiling user fortran file 7 years 9 months ago #25380

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello,

I include a subroutine in a coupled telemac2d/sisyphe computation that does not compile for some reason. The error I get is the following:
... checking the executable
Compiling user fortran
compilePRINCI: could not compile Fortran: init_compo_v7p2_v4.f
   |compileObj: could not compile your FORTRAN (runcode=1).
   |      
In the past, runcode.py was relaying compilation error messages in the output, but that is not the case any more, even in debug configuration. It is really hard to correct mistakes this way.

Is there an explanation on why this happens?

Regards,
Costas
The administrator has disabled public write access.

[trunk] No description of error while compiling user fortran file 7 years 9 months ago #25386

  • riadh
  • riadh's Avatar
Hello Costas,

Sorry I can't help with such few elements.
However, it looks like an install and/or compiler and/or config problem.
I need you full model to test it on my computer.

with my kind regards

Riadh
The administrator has disabled public write access.

[trunk] No description of error while compiling user fortran file 7 years 8 months ago #25430

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Riadh,

I finally traced the culprit in a (forgotten :blush:) modification in my python calling script that redirected the STDERR in a file different than STDOUT. :S

Regards,
Costas
The administrator has disabled public write access.

[trunk] No description of error while compiling user fortran file 7 years 8 months ago #25521

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Hi Riah and Costas,

:huh: I got the same problem when running TOMAWAC -trunk:

IP_W_limwac_2016-04-01.f:99.9:

USE INTERFACE_TOMAWAC, EX_LIMWAC => LIMWAC
1
Fatal Error: File 'interface_tomawac.mod' opened at (1) is not a GNU Fortran module file
.....
... checking the executable
Compiling user fortran
compilePRINCI: could not compile Fortran: IP_W_limwac_2016-04-01.f
|compileObj: could not compile your FORTRAN (runcode=1).

Has the issue been solved yet?

Thanks & Regards
Huy
The administrator has disabled public write access.

[trunk] No description of error while compiling user fortran file 7 years 8 months ago #25531

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Huy,

Mine wasn't really an issue with telemac. Your error seem to be related to mixing up different compilers. Do a clean compilation of your installation and try again. Make sure all your paths consistently point to the same compiler and version.

Regards,
Costas
The administrator has disabled public write access.

[trunk] No description of error while compiling user fortran file 7 years 8 months ago #25532

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Thanks Costas!

I don't know why..but today I test the same configuration with V7p2 it work well... so now I turn back to V7p2 with updated file ecrspe.f..

Best Regards
Huy
The administrator has disabled public write access.
Moderators: pham

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