Welcome, Guest
Username: Password: Remember me

TOPIC: Can't do test run - help

Can't do test run - help 2 years 3 months ago #40771

  • ddewolfe
  • ddewolfe's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi There,

I have installed and compiled v8p3r1 on my windows machine. But attempting to run a test I get this:

C:\opentelemac-mascaret\v8p3r1\examples\telemac2d\bump>
C:\opentelemac-mascaret\v8p3r1\examples\telemac2d\bump>python scripts/python3/telemac2d.py t2d_bump_FE.cas
python: can't open file 'C:\opentelemac-mascaret\v8p3r1\examples\telemac2d\bump\scripts\python3\telemac2d.py': [Errno 2] No such file or directory

C:\opentelemac-mascaret\v8p3r1\examples\telemac2d\bump>


Is there a path problem?
My Desktop target is: C:\WINDOWS\system32\cmd.exe E:ON /V:ON /K set SYSTELCFG=C:\opentelemac-mascaret\v8p3r1\configs\systel.cis-windows.cfg && PATH=C:\opentelemac-mascaret\v8p3r1\scripts\python3;!PATH!

I am stumped. Any suggestions?

Thanks in advance!
The administrator has disabled public write access.

Can't do test run - help 2 years 2 months ago #41109

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
Your command is not correct. You are trying to start telemac2d.py using a relative path, from an example folder. Therefore, the shell tries to locate telemac2d.py script in the example folder: this can't work at all.

The correct syntax is:
telemac2d.py t2d_bump_FE.cas

However, in order for this command to work, Telemac Python scripts directory should be first put in your PATH environment variable:
set path=C:\opentelemac-mascaret\v8p3r1\scripts\python3;%path%
The administrator has disabled public write access.
Moderators: borisb

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