Welcome, Guest
Username: Password: Remember me

TOPIC: FATAL : Module inaccessible.

FATAL : Module inaccessible. 13 years 4 months ago #1774

  • mroberts
  • mroberts's Avatar
Dear support,

I have read and followed the install directions to the best of my ability, but still receive the error below:

X:\TELEMAC\tel2d_v6p0\test.gb\cavity>telemac2d
FATAL : Module <tm_info> inaccessible.
BEGIN failed--compilation aborted at C:\TELEMAC\V6P0\bin/runtel.pl line 273.

I've opened the runtel.pl file and line 273 is blank! Unfortunately (for me) the file is in french, but from what I can gleen, immediately before this line its trying to verify modules. The tm_info.pl file that is "inaccessible" is in the bin directory.

I have set PROJECT = C:\TELEMAC\V6P0\bin in the systel.ini file and run the cfgmak.bat to update the cfgmak.mak file as specified.

I've also set the path=C:\TELEMAC\V6P0\bin and
SYSTELCFG=C:\TELEMAC\V6P0\config

When I type cfgmak in a cmd window, it returns:

X:\TELEMAC\tel2d_v6p0\test.gb\cavity>cfgmak
X:\TELEMAC\tel2d_v6p0\test.gb\cavity>perl -x -S cfgmak.pl
Mise a jour du fichier 'C:\TELEMAC\V6P0\config\cfgmak.mak' terminee.

when I type echo $SYSTELCFG, it returns:
$SYSTELCFG

For your information, I am trying to use the free compiler g95 for windows, as recommended in the install doc, but I'm strugling with defining the compiler data flags as I'm not used to using compilers. Do you have a list of the compiler commands for g95, similar to the intel fortan compiler commands given in the installation document?

Kind regards,

Matthew
The administrator has disabled public write access.

Re:FATAL : Module inaccessible. 13 years 4 months ago #1776

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Your problem is not linked to the compiler.
This is the perl script which failed.
Probably you didn't execute install_systel.bat after modifying systel.ini.
Regards
Christophe
The administrator has disabled public write access.

Re:FATAL : Module inaccessible. 13 years 4 months ago #1779

  • mroberts
  • mroberts's Avatar
Thanks for return posting so quickly.

I'll now run the install_systel.bat after modifying the systel.ini file and I still get the same error message.

Any other suggestions please?

Mat
The administrator has disabled public write access.

Re:FATAL : Module inaccessible. 13 years 4 months ago #1782

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

Are you using the latest version of strawberry perl? (5.12.3)
you could check with perl -v command

If so try with the previous version 5.10.1

regards
Christophe
The administrator has disabled public write access.

Re:FATAL : Module inaccessible. 13 years 4 months ago #1783

  • mroberts
  • mroberts's Avatar
I've uninstalled v5.12.3 and installed v5.10.1

I ran the update update_env.pl.bat as instructed in the README.txt to add the perl PATH environment variables then checked that they we correctly added.

I then ran
C:\TELEMAC\V6P0\install\win\install_systel.bat
and
C:\TELEMAC\V6P0\bin\cfgmak.bat

Still not working. Any other suggestions?
The administrator has disabled public write access.

Re:FATAL : Module inaccessible. 13 years 4 months ago #1797

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hello,

1/
You wrote : "I have set PROJECT = C:\TELEMAC\V6P0\bin in the systel.ini"

PROJECT variable in the systel.ini file refers to the TELEMAC root directory ie."PROJECT=C:\TELEMAC\V6P0" ;

2/ I don't see why there's some forward and backslash in your message : "C:\TELEMAC\V6P0\bin/runtel.pl". Same error message was found in : www.telemacsystem.com/index.php?option=c...964&lang=fr#967.

So, I would suggest you to check both %PATH% and %SYSTELCFG% as well as the PROJECT variable in the systel.ini file ;

3/
For G95, I would suggest to add a new section in your systel.ini file with (not tested) :

[g95]
DIRLIB=g95
FC_NAM="g95"
FC_OPT_COMPIL="-c -O3 -fendian=big"
...

I hope it will help you,

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

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