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

TOPIC: telemac linux installation

telemac linux installation 13 years 8 months ago #1200

  • Telelinux
  • Telelinux's Avatar
Dear all,

I have a problem to install Telemac under linux (ubuntu).
Everyhting is ok until compiling the whole system using the command makeall90 or makepar90.

Here the following message that I received
"
Repertoire 'artemis/arte_v6p0/sources_gFortran' inexistant
/bin/sh: cannot open PROJECT: No such file
make: *** [artemisv6p0_MP.exe] Erreur 2"


and so one for each reportory...bief,...

Indeed, this repertory does not exist but there exists the sources repertory.

For informations, I noticed the HostType = gFortran which is the configuration more suitable for my computer system.
I think it is linked but I don't knwon HOW...

Any idea?

Thanks for all,

Yours sincerely.
The administrator has disabled public write access.

Re:telemac linux installation 13 years 8 months ago #1201

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

Are you sure to follow all the steps described in the document "Installation _Telemac_Unix-Linux-Windows_V6P0"?

The Perl script Makeall90 contains only the description of directories .../.../sources without _gFortran extension.

Maybe you had a problem with the systel.ini configuration

Best regards
Christophe
The administrator has disabled public write access.

Re:telemac linux installation 13 years 8 months ago #1202

  • Telelinux
  • Telelinux's Avatar
Hello Telemac!

Thanks for your answers.
yes, I follow all the instructions of the document.

You're right, I think the problem stems from the systel.ini, more exactly, from HOSTYPE but I don't understand why...
I just modify

#
Directory: where the Telemac system is installed

#

PROJECT=/home/bouharg/TELEMAC

#

#
Platform: namely a combination machine+compiler

#

HOSTTYPE=gFortran

#

#
Perl : paths to interpreter (bin) and modules (lib)

#

[PERL]

PERLPATH=/usr/bin/

PERL5LIB=/usr/lib/


with gFortran

#

#

#

#
Linux debian GFORTRAN + MPICH

[gFortran]

DIRLIB=gFortran

# Options du compilateur GNU

FC_NAM="gfortran"

FC_OPT_OBJEXT="o"

FC_OPT_COMPIL=" -c -O3 -fconvert=big-endian -frecord-marker=4"

FC_OPT_DEBUG=" -c "

FC_OPT_PROFILE=" -O3 -c "

FC_OPT_INCLUDE="-I "

FC_OPT_OTHERS=" "

#

LK_NAM="gfortran"

LK_OPT_NORMAL=" -fconvert=big-endian -frecord-marker=4 -v -lm -lz -lstdc++ "

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 "

#

LIB_NAM=ar

LIB_OPT_LIBEXT="a"

LIB_OPT_OUTNAME="cru"

LIB_OPT_OTHERS=

LIB_RANLIB="ranlib"

#

RUN_DEBUG="gdb "

RUN_PROFILE=

# in Telemac distribution

FC_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 "

LK_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 -o <EXE> <OBJS> <LIBS> "

LIBS_MPI="-L <TELEMAC_HOME>/mpi/<DIRLIB>/lib -lmpich -lpthread -lstdc++ -lz "

RUN_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpirun -machinefile mpirun.txt -np <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 = <TELEMAC_HOME>/MUMPS_4.9.0/include

#LIBMUMPSPAR="to be filled, example under intel_64_10"

#LIBMUMPSSEQ="<TELEMAC_HOME>/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.a"

LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a"

#

#_END___________________________________________________

Regards.
The administrator has disabled public write access.

Re:telemac linux installation 13 years 8 months ago #1203

  • Telelinux
  • Telelinux's Avatar
Hello Telemac!

Thanks for your answers.
yes, I follow all the instructions of the document.

You're right, I think the problem stems from the systel.ini, more exactly, from HOSTYPE but I don't understand why...
I just modify

#
Directory: where the Telemac system is installed

#

PROJECT=/home/bouharg/TELEMAC

#

#
Platform: namely a combination machine+compiler

#

HOSTTYPE=gFortran

#

#
Perl : paths to interpreter (bin) and modules (lib)

#

[PERL]

PERLPATH=/usr/bin/

PERL5LIB=/usr/lib/


with gFortran

#

#

#

#
Linux debian GFORTRAN + MPICH

[gFortran]

DIRLIB=gFortran

# Options du compilateur GNU

FC_NAM="gfortran"

FC_OPT_OBJEXT="o"

FC_OPT_COMPIL=" -c -O3 -fconvert=big-endian -frecord-marker=4"

FC_OPT_DEBUG=" -c "

FC_OPT_PROFILE=" -O3 -c "

FC_OPT_INCLUDE="-I "

FC_OPT_OTHERS=" "

#

LK_NAM="gfortran"

LK_OPT_NORMAL=" -fconvert=big-endian -frecord-marker=4 -v -lm -lz -lstdc++ "

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 "

#

LIB_NAM=ar

LIB_OPT_LIBEXT="a"

LIB_OPT_OUTNAME="cru"

LIB_OPT_OTHERS=

LIB_RANLIB="ranlib"

#

RUN_DEBUG="gdb "

RUN_PROFILE=

# in Telemac distribution

FC_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 "

LK_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 -o <EXE> <OBJS> <LIBS> "

LIBS_MPI="-L <TELEMAC_HOME>/mpi/<DIRLIB>/lib -lmpich -lpthread -lstdc++ -lz "

RUN_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpirun -machinefile mpirun.txt -np <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 = <TELEMAC_HOME>/MUMPS_4.9.0/include

#LIBMUMPSPAR="to be filled, example under intel_64_10"

#LIBMUMPSSEQ="<TELEMAC_HOME>/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.a"

LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a"

#

#_END___________________________________________________

Regards.
The administrator has disabled public write access.

Re:telemac linux installation 13 years 8 months ago #1205

  • Telelinux
  • Telelinux's Avatar
Hello Telemac!

Thanks for your answers.
I think the button REPLY does not work because I send a message one hour ago...
anyway..

Yes, I think I follow all the steps excepted the steps which concern the parallelism because I'm not interested in parallelism.

You're right the problem seems to stem from the systel.ini.
But I don't understand where I made a mistake.

It is looking for a repertory ****/sources_gFortran,
which doesn't exist.

Regards.
The administrator has disabled public write access.

Re:telemac linux installation 13 years 8 months ago #1206

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

The PROJECT variable has not been set :
- Check systel.ini
- Or, you didn't validate modifications of systel.ini with the cfgmak command.

Regards,

Fabien
The administrator has disabled public write access.

Re:telemac linux installation 13 years 8 months ago #1210

  • Telelinux
  • Telelinux's Avatar
Thanks Fabien!

I restarted the installation process and I have similar problems.
I modified as follows:


#
Directory: where the Telemac system is installed
#
PROJECT=/home/bouharg/TELEMAC
#
#
Platform: namely a combination machine+compiler
#
HOSTTYPE=gFortran
#
#
Perl : paths to interpreter (bin) and modules (lib)
#
[PERL]
PERLPATH=/usr/bin/
PERL5LIB=/usr/lib/

[gFortran]
DIRLIB=gFortran
# Options du compilateur GNU
FC_NAM="gfortran"
FC_OPT_OBJEXT="o"
FC_OPT_COMPIL=" -c -O3 -fconvert=big-endian -frecord-marker=4"
FC_OPT_DEBUG=" -c "
FC_OPT_PROFILE=" -O3 -c "
FC_OPT_INCLUDE="-I "
FC_OPT_OTHERS=" "
#
LK_NAM="gfortran"
LK_OPT_NORMAL=" -fconvert=big-endian -frecord-marker=4 -v -lm -lz -lstdc++ "
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 "
#
LIB_NAM=ar
LIB_OPT_LIBEXT="a"
LIB_OPT_OUTNAME="cru"
LIB_OPT_OTHERS=
LIB_RANLIB="ranlib"
#
RUN_DEBUG="gdb "
RUN_PROFILE=
# in Telemac distribution
#FC_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 "
#LK_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 -o <EXE> <OBJS> <LIBS> "
#LIBS_MPI="-L <TELEMAC_HOME>/mpi/<DIRLIB>/lib -lmpich -lpthread -lstdc++ -lz "
#RUN_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpirun -machinefile mpirun.txt -np <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 = <TELEMAC_HOME>/MUMPS_4.9.0/include
#LIBMUMPSPAR="to be filled, example under intel_64_10"
#LIBMUMPSSEQ="<TELEMAC_HOME>/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="/home/bouharg/TELEMAC/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a"
LIBMUMPSSEQ="/home/bouharg/TELEMAC/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a"
#
#_END__________________________________________________________________________


Next, I used the command (fromdos) cfgmak and until now everything is ok.
When I compile using makeall90, here some errors:

/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [artemisv6p0.exe] Erreur 1
===== /home/bouharg/TELEMAC/artemis/arte_v6p0/sources : maktel install

Repertoire 'stbtel/stbtel_v6p0/sources_gFortran' inexistant
Repertoire 'stbtel/stbtel_v6p0/sources' inexistant ! (Ignore)
Repertoire 'tomawac/toma_v6p0/sources_gFortran' inexistant


I have two questions:
* MPI and Parrallel repertories are required for installation?
* If yes, where I can find the MPI repertory?

Thanks all !

Best.
The administrator has disabled public write access.

Re:telemac linux installation 13 years 8 months ago #1247

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

1/ Please suppress -lz from the LK_OPT_NORMAL line, it will solve your linking problem. Don't forget to apply changes with cfgmak.
You can launch makeall90 or compile manually the remaining directories (artemis for instance) with maktel install.

[ PS : -lz is only needed when compiling with the MED library (external format file) and not really standard on Linux. ]

2/ Although it is not clear, messages like "'stbtel/stbtel_v6p0/sources_gFortran' inexistant" are normal. At this step, the (telemac) system is checking if user fortran files are available.
The administrator has disabled public write access.

Re:telemac linux installation 13 years 8 months ago #1249

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Ooops.

MPI is not required for sequential use of the TELEMAC system. Parallel library is used for wrapping the MPI functions.
However, this is one of the most interesting features.

Regards,

Fabien
The administrator has disabled public write access.

Re:telemac linux installation 13 years 8 months ago #1264

  • Chris Cawthorn
  • Chris Cawthorn's Avatar
If you'd rather not remove the dependence on zlib (whose absence is causing the problem with -lz), you can install it on Ubuntu (or, I suppose, any linux system with Aptitude) with the command
$ sudo apt-get install zlib1g-dev

As Fabien says, you can live without zlib, but it's not too hard to get it if you find that you need to use the MED library.
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.