Welcome, Guest
Username: Password: Remember me

TOPIC: Telemac compilation ifort error

Telemac compilation ifort error 13 years 7 months ago #1368

  • glejin
  • glejin's Avatar
Hai,

I am a beginner in Telemac, I installed telemac system and dowmloaded tutorial from site. I installed G95 instead of Ifort.Then I tried to run a telemac2d testcase "hydraulic_jump" from command windows. Then I got error message like below.I want to use G95 instead of Ifort.How can i use G95 to run the test cases.




C:\Documents and Settings\Administrator\Desktop\test.gb\hydraulic_jump>telemac2d
cas.txt

=========================================================
Telemac System Freeware 6.0 - Perl scripts version V6.0
=========================================================
starting...

HOSTTYPE : win
PROJECT : C:\TELEMAC\V6P0
BASE DIRECTORY : C:\Documents and Settings\Administrator\Desktop\test.gb\hydra
ulic_jump
LAUNCH DIRECTORY : C:\Documents and Settings\Administrator\Desktop\test.gb\hydra
ulic_jump
WORK DIRECTORY : C:\Documents and Settings\Administrator\Desktop\test.gb\hydra
ulic_jump\cas.txt3636_tmp
PARAMETER FILE : cas.txt


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



*** TELEMAC2D sur STATION ***


*** Lancement en interactif ***


*** VERSION v6p0 ***

________________________________________________________
Fichier des parametres : cas.txt
________________________________________________________

________________________________________________________
Starting execution: telemac2d.bat
________________________________________________________
- FICHIER FORTRAN : 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\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
'ifort' is not recognized as an internal or external command,
operable program or batch file.
ERREUR A LA COMPILATION

________________________________________________________
Execution terminee: telemac2d.bat
________________________________________________________
Compilation/linking/file errors detected.
Please see messages in: stdout above, stderr,
and/or file C:\Documents and Settings\Administrator\Desktop\test.gb\hydra
ulic_jump\cas.txt3636_error.log
No execution errors detected.

Working directory: C:\Documents and Settings\Administrator\Desktop\test.gb\hydra
ulic_jump\cas.txt3636_tmp
can be manually deleted with: C:\Documents and Settings\Administrator\Desktop\te
st.gb\hydraulic_jump\delete_cas.txt3636.bat

Returning exit status 1

=========================================================
Telemac System Freeware 6.0 - Perl scripts version V6.0
=========================================================
...stopping.

Regards,
The administrator has disabled public write access.

Re:Telemac compilation ifort error 13 years 7 months ago #1369

  • jmhervouet
  • jmhervouet's Avatar
Hello,

With the Fortran g95 compiler you need to compile the sources of the system. Refer to the installation guide for this.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Re:Telemac compilation ifort error 13 years 7 months ago #1370

  • glejin
  • glejin's Avatar
Hai,

I tried to get the installation guide to know about compiling the sources of the system.But I didn't succeed to get it.Can you give the link to download this file and to know more about compiling the sources of the system with G95 and where are the source files of the system kept.

Thanks,
The administrator has disabled public write access.

Re:Telemac compilation ifort error 13 years 7 months ago #1374

  • jmhervouet
  • jmhervouet's Avatar
Hello,

In the download section choose Telemac, then sources, then you see it.

JMH
The administrator has disabled public write access.

Re:Telemac compilation ifort error 13 years 4 months ago #1772

  • mroberts
  • mroberts's Avatar
Did you manage to get telemac running using the free g95 for windows compiler? If so, do you have a copy of the systel.ini commands for the g95 compiler data, to save me trying to figure these out?

Thanks,

Mat
The administrator has disabled public write access.

Re:Telemac compilation ifort error 13 years 4 months ago #1878

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Sorry for not answering before -- this post escaped me.

First, please note that we are in the process of replacing our Perl scripts by python scripts. As a result, the configuration file systel.ini as well as the installation of the TELEMAC system will be rather simplified. Note also that we will concurently support both the Perl and the Python implementation for a year or so -- a separate configuration file called systel.cfg will be used for the Python version.

The part of the systel.ini for the G95 compiler looks like this:
#------------------------------------------------------------------------------
#---------------- Windows + G95                                     -----------
#------------------------------------------------------------------------------
#
# PARALELISM NOT TESTED YET !!!!!!!
[g95]
DIRLIB=g95
# Options du compilateur GNU
FC_NAM="g95"
FC_OPT_OBJEXT="o "
FC_OPT_COMPIL=" -c -O0 -fendian=big "
FC_OPT_DEBUG=" -c "
FC_OPT_PROFILE=" -O2 -c "
FC_OPT_INCLUDE="-I "
FC_OPT_OTHERS=" "
#
LK_NAM="g95"
#LK_OPT_NORMAL="   "
LK_OPT_NORMAL=" -fendian=big -v  -lm "
LK_OPT_OUTNAME=" -o "
LK_OPT_DEBUG=" "
LK_OPT_PROFILE=" -pg "
LK_OPT_OTHERS=" "
#IF MED AND HDF5
#LK_LIB_SPECIAL=" <TELEMAC_HOME>/MED/<DIRLIB>/lib/libmed.a <TELEMAC_HOME>/HDF5/<DIRLIB>/lib/libhdf5.a "
LK_LIB_SPECIAL="  "
#
LIB_NAM=ar
LIB_OPT_LIBEXT="lib "
LIB_OPT_OUTNAME="cru "
LIB_OPT_OTHERS=
LIB_RANLIB="ranlib"
#
RUN_DEBUG="gdb "
RUN_PROFILE=
# in Telemac distribution   MPI NOT TESTED WITH G95
FC_MPI="g95 "
LK_MPI="G95 -fendian=big -v  -lm  "
LIBS_MPI="<TELEMAC_HOME>\mpi\<DIRLIB>\lib\mpich.lib"
RUN_MPI="mpirun -localonly <N> <EXE>"
#
#-------------------------------------------------------------------------------------
#
# IF YOU WANT TO USE ARTEMIS// PLEASE UNCOMMENT INCDIRMUMPS AND LIBSMUMPSPAR
#
# 1 FILL BELOW THE LOCATION OF YOUR MUMPS INCLUDE DIRECTORY (INCDIRMUMPS =...)
#INCDIRMUMPS  = /home/denis/MUMPS_4.9.0/include
#LIBMUMPSPAR="/home/telemac/mumpsmpi/mumpsmpi_<VERSARTE>/<HOSTTYPE>/mumpsmpi<VERSARTE>.a -L/home/denis/MUMPS_4.9.0/lib/ -ldmumps  -lmumps_common -lpord  -L/home/logiciels/intel/mkl/10.2.1.017/lib/em64t  -lmkl_scalapack_lp64 -lmkl_blacs_ilp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lguide -static-intel /home/logiciels/metis-4.0/lib/libmetis.a -L/home/denis/scotch_5.1_esmumps/lib  -lesmumps -lscotch -lscotcherr -lm"
#LIBMUMPSSEQ="/home/telemac/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a"
#
#--------------------------------------------------------------------------------------
#
# IF YOU DO NOT WANT USE ARTEMIS// MUMPS LIBRARY IS NOT NECESSARILY
#
# SO UNCOMMENT THE FOLLOWING STATEMENT AND WRITE THE LOCATION OF MUMPSVOID_<VERSARTE>.A LIBRARY
#
# SHOULD BE <PROJECT>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a
#
LIBMUMPSPAR="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.lib"
LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.lib"
#
#_END__________________________________________________________________________
#

For information, the same part in the Python version looks like this:
# _____                     ________________________________________
# ____/ windows g95 scalar /_______________________________________/
[wing95s]
#
root:       C:\opentelemac\v6p0r8
version:    v6p1
language:   2
modules:    update system
options:
#
cmd_obj:    g95 -c -fendian=big -ffixed-line-length-132 <mods> <incs> <f95name>
cmd_lib:    ar cru <libname> <objs>
cmd_exe:    g95 -fendian=big -std=f95 -v  -lm -o <exename> <objs> <libs>
#
mods_all:   -I <config>
#
sfx_zip:    .zip
sfx_lib:    .lib
sfx_obj:    .o
sfx_mod:    .mod
sfx_exe:    .exe
#

Hope this helps.

Sébastien.
The administrator has disabled public write access.
Moderators: borisb

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