Welcome, Guest
Username: Password: Remember me

TOPIC: Installation V6P2 Windows 7 32 bits Intel Fortran

Installation V6P2 Windows 7 32 bits Intel Fortran 12 years 1 month ago #5943

  • marine
  • marine's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 52
Hey,

I have tried for the first time to install Télémac in Python script and I have some difficulty
First of all, I have succeed the compilation but I can do it only in the file Pytel, somewhere else I can't running CompileTELEMAC.py.
Secondly, I can't run a simulation because Python can't open runcode.py like you can see on the two examples below:

D:\Affaires\modele_2D_v3_fichiers_de_base>python runcode.py telemac2d cas
Python: can't open file 'runcode.py': [Errno 2] No such file or directory

C:\TELEMAC\V6P2\pytel>python runcode.py telemac2d cas
Traceback (most recent call last):
File "runcode.py", line 107, in <module>
from parsers.parserKeywords import scanCAS,readCAS,rewriteCAS,scanDICO,getKeyWord,setKeyValue,getIOFilesSubmit
ImportError: No module named parserKeywords


On the one hand, I am not sure it is the right command line to launch a simulation with Python.
On the other hand, I supposed it miss me an environment variables to launch a simulation from everywhere but I don't know which one?
In my path, I have:

C:\TELEMAC\V6P2\pytel;
C:\Program Files\Intel\Compiler\11.0\061\fortran\mkl\ia32\bin;
C:\Program Files\Intel\Compiler\11.0\061\fortran\Bin\IA32;
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;
C:\Program Files\Microsoft Visual Studio 8\VC\bin;
D:\Affaires\TELEMAC32\telemac_v6p0\mpich2\bin;
C:\TELEMAC\V6P2\bin;
C:\Python27

I join my systel.cfg maybe it can help

Thank for your help

Regards

Marine
The administrator has disabled public write access.

Installation V6P2 Windows 7 32 bits Intel Fortran 12 years 1 month ago #5944

  • marine
  • marine's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 52
with the systel... :)
Attachments:
The administrator has disabled public write access.

Installation V6P2 Windows 7 32 bits Intel Fortran 12 years 1 month ago #5946

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

A similar post already exists, available at thttp://www.opentelemac.org/index.php?option=com_kunena&view=topic&catid=12&id=5415&Itemid=177#5519

"parsers" is a subdirectory under "pytel", within which you should find the file "parserKeywords.py".

Did you download sources from SVN or from our website?
You should try to re-compile TELEMAC after getting the missing directories.

Best regards,

Fabien
The administrator has disabled public write access.

Installation V6P2 Windows 7 32 bits Intel Fortran 12 years 1 month ago #5957

  • marine
  • marine's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 52
Ok thank you
I have download the missing files from SVN
And the compilation is right and I can launch a simulation in mono core but not in parallel. I have try with two validation cases Malpasset and Bridge.

It seems I have a problem with the mpi

I join my listing for these two cases if somebody can help me

Regards

Marine
Attachments:
The administrator has disabled public write access.

Installation V6P2 Windows 7 32 bits Intel Fortran 12 years 1 month ago #5965

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Well, that sounds bad.
  • In the first case <bridge>, as there is no user fortran file, the system tried to launch the default parallel executable.
  • In the second case <malpasset>, the system tried to re-compile with the user fortran file and failed when creating the parallel executable.

So,
  • In the <bridge> test case, try to run the mpiexec sequence directly from the TMP directory and post the full outputs
  • It seems that your MPI library is located on a remote device. Does it work ?

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

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