Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation with Python

Compilation with Python 11 years 9 months ago #7250

  • SLASNE
  • SLASNE's Avatar
Hi everybody!

I would like to install telemac3D. I try to follow step by step the tutorial of telemac system installation with the Python compiler which is on this website.
I succeeded in installing telemac systems with svn repository (tortoise) but the tutorial about the constitution of the file SYSTEL.CFG is too complicated for me (bad informatic level).
Consequently, I only installed pre-compiled telemac-system and I did not change the systel.cfg (I only verified that paths are OK). Is there anything else to change in this file because I do not succeed in compiling the whole TELEMAC system?
I verified that Python is well recognized by windows. It doesn't want to compile because of "syntaxerror"...For example, can you give me a picture of your dos windows when you compile telemac system with Python?
Any ideas to solve my problem or similar posts which could help me?
I have yet searched in the forum but all the users seem to have succeeded in this step easily because of their better informatics level...
Thank you very much to consider my problem.
Best regards,
Sarah
The administrator has disabled public write access.

Compilation with Python 11 years 9 months ago #7251

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Hi,

If you use pre-compiled version, you don't have to compile the system (it's already done).

If you want to compile the system from the sources you will need a fortran compiler.

If your path correctly points to the pytel directory and systelcfg to the config directory, you should be able to run a case.

Regards
The administrator has disabled public write access.

Compilation with Python 11 years 9 months ago #7258

  • SLASNE
  • SLASNE's Avatar
Thank you for your answer.I tried to launch a test case of Telemac3D via Fudaa but it made a message error about Perl!!
I really did something wrong...
Best regards,
Sarah
The administrator has disabled public write access.

Compilation with Python 11 years 9 months ago #7262

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
I assume that pre-compiled codes are providen with python launcher or perl launcher or both ?(more probably python as it is now recommended).

If you want to launch telemac with Python, your path need to point to your pytel directory (for example C:\opentelemac\v6p2\pytel) and the systelcfg variable must point your config directory (for example C:\opentelemac\v6p2\config). In that case you don't need perl and you shouldn't have Perl error.

Maybe you installed an old version of telemac (in that case, perl procedure is different)

Another solution is to compile the system from the sources following the tutorial but you will have to install a fortran compiler (not always easy to do with windows). In that case you will also need to edit the systel.cfg file.

Hope this helps,
The administrator has disabled public write access.

Compilation with Python 11 years 9 months ago #7295

  • matejmueller
  • matejmueller's Avatar
I have a similar problem with telemac2D. When i run compileTLEMAC.py i get the folowing:

c:\opentelemac\v6p2\wintel\pytel\python compileTELEMAC.py
File "compileTELEMAC.py" , line 151
if debug : print cmd

SyntaxError: invalid syntax


I've set the Environment Variables PATH and SYSTELCFG (I've named them like that) to the folders:

c:\opentelemac\v6p2\wintel\pytel
c:\opentelemac\v6p2\wintel\config\systel.cis-winxp.cfg

i've done everything else after the installation guides on the internet, but it just won't work.

Please help!

Best regards, Matej
The administrator has disabled public write access.
Moderators: borisb

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