Welcome, Guest
Username: Password: Remember me

TOPIC: TMP file not deleted

TMP file not deleted 13 years 2 months ago #2507

  • VALETTE
  • VALETTE's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hello,

I have installed TELEMAC v6p1
TELEMAC runs correctly but can't delete the TMP file.
Note : The v6p0 file runs correctly

I copie the message given with the 037_weirs validation test :

thanks

CORRECT END OF RUN

ELAPSE TIME :
3 SECONDS
Duree du calcul : 4 secondes ( 0:0:4 ) (systeme=0.437 sec)
_____________________________________________________________________________
*** RESTITUTION DES FICHIERS ***

- FICHIER DES RESULTATS : r2d_weirs.slf

- r2d_weirs.slf

________________________________________________________
Execution terminee: telemac2d.bat
________________________________________________________
No compilation/linking/file errors detected.
No execution errors detected.
'.' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
## Error : System command failed for ./delete_t2d_weirs.cas10524.bat :256
The administrator has disabled public write access.

Re: TMP file not deleted 13 years 2 months ago #2510

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
The problems is link to a difference between Windows ans Linux which shoult not be correctly treated in one of the telema script.
the command ./delete... is only valid on linux. On windows it should be directly delete...
I don't remember excatly if the modification should be done in runcode.pl or in runtel.pl but it's possible to solve this error easily

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: VALETTE

Re: TMP file not deleted 13 years 2 months ago #2519

  • VALETTE
  • VALETTE's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
OK,

I have change in runtel.pl

########moulinec
#### $command=join "", "delete_",$PARA,$WORKING,$fileToDelete;
$command=join "","./", "delete_",$PARA,$WORKING,$fileToDelete;
########moulinec

by

########moulinec
$command=join "", "delete_",$PARA,$WORKING,$fileToDelete;
#### $command=join "","./", "delete_",$PARA,$WORKING,$fileToDelete;
########moulinec

Thanks a lot
The administrator has disabled public write access.
Moderators: borisb

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