Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: error during execution of telemac2d.bat

error during execution of telemac2d.bat 13 years 10 months ago #1065

  • rdmoore
  • rdmoore's Avatar
Hi,

I'm having trouble compiling/running telemac on windows 7. I'm not using a fortran file (I believe these are not compulsory for runs?), I'm trying to compile and run with command: telemac2d -D [steering file]
I get this message (below). I can see where this message is from in runtel.pl, seems to be an issue cleaning up the working directory. But I'm not sure why it happens. I think all my paths are correct..... perhaps it is not finding my intel fortran compiler?

Any advice much appreciated,

R Moore


C:\TELEMAC\Hydro_Jan11>telemac2d -D Sfile_Jan11.txt
=========================================================
Telemac System 5.6 to 5.9 - Perl scripts version 5.9
=========================================================
starting...
HOSTTYPE : win
PROJECT : C:\TELEMAC\V6P0
BASE DIRECTORY : C:\TELEMAC\Hydro_Jan11
LAUNCH DIRECTORY : C:\TELEMAC\Hydro_Jan11
WORK DIRECTORY : C:\TELEMAC\Hydro_Jan11\Sfile_Jan11.txt4016_tmp
PARAMETER FILE : Sfile_Jan11.txt

*** Fichier de configuration par defaut :
C:\TELEMAC\V6P0\config\systel.ini ***

*** TELEMAC2D sur STATION ***

*** Lancement en interactif ***

*** VERSION v6p0 ***
________________________________________________________
Fichier des parametres : Sfile_Jan11.txt
________________________________________________________
________________________________________________________
Starting execution: telemac2d.bat
________________________________________________________
The system cannot find the path specified.
________________________________________________________
Execution terminee: telemac2d.bat
________________________________________________________
No compilation/linking/file errors detected.
No execution errors detected.
'.' is not recognized as an internal or external command,
operable program or batch file.
## Error : System command failed for ./delete_Sfile_Jan11.txt4016.bat :256
The administrator has disabled public write access.

Re:error during execution of telemac2d.bat 13 years 10 months ago #1067

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello Rowena,

This message often occurs (I am not saying it is your solution but it could be) when the default executable is not found by the telemac launcher (script in Perl).

So first, make sure you have an executable in the directory C:\TELEMAC\V6P0\telemac2d\tel2d_v6p0\win\
If you do, then check your systel.ini file. Make sure that the paths are correct (PROJECT in particular).
Finally, make sure the PATH (environmental variables of your DOS command windows) points to the right version of TELEMAC, including C:\TELEMAC\V6P0\bin

That should solve this - if not, we will have to get more information from your system and installation.

Best regards,
Sébastien.
The administrator has disabled public write access.

Re:error during execution of telemac2d.bat 13 years 10 months ago #1072

  • bzindovic
  • bzindovic's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 68
  • Thank you received: 3
I have the same problem of cleaning temporary files so I delete them manually. It seems that it started about the time when TELEMAC was switching from Compaq Fortran to Intel Visual Fortran Compiler. I've tried to find the part of the code in runtel.pl responsible for this but wasn't able to. Is there a quick solution for this?
The administrator has disabled public write access.

Re:error during execution of telemac2d.bat 13 years 10 months ago #1073

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Budo
In case of an error in the execution the tmp directory is not necessary delete. It depends the location of the crash (perl, telemac...)
Nevertheless, the problem related here is not linked to the delete of the directory but to the crash during execution:
The system cannot find the path specified
Regards
Christophe
The administrator has disabled public write access.

Re:error during execution of telemac2d.bat 13 years 10 months ago #1079

  • bzindovic
  • bzindovic's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 68
  • Thank you received: 3
Dear moderator,

I read the output of TELEMAC2D posted by Rowena and the last line says:
## Error : System command failed for ./delete_Sfile_Jan11.txt4016.bat :256

I get similar result while running every simulation. I used TELEMAC from version V5P8 packed for Compaq Visual FORTRAN and this was not a problem. The problem started when I switched to Intel Visual Fortran in version V5P9 and it seems to be present in the latest version. If I manually execute the temporary batch file it deletes all temporary files but it doesn't happen automatically during a TELEMAC run. Is there a quick fix for this problem?

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

Re:error during execution of telemac2d.bat 13 years 10 months ago #1082

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

I suppose you met this problem because some of your sources comes from the linux version.
TO solve this problem, edit the runtel.pl file and search the following line
$command=join "","./", "delete_",$PARA,$WORKING,$fileToDelete;
Solution:
You cancel "./",

I think this will solve your problem

Regards
Christophe
The administrator has disabled public write access.

Re:error during execution of telemac2d.bat 13 years 10 months ago #1084

  • bzindovic
  • bzindovic's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 68
  • Thank you received: 3
Dear moderator,

Thank to you, I've modified runtel.pl so that it can work on both Windows and Linux. My modified file is in the attachment. Hope that everyone can include it in their distributions.



Best regards.
Budo

File Attachment:

File Name: runtel_BUDO.zip
File Size: 17147
The administrator has disabled public write access.

Re:error during execution of telemac2d.bat 13 years 10 months ago #1086

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Dear Budo
The attachment is not include (maybe due to the extension of your file)
Please post it as a zip file
regards
Christophe
The administrator has disabled public write access.

Re:error during execution of telemac2d.bat 13 years 10 months ago #1087

  • bzindovic
  • bzindovic's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 68
  • Thank you received: 3
Dear moderator,

I've edited previous message and added attachment in the for of ZIP file. I'll do this again.

Regards,
Budo

File Attachment:

File Name: runtel_BUDO-20110120.zip
File Size: 17147
The administrator has disabled public write access.

Re:error during execution of telemac2d.bat 13 years 10 months ago #1088

  • rdmoore
  • rdmoore's Avatar
Thanks for the help, I'd checked my project path was correct, but I'd not changed the perl path in systel.ini (which was wrong).
Then I encountered the problem discussed above about the temporary working directory not being deleted, but, as suggested, removing './' solved this.

So now it looks like it is working.... but I don't seem to be getting any results file.

Is this how the screen should appear after a successful run? (below). The model should be compiled+linked+run with just one command I believe? I'm just using a blank fortran file to test at the minute, but this should still provide a results file I think? (albeit without any forcing, just water levels). The 'duration of job : 0 seconds' looks like it may not be running....
Again, any advice much appreciated,

thanks,

Rowena

C:\TELEMAC\Hydro_Jan11>telemac2d Sfile_Jan11.txt

=========================================================
Telemac System 5.6 to 5.9 - Perl scripts version 5.9
=========================================================
starting...

HOSTTYPE : win
PROJECT : C:\TELEMAC\V6P0
BASE DIRECTORY : C:\TELEMAC\Hydro_Jan11
LAUNCH DIRECTORY : C:\TELEMAC\Hydro_Jan11
WORK DIRECTORY : C:\TELEMAC\Hydro_Jan11\Sfile_Jan11.txt4284_tmp
PARAMETER FILE : Sfile_Jan11.txt


*** Using default configuration file :
C:\TELEMAC\V6P0\config\systel.ini ***


*** TELEMAC2D ON STATION ***


*** Interactive mode ***


*** RELEASE v6p0 ***

________________________________________________________
Steering file : Sfile_Jan11.txt
________________________________________________________

________________________________________________________
Starting execution: telemac2d.bat
________________________________________________________
- FORTRAN FILE : ForFile.f
______________________________________________________________________________
*** COMPILATION ***

ifort /compile_only /optimize:4 /check=overflow /iface:nomixed_str_len_arg /wa
rn:declaration /warn:argument_checking /warn:unused /nologo /convert:big_endian
/extend-source:132 /include:C:\TELEMAC\V6P0\telemac2d\tel2d_v6p0\win /include
:C:\TELEMAC\V6P0\sisyphe\sisyphe_v6p0\win /include:C:\TELEMAC\V6P0\special\speci
al_v6p0\win /include:C:\TELEMAC\V6P0\bief\bief_v6p0\win /include:C:\TELEMAC\V6P0
\damocles\damo_v6p0\win /include:C:\TELEMAC\V6P0\paravoid\paravoid_v6p0\win t2df
ort.f
______________________________________________________________________________
*** LIBRARIES ***

- C:\TELEMAC\V6P0\telemac2d\tel2d_v6p0\win\telemac2dv6p0.lib
- C:\TELEMAC\V6P0\sisyphe\sisyphe_v6p0\win\sisyphev6p0.lib
- C:\TELEMAC\V6P0\special\special_v6p0\win\specialv6p0.lib
- C:\TELEMAC\V6P0\bief\bief_v6p0\win\biefv6p0.lib
- C:\TELEMAC\V6P0\damocles\damo_v6p0\win\damov6p0.lib
- C:\TELEMAC\V6P0\paravoid\paravoid_v6p0\win\paravoidv6p0.lib
- C:\TELEMAC\V6P0\mumpsvoid\mumpsvoid_v6p0\win\mumpsvoidv6p0.lib

*** LINKING ***

Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

______________________________________________________________________________
*** ALLOCATION OF USER FILES ***

- STEERING FILE : Sfile_Jan11.txt

- DICTIONARY : telemac2dv6p0.dico

- GEOMETRY FILE : LS.geo
- BOUNDARY CONDITIONS FILE : LS.conlim

______________________________________________________________________________
*** RUNNING ***

RM test +++
Duration of job : 0 seconds ( 0:0:0 ) (system=0 sec)
______________________________________________________________________________
*** FILES DELIVERY ***

- RESULTS FILE : ResultsJanFF1.slf


________________________________________________________
Execution finished: telemac2d.bat
________________________________________________________
No compilation/linking/file errors detected.
No execution errors detected.
Returning exit status 0

=========================================================
Telemac System 5.6 to 5.9 - Perl scripts version 5.9
=========================================================
...stopping.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: borisb

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