Welcome, Guest
Username: Password: Remember me

TOPIC: first excution telemac2d after linux compilation

first excution telemac2d after linux compilation 12 years 7 months ago #4182

  • larroude
  • larroude's Avatar
Dear
I install telemac2d on a PC on linux Debian version

and when I try the test cas inti_1, I have this error ??

What do I forgot ??

Thanks
Philippe

~/TELEMAC/telemac2d/tel2d_v6p0/test.fr/init_1$ telemac2d cas.txt

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

HOSTTYPE : gfortran_linux
PROJECT : /home/users/larroude/TELEMAC/v6p1
BASE DIRECTORY : /home/users/larroude/TELEMAC/telemac2d/tel2d_v6p0/test.fr/init_1
LAUNCH DIRECTORY : /home/users/larroude/TELEMAC/telemac2d/tel2d_v6p0/test.fr/init_1
WORK DIRECTORY : /home/users/larroude/TELEMAC/telemac2d/tel2d_v6p0/test.fr/init_1/cas.txt4010_tmp
PARAMETER FILE : cas.txt


*** Fichier de configuration SPECIFIQUE :
/home/users/larroude/TELEMAC/v6p1/config/systel.ini ***



*** TELEMAC2D sur STATION ***


*** Lancement en interactif ***


*** VERSION v6p1 ***

________________________________________________________
Fichier des parametres : cas.txt
________________________________________________________

________________________________________________________
Starting execution: telemac2d.bat
________________________________________________________
______________________________________________________________________________
*** EXECUTABLE PAR DEFAUT ***

/home/users/larroude/TELEMAC/v6p1/telemac2d/tel2d_v6p1/gfortran_linux/telemac2dv6p1.exe
______________________________________________________________________________
*** ACQUISITION DES FICHIERS ***

- FICHIER DES PARAMETRES : cas.txt
- DICTIONNAIRE : telemac2dv6p1.dico
- FICHIER DE GEOMETRIE : geo
- FICHIER DES CONDITIONS AUX LIMITES : cli.txt
- FICHIER DE REFERENCE : ref
- FICHIER DES FRONTIERES LIQUIDES : qsl.txt
______________________________________________________________________________
*** EXECUTION ***

## Erreur : Fin anormale : time ./out4010_gfortran_linux.exe :-1
## Error : System command failed for /home/users/larroude/TELEMAC/telemac2d/tel2d_v6p0/test.fr/init_1/cas.txt4010_tmp/telemac2d.bat :512
________________________________________________________
Execution terminee: telemac2d.bat
________________________________________________________
No compilation/linking/file errors detected.
Execution errors detected.
Please see messages in stdout above or study stderr output.

Working directory: /home/users/larroude/TELEMAC/telemac2d/tel2d_v6p0/test.fr/init_1/cas.txt4010_tmp
can be manually deleted with: /home/users/larroude/TELEMAC/telemac2d/tel2d_v6p0/test.fr/init_1/delete_cas.txt4010

Returning exit status 1

=========================================================
Telemac System 5.6 to 6.1 - Perl scripts version 6.1
=========================================================
...stopping.
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 7 months ago #4184

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
As you use perl, is it working if you execute the outxxx.exe manually in the temp directory?

Regards
Christophe
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 7 months ago #4185

  • larroude
  • larroude's Avatar
Yes Christophe
it works
Do I have to do always like this ?
Thanks
Best regards
Philippe
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 7 months ago #4186

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Philippe
If it works manually, that means the perl script is not really tuned to your configuration
There is already posts on this problem where the solution is exposed. It's a problem of ./ existence in the launching string.
Probably a comment exist in the perl script at the place you should change something (in runtel.pl or runcode.pl I don't remember)

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

Re: first excution telemac2d after linux compilation 12 years 7 months ago #4206

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

The "./" expression should be ok on Linux (isn't it?). It has been reported on Windows only, I think.

Is there some additionnal information? No "error" file produced?

- may be a PATH error, I sometimes add "." to my PATH ;
- may be the "time" command. Please check manualle "time ./out*.exe".

Is the "./delete..." command working ? It should delete the temporary directory.

Please let us know,

Fabien
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 7 months ago #4208

  • larroude
  • larroude's Avatar
Hi

thanks for the answer I will try it on the next linux I will install because finally we forgot the perl installation and try with the python one and it works for the 2 first test case init_1 and init_2

BUT now I have a new problem , I try with one of my case with a fortran in which (in corfon.f) I call FILPOL( ) and it stop because of this subroutine ...

Do I forget to install something or do I have to add a key when I excute telemac2d ??

Best regards
Philippe
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 7 months ago #4209

  • larroude
  • larroude's Avatar
Hi again

I found that may be it comes from the python version. I have the 2.6.6 instead of the 2.7 ...

I will be back to perl

Best
Philippe
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 7 months ago #4261

  • larroude
  • larroude's Avatar
Hi
the time ./out*.exe in the tmp directory : works
the ./delete : works

I do not find where I have to add "." ?? in runtel.pl ? in .bashrc ??

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

Re: first excution telemac2d after linux compilation 12 years 7 months ago #4264

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Indeed, you must add these lines to your .bashrc.
PATH=".":$PATH
export PATH

Regards,
The administrator has disabled public write access.

Re: first excution telemac2d after linux compilation 12 years 7 months ago #4210

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
You need Python 2.7 indeed. This is for basic uses such as running, compiling TELEMAC. More advanced uses of the python scripts will also require numpy and matplotlib, all of which work on Linux or Windows.

Note that you can install this one in addition to the one you have already -- there should not be any conflit for as long as yo umanage your PATHs.

Hope this help.
The administrator has disabled public write access.
Moderators: borisb

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