Welcome, Guest
Username: Password: Remember me

TOPIC: Bug automatic installer v8p4 -- USER FORTRAN cases

Bug automatic installer v8p4 -- USER FORTRAN cases 1 year 5 months ago #42750

  • tomsail
  • tomsail's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 43
  • Thank you received: 17
Dear TELEMAC developers,

Thanks a lot for the new windows automatic installer! This is a huge progress for making TELEMAC accessible to everyone !

We have a problem here on our windows machines though:
by default when the install starts, the HOMETEL path is set to C:\Program Files\TELEMAC\V8P4

For the normal cases it runs fine :
(example for calais WAC case)
python C:\Program Files\TELEMAC\V8P4\scripts\python3\tomawac.py tom_calais.cas

But when we start using user_fortran it crashes because it tries to recompile the binaries using the HOMETEL PATH.
(example for Manche WAC case)
python C:\Program Files\TELEMAC\V8P4\scripts\python3\tomawac.py tom_manche.cas

That is due to the fact that there is a space between "Program" and "Files", so the libraries recompiled are not found anymore.

Is there a way to install in the parent directory ?
i.e. instead of installing it in C:\Program Files\TELEMAC\...
to install it in C:\TELEMAC\...

Thanks all

Thomas
Attachments:
The administrator has disabled public write access.

Bug automatic installer v8p4 -- USER FORTRAN cases 1 year 5 months ago #42754

  • tomsail
  • tomsail's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 43
  • Thank you received: 17
We temporarily fixed it by moving everything in the Parent folder :

HOMETEL becomes:
C:/TELEMAC/V8P4

after having changed the pysource.bat the environment variables, I runs nicely :)

NB:
Also Tring the optimisation notebook telemac2d_optim_genop.ipynb, we found 2 inconsistences in the systel config file:

Attached the original and the corrected version.
Attachments:
The administrator has disabled public write access.

Bug automatic installer v8p4 -- USER FORTRAN cases 1 year 5 months ago #42763

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
Hello,

To work with a path containing spaces, you need to enclose it in quotation marks:
python "%hometel%\tomawac.py" tom_calais.cas

Note that you should normally be able to call tomawac.py directly:
tomawac.py tom_calais.cas

Thank you also for identifying issues in the systel.cfg file. Another TELEMAC user has already pointed them out to me, but they are not a problem when using TELEMAC from the Windows installer, which is built in static mode.
The administrator has disabled public write access.
The following user(s) said Thank You: tomsail
Moderators: borisb

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