Welcome, Guest
Username: Password: Remember me

TOPIC: running an example

running an example 9 years 7 months ago #16639

  • felix.pigeon.1@ulaval.ca
  • felix.pigeon.1@ulaval.ca's Avatar
I installed and compiled telemac v6p3 manually. According to the the command window and the forum the compilation was complete. But when I try to run a simple simulation it's tell me that a name of a module and a cas file is needed. But I think I wrote it right.

Any help will be appreciate

I let you my command window in the attachment file

Félix
Attachments:
The administrator has disabled public write access.

running an example 9 years 7 months ago #16640

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

try runcode.py telemac2d t2d_bumpflu.cas

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

running an example 9 years 7 months ago #16642

  • felix.pigeon.1@ulaval.ca
  • felix.pigeon.1@ulaval.ca's Avatar
It give the same result.
The administrator has disabled public write access.

running an example 9 years 7 months ago #16643

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Really strange!

try to look into the runcode.py script and add some print?
It looks like that the name of the module and the name of the steering file are not take in account!

Which python did you use?
Christophe
The administrator has disabled public write access.

running an example 9 years 7 months ago #16644

  • felix.pigeon.1@ulaval.ca
  • felix.pigeon.1@ulaval.ca's Avatar
I use the 2.7.5 version for python. When you say runcode.py it's the actual real name or you mean telemac2d.py?
The administrator has disabled public write access.

running an example 9 years 7 months ago #16645

  • felix.pigeon.1@ulaval.ca
  • felix.pigeon.1@ulaval.ca's Avatar
I've look at the runcode.py and it stop at the line 977 ± 2. It's says that the lenght of my arguments is less than 2. But in the command window I wrote 'runcode.py telemac2d t2d_bumpflu.cas'
This is at least 2 or 3 arguments?
The administrator has disabled public write access.

running an example 9 years 7 months ago #16653

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

This could be a problem with python. Try the version 2.7.3

Otherwise try to debug the python script by adding some print to check the arguments for example.

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: felix.pigeon.1@ulaval.ca

running an example 9 years 7 months ago #16748

  • felix.pigeon.1@ulaval.ca
  • felix.pigeon.1@ulaval.ca's Avatar
Thanks for the idea.

I installed python 2.7.9 and it work!
The administrator has disabled public write access.
Moderators: pham

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