Welcome, Guest
Username: Password: Remember me

TOPIC: Problème d'execution

Problème d'execution 14 years 1 month ago #58

  • Yanis
  • Yanis's Avatar
Bonjour,

Je suis sous Fudaa et lorsque je lance le calcul un message d'erreur apparait :
" ifort n'est pas reconnu en tant que commande externe ou interne , un programme executable ou un fichier de commandes
ERROR : COMPILATION "

et un fichier bloc note est généré :

"*** ERROR : COMPILATION princi.f *** "

Est ce que quelqu'un peut m'aider ??

Cordialement,
The administrator has disabled public write access.

Re:Problème d'execution 14 years 1 month ago #59

  • Yanis
  • Yanis's Avatar
Voici la fenetre de commande que j'obtiens :


===================================================
Telemac System 5.9 - Perl scripts version V5P9-0
===================================================
starting...

HOSTTYPE : win
PROJECT : C:\TELEMAC\V5P9
BASE DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue
LAUNCH DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue
WORK DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue\c
as.txt3076_tmp
PARAMETER FILE : cas.txt


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



*** Using specific version v5p9 ***


*** TELEMAC2D ON STATION ***


*** Interactive mode ***


*** RELEASE V5P9 ***

________________________________________________________
Steering file : cas.txt
________________________________________________________

________________________________________________________
Starting execution: telemac2d.bat
________________________________________________________
- FORTRAN FILE : princi.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\V5P9\telemac2d\tel2d_v5p9\win /include
:C:\TELEMAC\V5P9\sisyphe\sisyphe_v5p9\win /include:C:\TELEMAC\V5P9\special\speci
al_v5p9\win /include:C:\TELEMAC\V5P9\bief\bief_v5p9\win /include:C:\TELEMAC\V5P9
\damocles\damo_v5p9\win /include:C:\TELEMAC\V5P9\paravoid\paravoid_v5p9\win t2df
ort.f
'ifort' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
ERROR : COMPILATION

________________________________________________________
Execution finished: telemac2d.bat
________________________________________________________
Compilation/linking/file errors detected.
Please see messages in: stdout above, stderr,
and/or file C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue\c
as.txt3076_error.log
No execution errors detected.

Working directory: C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue\c
as.txt3076_tmp
can be manually deleted with: C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test
.fr\digue\delete_cas.txt3076.bat

Returning exit status 1

===================================================
Telemac System 5.9 - Perl scripts version V5P9-0
===================================================
...stopping.


C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue>
The administrator has disabled public write access.

Re:Problème d'execution 14 years 1 month ago #60

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3632
  • Thank you received: 1010
Dear Yanis
The problem doesn't come from Telemac but from your Intel fortran installation.
In the Command window opened by Fudaa, the path to your Fortran compiler are not declared.
To compile Telemac, you should open a command window in the "Intel software development tools/ Intel Fortran Compiler" menu.
In this window, move to the right location to run your telemac computation and launch it manually (telemac2d XXX, with XXX the name of yoru steering file)
Regards
Christophe
The administrator has disabled public write access.

Re:Problème d'execution 14 years 1 month ago #62

  • Yanis
  • Yanis's Avatar
Hi

Thank you for the answer. So my problem is that I don't have the Intel Fortran. Can I use another compilator (a free one) wich works with Telemac ?
The administrator has disabled public write access.

Re:Problème d'execution 14 years 1 month ago #64

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3632
  • Thank you received: 1010
Hi

Sorry but you don't have any other solution for the moment
See the dedicated topic "fortran compiler" about this subject
Christophe
The administrator has disabled public write access.

Re:Problème d'execution 14 years 1 month ago #67

  • Yanis
  • Yanis's Avatar
Hi.
I installed the ifort compilator (evaluation version) and telemac seems to compile. But another problem appears with the linking &/or libraries.

Error message :

===================================================
Telemac System 5.9 - Perl scripts version V5P9-0
===================================================
starting...

HOSTTYPE : win
PROJECT : C:\TELEMAC\V5P9
BASE DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue
LAUNCH DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue
WORK DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue\c
as.txt2976_tmp
PARAMETER FILE : cas.txt


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



*** Using specific version v5p9 ***


*** TELEMAC2D ON STATION ***


*** Interactive mode ***


*** RELEASE V5P9 ***

________________________________________________________
Steering file : cas.txt
________________________________________________________

________________________________________________________
Starting execution: telemac2d.bat
________________________________________________________
- FORTRAN FILE : princi.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\V5P9\telemac2d\tel2d_v5p9\win /include
:C:\TELEMAC\V5P9\sisyphe\sisyphe_v5p9\win /include:C:\TELEMAC\V5P9\special\speci
al_v5p9\win /include:C:\TELEMAC\V5P9\bief\bief_v5p9\win /include:C:\TELEMAC\V5P9
\damocles\damo_v5p9\win /include:C:\TELEMAC\V5P9\paravoid\paravoid_v5p9\win t2df
ort.f
______________________________________________________________________________
*** LIBRARIES ***

- C:\TELEMAC\V5P9\telemac2d\tel2d_v5p9\win\telemac2dv5p9.lib
- C:\TELEMAC\V5P9\sisyphe\sisyphe_v5p9\win\sisyphev5p9.lib
- C:\TELEMAC\V5P9\special\special_v5p9\win\specialv5p9.lib
- C:\TELEMAC\V5P9\bief\bief_v5p9\win\biefv5p9.lib
- C:\TELEMAC\V5P9\damocles\damo_v5p9\win\damov5p9.lib
- C:\TELEMAC\V5P9\paravoid\paravoid_v5p9\win\paravoidv5p9.lib
- advapi32.lib
- netapi32.lib

*** LINKING ***

link /MACHINE:IX86 /subsystem:console /incremental:no /stack:67108864 /nodefau
ltlib:libc.lib /out:out2976_win.exe t2dfort.obj C:\TELEMAC\V5P9\telemac2d\tel2
d_v5p9\win\telemac2dv5p9.lib C:\TELEMAC\V5P9\sisyphe\sisyphe_v5p9\win\sisyphev5p
9.lib C:\TELEMAC\V5P9\special\special_v5p9\win\specialv5p9.lib C:\TELEMAC\V5P9\b
ief\bief_v5p9\win\biefv5p9.lib C:\TELEMAC\V5P9\damocles\damo_v5p9\win\damov5p9.l
ib C:\TELEMAC\V5P9\paravoid\paravoid_v5p9\win\paravoidv5p9.lib advapi32.lib net
api32.lib
'link' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
ERROR : DURING LINKING

________________________________________________________
Execution finished: telemac2d.bat
________________________________________________________
Compilation/linking/file errors detected.
Please see messages in: stdout above, stderr,
and/or file C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue\c
as.txt2976_error.log
No execution errors detected.

Working directory: C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\digue\c
as.txt2976_tmp
can be manually deleted with: C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test
.fr\digue\delete_cas.txt2976.bat

Returning exit status 1

===================================================
Telemac System 5.9 - Perl scripts version V5P9-0
===================================================
...stopping.


can anyone help me ?!
The administrator has disabled public write access.

Re:Problème d'execution 14 years 1 month ago #70

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 811
  • Thank you received: 217
Yanis,

It seems your 'linker' is not recognise on your system. Can you try to run TELEMAC outside FUDAA, for a test, using the following shortcut to the DOS command windows:

(Start) > Programs > Intel Software Development Tools > Intel Visual Fortran Compiler Professional ... > Intel Visual Fortran Compiler for applications running on IA-32

If this works, then make sure you have the following in your PATH (in addition to the other default) and try again from FUDAA.

....Intel\Compiler\11...\fortran\Bin\IA32;
....Microsoft Visual Studio 8\VC\Bin;
....Microsoft Visual Studio 8\Common7\Tools;
....Microsoft Visual Studio 8\Common7\Tools\bin;
....Microsoft Visual Studio 8\Common7\IDE

Please make sure that the above directory actually exist on your computer.

Best regards
The administrator has disabled public write access.

Re:Problème d'execution 14 years 1 month ago #75

  • Yanis
  • Yanis's Avatar
Thank you for your answer, I fixed the "link.exe" problem, but a new error appears !!!! with this message :

===================================================
Telemac System 5.9 - Perl scripts version V5P9-0
===================================================
starting...

HOSTTYPE : win
PROJECT : C:\TELEMAC\V5P9
BASE DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpass
et
LAUNCH DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpass
et
WORK DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpass
et\cas.txt4784_tmp
PARAMETER FILE : cas.txt


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



*** Using specific version v5p9 ***


*** TELEMAC2D ON STATION ***


*** Interactive mode ***


*** RELEASE V5P9 ***

________________________________________________________
Steering file : cas.txt
________________________________________________________

________________________________________________________
Starting execution: telemac2d.bat
________________________________________________________
- FORTRAN FILE : princi.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\V5P9\telemac2d\tel2d_v5p9\win /include
:C:\TELEMAC\V5P9\sisyphe\sisyphe_v5p9\win /include:C:\TELEMAC\V5P9\special\speci
al_v5p9\win /include:C:\TELEMAC\V5P9\bief\bief_v5p9\win /include:C:\TELEMAC\V5P9
\damocles\damo_v5p9\win /include:C:\TELEMAC\V5P9\paravoid\paravoid_v5p9\win t2df
ort.f
______________________________________________________________________________
*** LIBRARIES ***

- C:\TELEMAC\V5P9\telemac2d\tel2d_v5p9\win\telemac2dv5p9.lib
- C:\TELEMAC\V5P9\sisyphe\sisyphe_v5p9\win\sisyphev5p9.lib
- C:\TELEMAC\V5P9\special\special_v5p9\win\specialv5p9.lib
- C:\TELEMAC\V5P9\bief\bief_v5p9\win\biefv5p9.lib
- C:\TELEMAC\V5P9\damocles\damo_v5p9\win\damov5p9.lib
- C:\TELEMAC\V5P9\paravoid\paravoid_v5p9\win\paravoidv5p9.lib
- advapi32.lib
- netapi32.lib

*** LINKING ***

link /MACHINE:IX86 /subsystem:console /incremental:no /stack:67108864 /nodefau
ltlib:libc.lib /out:out4784_win.exe t2dfort.obj C:\TELEMAC\V5P9\telemac2d\tel2
d_v5p9\win\telemac2dv5p9.lib C:\TELEMAC\V5P9\sisyphe\sisyphe_v5p9\win\sisyphev5p
9.lib C:\TELEMAC\V5P9\special\special_v5p9\win\specialv5p9.lib C:\TELEMAC\V5P9\b
ief\bief_v5p9\win\biefv5p9.lib C:\TELEMAC\V5P9\damocles\damo_v5p9\win\damov5p9.l
ib C:\TELEMAC\V5P9\paravoid\paravoid_v5p9\win\paravoidv5p9.lib advapi32.lib net
api32.lib
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

LINK : fatal error LNK1181: impossible d'ouvrir le fichier en entrÚe 'advapi32.l
ib'
ERROR : DURING LINKING

________________________________________________________
Execution finished: telemac2d.bat
________________________________________________________
Compilation/linking/file errors detected.
Please see messages in: stdout above, stderr,
and/or file C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpass
et\cas.txt4784_error.log
No execution errors detected.

Working directory: C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpass
et\cas.txt4784_tmp
can be manually deleted with: C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test
.fr\malpasset\delete_cas.txt4784.bat

Returning exit status 1

===================================================
Telemac System 5.9 - Perl scripts version V5P9-0
===================================================
...stopping.


C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpasset>advapi32.lib



I don't inderstand the problem because when I launch advapi32.lib (C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpasset>advapi32.lib) it works !

Can anyone help me ??
The administrator has disabled public write access.

Re:Problème d'execution 14 years 1 month ago #88

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 811
  • Thank you received: 217
Dear Yanis,

These library links are left over from the time TELEMAC had a computer protection. They usually do not cause any harm but since you have a problem with these the best solution is to make sure you remove there calls/linkages.

To do this, you need edit the makefile.wnt in your telemac2d source directory:
\telemac2d\tel2d_v5p9\sources\
and make sure the line
SYSLIB =
is empty.

Also, just to make sure, in the runcode.pl Perl program in \bin, make sure the variable $LIB_SYS is always set to "".
For instance replace:
if($ENV{"OS"} eq "Windows_NT") {$LIB_SYS = "advapi32.lib netapi32.lib";}
by
if($ENV{"OS"} eq "Windows_NT") {$LIB_SYS = "";}

We will make sure these are removed by the time we release a new version of the system.

Thank you for your input.
Sébastien.
The administrator has disabled public write access.

Re:Problème d'execution 14 years 1 month ago #89

  • Yanis
  • Yanis's Avatar
Thank you for your answer. The problem with 'advapi32' seems to be fixed by replacing
if($ENV{"OS"} eq "Windows_NT") {$LIB_SYS = "advapi32.lib netapi32.lib";}
by
if($ENV{"OS"} eq "Windows_NT") {$LIB_SYS = "";}.

But another problem appears with this message :




===================================================
Telemac System 5.9 - Perl scripts version V5P9-0
===================================================
starting...

HOSTTYPE : win
PROJECT : C:\TELEMAC\V5P9
BASE DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpass
et
LAUNCH DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpass
et
WORK DIRECTORY : C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpass
et\cas.txt3728_tmp
PARAMETER FILE : cas.txt


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



*** Using specific version v5p9 ***


*** TELEMAC2D ON STATION ***


*** Interactive mode ***


*** RELEASE V5P9 ***

________________________________________________________
Steering file : cas.txt
________________________________________________________

________________________________________________________
Starting execution: telemac2d.bat
________________________________________________________
- FORTRAN FILE : princi.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\V5P9\telemac2d\tel2d_v5p9\win /include
:C:\TELEMAC\V5P9\sisyphe\sisyphe_v5p9\win /include:C:\TELEMAC\V5P9\special\speci
al_v5p9\win /include:C:\TELEMAC\V5P9\bief\bief_v5p9\win /include:C:\TELEMAC\V5P9
\damocles\damo_v5p9\win /include:C:\TELEMAC\V5P9\paravoid\paravoid_v5p9\win t2df
ort.f
______________________________________________________________________________
*** LIBRARIES ***

- C:\TELEMAC\V5P9\telemac2d\tel2d_v5p9\win\telemac2dv5p9.lib
- C:\TELEMAC\V5P9\sisyphe\sisyphe_v5p9\win\sisyphev5p9.lib
- C:\TELEMAC\V5P9\special\special_v5p9\win\specialv5p9.lib
- C:\TELEMAC\V5P9\bief\bief_v5p9\win\biefv5p9.lib
- C:\TELEMAC\V5P9\damocles\damo_v5p9\win\damov5p9.lib
- C:\TELEMAC\V5P9\paravoid\paravoid_v5p9\win\paravoidv5p9.lib

*** LINKING ***

link /MACHINE:IX86 /subsystem:console /incremental:no /stack:67108864 /nodefau
ltlib:libc.lib /out:out3728_win.exe t2dfort.obj C:\TELEMAC\V5P9\telemac2d\tel2
d_v5p9\win\telemac2dv5p9.lib C:\TELEMAC\V5P9\sisyphe\sisyphe_v5p9\win\sisyphev5p
9.lib C:\TELEMAC\V5P9\special\special_v5p9\win\specialv5p9.lib C:\TELEMAC\V5P9\b
ief\bief_v5p9\win\biefv5p9.lib C:\TELEMAC\V5P9\damocles\damo_v5p9\win\damov5p9.l
ib C:\TELEMAC\V5P9\paravoid\paravoid_v5p9\win\paravoidv5p9.lib
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'ifconsol.lib'
ERROR : DURING LINKING

________________________________________________________
Execution finished: telemac2d.bat
________________________________________________________
Compilation/linking/file errors detected.
Please see messages in: stdout above, stderr,
and/or file C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpass
et\cas.txt3728_error.log
No execution errors detected.

Working directory: C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpass
et\cas.txt3728_tmp
can be manually deleted with: C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test
.fr\malpasset\delete_cas.txt3728.bat

Returning exit status 1

===================================================
Telemac System 5.9 - Perl scripts version V5P9-0
===================================================
...stopping.


C:\TELEMAC\V5P9\Training\telemac2d\tel2d_v5p9\test.fr\malpasset>

?????




PS:It's normal that the installation is so hard ??
The administrator has disabled public write access.
Moderators: pham

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