Welcome, Guest
Username: Password: Remember me

TOPIC: Problem using compileTELEMAC.py

Problem using compileTELEMAC.py 6 years 4 months ago #30724

  • Eloïse
  • Eloïse's Avatar
Hi,
I have done the manual installation and at the end, I have to use compileTELEMAC.py.
When I run it, the only thing that appears is a note that says :

"
#!/usr/bin/env python
"""@author Sebastien E. Bourban and Noemie Durand
"""
"""@note ... this work is based on a collaborative effort between
.________. ,--.
| | . ( (
|,-. / HR Wallingford EDF - LNHE / \_ \_/ .--.
/ \ / Howbery Park, 6, quai Watier \ ) /_ )
,. `' Wallingford, Oxfordshire 78401 Cedex `-'_ __ `--
/ \ / OX10 8BA, United Kingdom Chatou, France __/ \ \ `.
/ `-'| www.hrwallingford.com innovation.edf.com | ) ) )
!________! `--' `--
"""
"""@history 28/04/2011 -- Sebastien E. Bourban
Now supports SYSTELCFG as a directory (old Perl version,
to which systel.cfg is added) or as a file.
"""
"""@history 30/04/2011 -- Sebastien E. Bourban
Upgrade made to config parsing to include the option to reset
the version and the root from the command line option:
-v <version>, reset the version read in the config file with this
-r <root>, reset the root path read in the config file with this
"""
"""@history 05/07/2011 -- Sebastien E. Bourban
Python interpreter added for linux calls. This is a temporary
solution as "/usr/bin/env" is not strickly portable cross
operating systems
"""
"""@history 27/01/2012 -- Sebastien E. Bourban
A new option (--modules) added to the command line, which if present
will reset the value of the key in the configuration file.
This development was triggered by Christophe Coulet (Artelia-Sogreah)
who asked about it on the open TELEMAC forum.
"""
"""@history 04/06/2012 -- Fabien Decung
Allowing 'out of sources' build, compiling directly into 'ObjDir'
-> nice deal with subdirectories (if not, object are build in
dirname(odict))
-> sources directory remains clean
-> allow concurrent compilation tasks (nasty behaviour with the
shutil.move operations)
"""
"""@history 18/06/2012 -- Sebastien E. Bourban & Fabien Decung
Calls to sys.exit() and os.system() have been progressively captured
into a try/except statement to better manage errors.
This, however, assumes that all errors are anticipated.
"""
"""@history 04/12/2012 -- Juliette Parisi and Sebastien E. Bourban
Simplifying call to parseConfigFile, which now takes two arguments
options.configFile, and options.configName and return one or more
valid configurations in an array. Testing for validity is now done
within config.py
"""
"""@history 05/12/2012 -- Sebastien E. Bourban
Allowing the cmd_exe, cmd_lib and cmd_obj to be module specific, with the
option to have the former as defaults, but reseting the specifics with
cmd_exe_parallel (for instance)
As a consequence cmd = cfg is replaced by
cmd = cfg[odict], etc. "

I don't know what I have to do to make it run correctly.
The administrator has disabled public write access.

Problem using compileTELEMAC.py 6 years 4 months ago #30725

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Looks like the python script is not executed by python but just by a text editor...
Look the file association

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Eloïse

Problem using compileTELEMAC.py 6 years 1 month ago #31748

  • harolddiaz
  • harolddiaz's Avatar
Hi, would You fixed the problem?
The administrator has disabled public write access.
Moderators: borisb

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