Welcome, Guest
Username: Password: Remember me

TOPIC: Compile Telemac.py cannot find config file

Compile Telemac.py cannot find config file 11 years 5 months ago #8907

  • GMM_Technoeconomica
  • GMM_Technoeconomica's Avatar
I have downloaded Telemac OK and am trying to get it compiled and then to run a validation case. However, when I run compiletelemac.py I just get an error message "Not able to get the configuration file config in Directory C:\telemac\pytel" - which config file is it looking for? Config.py? I have as far as I know the config file correctly set up and the path correct and the systel.cfg file is in c:\telemac\config.....I must admit all this is like going back 20 years....if anyone can help I'd be grateful.
The administrator has disabled public write access.

Compile Telemac.py cannot find config file 11 years 5 months ago #8909

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

This is taken from the Installation procedure with Python.
$PATH
On MS Windows operating systems, you need to open your Control Panel's System windows, access your Environment Variables from the Advanced tab and then click New/Edit in the top "user" part for the PATH variable to add:
c:\opentelemac\v6p2\pytel
Please note that the symbol ";" is used as separator on MS Windows operating systems.

$SYSTELCFG

The variable SYSTELCFG provides TELEMAC with the path to one of the configuration files ~root/config/*.cfg present in the directory ~root/config/. In the same way it was done for the PATH, here is the instruction to do so depending on your operating system:

Please note that SYSTELCFG only supports one configuration file, altough one configuration file can include multiple configurations.

On MS Windows operating systems, you need to open your Control Panel's System windows, access your Environment Variables from the Advanced tab and then click New/Edit in the top "user" part for the SYSTELCFG variable to add:
c:\opentelemac\v6p2\config\systel.cis-winxp.cfg

Make sure you have taken the above steps. It seems like the source of your problem. Initially, Telemac requires an elevated user involvement compared to commercial software, but in the end you become more aware with its operation, which is good in my opinion.

I hope this will sort your problem out.
Costas
The administrator has disabled public write access.

Compile Telemac.py cannot find config file 11 years 5 months ago #8917

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

since it is producing a message, you should probably have your PATH correct. Assuming your config file (\config\***.cfg) is there you may have an error in it. For instance, you may not have your key configs at the top of the file setup properly.

Can you share your file (\config\***.cfg) with us ?

Sébatsien
The administrator has disabled public write access.
Moderators: borisb

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