Welcome, Guest
Username: Password: Remember me

TOPIC: Problem with compilation of v7p2r0 (reading bief.f module)

Problem with compilation of v7p2r0 (reading bief.f module) 3 years 7 months ago #38133

  • A-MOUTON
  • A-MOUTON's Avatar
Hi all,

I am trying to install Telemac from sources and I encounter some difficulties which I do not understand. I tried to install the version v7p2r0.

My laptop configuration:
ubuntu 20.04.2
gfortran 9.3.0
openmpi 4.0.3
Metis, Mumps, Med... are installed from the Ubuntu repositories with apt.

My configuration template:
# Path to telemac root dir
export HOMETEL=/home/mouton/ext/telemac-mascaret
# Adding python scripts to PATH
export PATH=$HOMETEL/scripts/python27:.:$PATH
# Path to this file
export SOURCEFILE=$HOMETEL/configs/pysource.template.sh
# Configuration file
export SYSTELCFG=$HOMETEL/configs/systel.cis-ubuntu.cfg
# Name of the configuration to use
export USETELCFG=ubugfortransdbg
### Python
# To force python to flush its output
export PYTHONUNBUFFERED='true'
### API
export PYTHONPATH=$HOMETEL/scripts/python27:$PYTHONPATH
export LD_LIBRARY_PATH=$HOMETEL/builds/$USETELCFG/wrap_api/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$HOMETEL/builds/$USETELCFG/wrap_api/lib:$PYTHONPATH

The file systel.cis-ubuntu.cfg:
# _____                              _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
#    space delimited list of active configurations
#
[Configurations]
configs:    ubugfortrans ubugfmpich2 ubugfortransdbg
#
# _____          ___________________________________________________
# ____/ GENERAL /__________________________________________________/
[general]
version:    v7p2r0
modules:    system
#
cmd_lib:    ar cru <libname> <objs>
#
mods_all:   -I <config>
#
sfx_zip:    .gztar
sfx_lib:    .a
sfx_obj:    .o
sfx_mod:    .mod
sfx_exe:
#
root:       /home/mouton/ext/telemac-mascaret
val_root:   <root>/examples
val_rank:   all
# also possible val_rank:   <3 >7 6
cmd_obj_c: gcc -c <srcName> -o <objName>
#
# _____                         ____________________________________
# ____/ Ubuntu gfortran mpich2 /___________________________________/
[ubugfmpich2]
#
brief: parallel mode, using mpiexec directly (of the MPICH2 package).
       The only difference with the scalar versions (optimised) is the presence
       of the key mpi_cmdexec and the -DHAVE_MPI compilation directive.
       Of course, you also need the key par_cmdexec.
       Finally, note that this configuration also works whether
       processor is 0 or 1.
#
mpi_cmdexec:   /usr/bin/mpiexec -wdir <wdir> -n <ncsize> <exename>
#
cmd_obj:    gfortran -c -g -fbounds-check -Wall -fbacktrace -finit-real=nan -DHAVE_MPI -DHAVE_MUMPS -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_exe:    /usr/bin/mpif90 -fconvert=big-endian -frecord-marker=4 -v -lm -o <exename> <objs>  <libs>
#
incs_all:  -I /usr/lib/mpich/include/ -I /home/telemac/mumps/MUMPS_5.0.0/include/
libs_all:  /usr/lib/x86_64-linux-gnu/libmpich.so  -L /home/telemac/mumps/MUMPS_5.0.0/lib -ldmumps -lmumps_common -lpord /home/telemac/mumps/SCALAPACK/libscalapack.a -L /home/telemac/mumps/BLAS-3.5.0 /home/telemac/mumps/BLAS-3.5.0/blas_LINUX.a /home/telemac/mumps/BLACS/LIB/blacs_MPI-LINUX-0.a /home/telemac/mumps/BLACS/LIB/blacsF77init_MPI-LINUX-0.a /home/telemac/mumps/BLACS/LIB/blacs_MPI-LINUX-0.a -lpthread /home/telemac/metis-5.0.2/libmetis.a
#
# _____                    _________________________________________
# ____/ Other Definitions /________________________________________/
#
#
# ____/ Ubuntu gfortran scalar /___________________________________/
[ubugfortrans]
#
brief: scalar mode, Fortran optimisation 3.
   TELEMAC will work whether processor is 0 or 1
#
cmd_obj:    gfortran -c -O3 -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_exe:    gfortran -fconvert=big-endian -frecord-marker=4 -v -o <exename> <objs> <libs>
#
#
# ____/ Ubuntu gfortran scalar debug/______________________________/
[ubugfortransdbg]
#
brief: scalar mode, Fortran debug mode.
   TELEMAC will work whether processor is 0 or 1
#
cmd_obj:    gfortran -c -g -fbounds-check -Wall -fbacktrace -finit-real=nan -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_exe:    gfortran -fconvert=big-endian -frecord-marker=4 -v -o <exename> <objs> <libs>
#
#
# _____                     ________________________________________
# ____/ End of Definitions /_______________________________________/
#

Then I move to the directory /home/mouton/ext/telemac-mascaret/scripts/python27, then source the .sh file above, and finally execute config.py and compileTELEMAC.py with Python-Anaconda 2... and get these errors:
blablabla...

   - completed: .../telemac-mascaret/sources/utils/bief/bief_def.f             
   - completed: .../telemac-mascaret/sources/utils/hermes/open_bnd.f           
   - completed: .../telemac-mascaret/sources/utils/hermes/get_bnd_ipobo.f      
   - completed: .../telemac-mascaret/sources/utils/hermes/get_mesh_connectivity.f
   - completed: .../telemac-mascaret/sources/utils/hermes/get_bnd_value.f      
   - completed: .../telemac-mascaret/sources/utils/bief/bief.f                 
f951: Fatal Error: Reading module ‘bief’ at line 1128 column 33: Unexpected EOF
compilation terminated.
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\         ]  86%  | 1s

Hummm ... I could not complete my work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compileTELEMAC::createObjFiles:
      +> failed: gfortran -c -g -fbounds-check -Wall -fbacktrace -finit-real=nan -fconvert=big-endian -frecord-marker=4  -I /home/mouton/ext/telemac-mascaret/builds/ubugfortransdbg/lib/utils/special  -I /home/mouton/ext/telemac-mascaret/builds/ubugfortransdbg/lib/utils/hermes  -I /home/mouton/ext/telemac-mascaret/builds/ubugfortransdbg/lib/utils/bief  -I /home/mouton/ext/telemac-mascaret/builds/ubugfortransdbg/lib/utils/splitsel   /home/mouton/ext/telemac-mascaret/sources/utils/bief/corrxy.f
... The following command failed for the reason above (or below)
gfortran -c -g -fbounds-check -Wall -fbacktrace -finit-real=nan -fconvert=big-endian -frecord-marker=4  -I /home/mouton/ext/telemac-mascaret/builds/ubugfortransdbg/lib/utils/special  -I /home/mouton/ext/telemac-mascaret/builds/ubugfortransdbg/lib/utils/hermes  -I /home/mouton/ext/telemac-mascaret/builds/ubugfortransdbg/lib/utils/bief  -I /home/mouton/ext/telemac-mascaret/builds/ubugfortransdbg/lib/utils/splitsel   /home/mouton/ext/telemac-mascaret/sources/utils/bief/corrxy.f:

I tried various configurations, with and without MPI (OpenMPI or MPICH), with another Fortran compiler... but I always get such compilation error. I think I have missed something but I do not see where my mistake could be. Any help will be appreciated to fullfill this installation.

Best regards,


A. M.
The administrator has disabled public write access.

Problem with compilation of v7p2r0 (reading bief.f module) 3 years 7 months ago #38134

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

Why installing such old version!
The official version is v8p2 so it's probably better to try to compile this one instead of the old one.

Assistance is mainly delivered on the official version!

Regards
Christophe
The administrator has disabled public write access.

Problem with compilation of v7p2r0 (reading bief.f module) 3 years 7 months ago #38135

  • A-MOUTON
  • A-MOUTON's Avatar
Hi Christophe,

I also tried with v8p2 and I got a similar problem with another module... In fact, I tried with all versions since v6p3 and none of them successfully compiled.

Here are the configuration files I used for v8p2:

pysource.template.sh
# Path to telemac root dir
export HOMETEL=/home/mouton/ext/telemac-mascaret
# Adding python scripts to PATH
export PATH=$HOMETEL/scripts/python3:.:$PATH
# Configuration file
export SYSTELCFG=$HOMETEL/configs/systel.cis-debian.cfg
# Name of the configuration to use
export USETELCFG=debgfopenmpi
# Path to this file
export SOURCEFILE=$HOMETEL/configs/pysource.template.sh
### Python
# To force python to flush its output
export PYTHONUNBUFFERED='true'
### API
export PYTHONPATH=$HOMETEL/scripts/python3:$PYTHONPATH
export LD_LIBRARY_PATH=$HOMETEL/builds/$USETELCFG/wrap_api/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$HOMETEL/builds/$USETELCFG/wrap_api/lib:$PYTHONPATH
###
### COMPILERS -----------------------------------------------------------
###
# Here are a few examples for external libraries
#export SYSTEL=/data/projets/projets.002/systel.002

### MPI -----------------------------------------------------------
export MPIHOME=/usr/lib/x86_64-linux-gnu


systel.cis-debian.cfg:
# _____                              _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs:    debgfortrans debgfopenmpi debgfortransdbg
#
[general]
modules:    system
#
mods_all:   -I <config>
#
sfx_zip:    .gztar
sfx_lib:    .a
sfx_obj:    .o
sfx_mod:    .mod
sfx_exe:
#
root:       /home/mouton/ext/telemac-mascaret
val_root:   <root>/examples
val_rank:   all
# also possible val_rank:   <3 >7 6
#
cmd_obj_c: gcc -c <srcName> -o <objName>

# _____                         ____________________________________
# ____/ Debian gfortran scalar /___________________________________/
[debgfortrans]
#
cmd_obj:    gfortran -c -O3 -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib:    ar cru <libname> <objs>
cmd_exe:    gfortran -fconvert=big-endian -frecord-marker=4 -v -o <exename> <objs> <libs>
#
# _____                               ____________________________________
# ____/ Debian gfortran scalar debug /___________________________________/
[debgfortransdbg]
#
cmd_obj:    gfortran -c -g -fbounds-check -Wall -fbacktrace -finit-real=nan -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib:    ar cru <libname> <objs>
cmd_exe:    gfortran -fconvert=big-endian -frecord-marker=4 -v -o <exename> <objs> <libs>
#
# _____                          ___________________________________
# ____/ Debian gfortran openMPI /__________________________________/
[debgfopenmpi]
#
par_cmdexec:   <config>/partel < PARTEL.PAR >> <partel.log>
#
mpi_cmdexec:   /usr/bin/mpiexec -wdir <wdir> -n <ncsize> <exename>
mpi_hosts:
#
cmd_obj:    /usr/bin/mpif90 -c -O3 -DHAVE_MPI -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib:    ar cru <libname> <objs>
cmd_exe:    /usr/bin/mpif90 -fconvert=big-endian -frecord-marker=4 -lpthread -v -lm -o <exename> <objs> <libs>
#
mods_all:   -I <config>
#
#libs_all:    /usr/lib64/openmpi/lib/libmpi.so.0.0.2 /home/telemac/metis-5.0.2/build/Linux-x86_64/libmetis/libmetis.a
#
# _____                                ___________________________________
# ____/ Debian gfortran openMPI debug /__________________________________/
[debgfopenmpidbg]
#
par_cmdexec:   <config>/partel < PARTEL.PAR >> <partel.log>
#
mpi_cmdexec:   /usr/bin/mpiexec -wdir <wdir> -n <ncsize> <exename>
mpi_hosts:
#
cmd_obj:    /usr/bin/mpif90 -c -g -fbounds-check -Wall -fbacktrace -finit-real=nan -DHAVE_MPI -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib:    ar cru <libname> <objs>
cmd_exe:    /usr/bin/mpif90 -fconvert=big-endian -frecord-marker=4 -lpthread -v -lm -o <exename> <objs> <libs>
#
mods_all:   -I <config>
#
incs_all:  -I /usr/include/mpi/
libs_all:  /usr/lib64/openmpi/lib/libmpi.so.0.0.2 /home/telemac/metis-5.0.2/build/Linux-x86_64/libmetis/libmetis.a
#


and the log:
debgfopenmpi: 
    
    +> root:    /home/mouton/ext/telemac-mascaret
    +> module: ad / api / artemis / bief
               damocles  / gaia  / gretel  / hermes
               identify_liq_bnd  / khione  / mascaret  / nestor
               parallel  / partel  / postel3d  / sisyphe
               special  / stbtel  / telemac2d  / telemac3d
               tomawac / waqtel


Compiling from the tree top api plus dependents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        +> Compile / Assemble / Link
    - completed: .../telemac-mascaret/sources/utils/special/declarations_special.F
    - completed: .../telemac-mascaret/sources/utils/special/check_allocate.f   
    - completed: .../telemac-mascaret/sources/utils/special/check_call.f       
    - completed: .../telemac-mascaret/sources/utils/special/get_free_id.f      
    - completed: .../telemac-mascaret/sources/utils/special/gracestop.f        
    - completed: .../telemac-mascaret/sources/utils/special/read_ref_date.f    
    - completed: .../telemac-mascaret/sources/utils/special/get_nodes_per_element.f
    - completed: .../telemac-mascaret/sources/utils/special/write_error.f      
    - completed: .../telemac-mascaret/sources/utils/special/plante.F           
    - completed: .../telemac-mascaret/sources/utils/special/blanc2uscore.f     
    - completed: .../telemac-mascaret/sources/utils/special/sumtwo.f           
    - completed: .../telemac-mascaret/sources/utils/damocles/declarations_damocles.f
    - completed: .../telemac-mascaret/sources/utils/damocles/majus.f           
    - completed: .../telemac-mascaret/sources/utils/special/skip_comment_line.f
    - completed: .../telemac-mascaret/sources/utils/special/print_header.f     
    - completed: .../telemac-mascaret/sources/utils/special/extens.f           
    - completed: .../telemac-mascaret/sources/utils/damocles/precar.f          
    - completed: .../telemac-mascaret/sources/utils/damocles/next.f            
    - completed: .../telemac-mascaret/sources/utils/damocles/longlu.f          
    - completed: .../telemac-mascaret/sources/utils/damocles/aidelu.f          
/home/mouton/ext/telemac-mascaret/sources/utils/damocles/carlu.f:201:0:

  201 |               LIGNED = LIGNE2(1:ICOL2)
      | 
Warning: ‘__builtin_memcpy’ reading 250 bytes from a region of size 72 [-Wstringop-overflow=]
/home/mouton/ext/telemac-mascaret/sources/utils/damocles/carlu.f:217:0:

  217 |               LIGNED = LIGNE2(1:LONGLI)
      | 
Warning: ‘__builtin_memcpy’ reading 250 bytes from a region of size 72 [-Wstringop-overflow=]
/home/mouton/ext/telemac-mascaret/sources/utils/damocles/carlu.f:326:0:

  326 |             LIGNED = LIGNE2(1:ICOL2-1)
      | 
Warning: ‘__builtin_memcpy’ reading 250 bytes from a region of size 72 [-Wstringop-overflow=]
    - completed: .../telemac-mascaret/sources/utils/damocles/preval.f          
    - completed: .../telemac-mascaret/sources/utils/damocles/classe.f          
    - completed: .../telemac-mascaret/sources/utils/damocles/dico.f            
    - completed: .../telemac-mascaret/sources/utils/damocles/carlu.f           
    - completed: .../telemac-mascaret/sources/utils/damocles/influ.f           
    - completed: .../telemac-mascaret/sources/utils/damocles/intlu.f           
    - completed: .../telemac-mascaret/sources/utils/damocles/cmd.f             
    - completed: .../telemac-mascaret/sources/utils/damocles/prev.f            
    - completed: .../telemac-mascaret/sources/utils/parallel/declarations_parallel.F
    - completed: .../telemac-mascaret/sources/utils/damocles/damocle.f         
    - completed: .../telemac-mascaret/sources/utils/damocles/damoc.f           
    - completed: .../telemac-mascaret/sources/utils/damocles/realu.f           
    - completed: .../telemac-mascaret/sources/utils/damocles/loglu.f           
f951: Fatal Error: Reading module ‘declarations_parallel’ at line 1616 column 20: Unexpected EOF
compilation terminated.
Traceback (most recent call last):
  File "compile_telemac.py", line 143, in <module>
    main()
  File "compile_telemac.py", line 129, in main
    compile_cmdf(options.ncsize, modules, options.verbose)
  File "/home/mouton/ext/telemac-mascaret/scripts/python3/compilation/compil_tools.py", line 1280, in compile_cmdf
    '\n        +> failed: ' + file_name + '\n' + err)
utils.exceptions.TelemacException: 
        +> failed: .../telemac-mascaret/sources/utils/parallel/p_dmax.F
... The following command failed for the reason in the listing
/usr/bin/mpif90 -c -O3 -DHAVE_MPI -fconvert=big-endian -frecord-marker=4  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/utils/special  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/utils/damocles  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/utils/parallel  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/utils/hermes  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/utils/bief  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/nestor  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/utils/ad  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/sisyphe  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/tomawac  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/khione  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/waqtel  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/gaia  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/telemac2d  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/utils/gretel  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/utils/partel  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/telemac3d  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/artemis  -I /home/mouton/ext/telemac-mascaret/builds/debgfopenmpi/obj/api   /home/mouton/ext/telemac-mascaret/sources/utils/parallel/p_dmax.F
f951: Fatal Error: Reading module ‘declarations_parallel’ at line 1616 column 20: Unexpected EOF
compilation terminated.
The administrator has disabled public write access.

Problem with compilation of v7p2r0 (reading bief.f module) 3 years 7 months ago #38136

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Strange to find reference to g951 when you use gfortran...
Probably due to the use of anaconda...
There is some discussion on such problems in the forum you could probably fond with the search capabilities.

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

Problem with compilation of v7p2r0 (reading bief.f module) 3 years 7 months ago #38137

  • A-MOUTON
  • A-MOUTON's Avatar

File Attachment:

File Name: systel.cis-debian.cfg
File Size: 3 KB



I deactivated Anaconda and went back to native Python:
mouton@mouton-Latitude-5480:~/ext/telemac-mascaret/scripts/python3$ which python
/usr/bin/python
mouton@mouton-Latitude-5480:~/ext/telemac-mascaret/scripts/python3$ python --version
Python 3.7.6
mouton@mouton-Latitude-5480:~/ext/telemac-mascaret/scripts/python3$ which f2py
/usr/local/bin/f2py

I also moved to a serial build in order to bypass the possible difficulties with MPI... and the problem remains. To be honest, I really do not understand what is happening :huh: (see attachments)

# This file is a template for a Linux environment file
# running "source pysource.template.sh" will position all
# the necessary environment variables for telemac
# To adapt to your installation replace word <word> by their local value
###
### TELEMAC settings -----------------------------------------------------------
###
# Path to telemac root dir
export HOMETEL=/home/mouton/ext/telemac-mascaret
# Adding python scripts to PATH
export PATH=$HOMETEL/scripts/python3:.:$PATH
# Configuration file
export SYSTELCFG=$HOMETEL/configs/systel.cis-debian.cfg
# Name of the configuration to use
export USETELCFG=debgfortrans
# Path to this file
export SOURCEFILE=$HOMETEL/configs/pysource.template.sh
### Python
# To force python to flush its output
export PYTHONUNBUFFERED='true'
### API
export PYTHONPATH=$HOMETEL/scripts/python3:$PYTHONPATH
export LD_LIBRARY_PATH=$HOMETEL/builds/$USETELCFG/wrap_api/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$HOMETEL/builds/$USETELCFG/wrap_api/lib:$PYTHONPATH
###
### COMPILERS -----------------------------------------------------------
###
# Here are a few examples for external libraries
#export SYSTEL=/data/projets/projets.002/systel.002

### MPI -----------------------------------------------------------
#export MPIHOME=/usr/lib/x86_64-linux-gnu
#export PATH=$MPIHOME/bin:$PATH
#export LD_LIBRARY_PATH=$MPIHOME/lib:$LD_LIBRARY_PATH
###
### EXTERNAL LIBRARIES -----------------------------------------------------------
###
### HDF5 -----------------------------------------------------------
#export HDF5HOME=$SYSTEL/LIBRARY/hdf5-1.8.14/arch/C9
#export LD_LIBRARY_PATH=$HDF5HOME/lib:$LD_LIBRARY_PATH
#export LD_RUN_PATH=$HDF5HOME/lib:$MEDHOME/lib:$LD_RUN_PATH
### MED  -----------------------------------------------------------
#export MEDHOME=$SYSTEL/LIBRARY/med-3.2.0/arch/C9
#export LD_LIBRARY_PATH=$MEDHOME/lib:$LD_LIBRARY_PATH
#export PATH=$MEDHOME/bin:$PATH
### MUMPS -------------------------------------------------------------
#export MUMPSHOME=$SYSTEL/LIBRARY/mumps/gnu
#export SCALAPACKHOME=$SYSTEL/LIBRARY/scalapack/gnu
#export BLACSHOME=$SYSTEL/LIBRARY/blacs/gnu
### METIS -------------------------------------------------------------
#export METISHOME=$SYSTEL/LIBRARY/metis-5.1.0/arch/C9
#export LD_LIBRARY_PATH=$METISHOME/lib:$LD_LIBRARY_PATH
The administrator has disabled public write access.

Problem with compilation of v7p2r0 (reading bief.f module) 3 years 7 months ago #38139

  • A-MOUTON
  • A-MOUTON's Avatar

File Attachment:

File Name: log_compilation.txt
File Size: 64 KB

I forgot the compilation log file (see attachments).
The administrator has disabled public write access.

Problem with compilation of v7p2r0 (reading bief.f module) 3 years 7 months ago #38148

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

The configuration file systel.cis-debian.cfg is not really up to date.

For an Ubuntu or Debian computer, I would recommend you to start from the systel.edf.cfg, e.g. with the S9.gfortran.dyn config
Maybe you will have to adapt it a little bit.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

Problem with compilation of v7p2r0 (reading bief.f module) 3 years 7 months ago #38160

  • A-MOUTON
  • A-MOUTON's Avatar
Thanks all for your advice... however, I still get some some errors for the compilation.

As suggested by Chi-Tuan, I moved to the file systel.edf.cfg and chose S9.gfortran.dyn configuration. I corrected it in order to build Telemac with as few dependencies as possible (serial compilation, no AED, no GOTM, no MED)... but the problem remains with the compilation of bief.f. See the files below.

Is it possible that the problem come from the preprocessing step ? I am not so familiar with the subtleties of .F and .f file formats.

----
The python template:
# This file is a template for a Linux environment file
# running "source pysource.template.sh" will position all
# the necessary environment variables for telemac
# To adapt to your installation replace word <word> by their local value
###
### TELEMAC settings -----------------------------------------------------------
###
# Path to telemac root dir
export HOMETEL=/home/mouton/ext/telemac-mascaret
# Adding python scripts to PATH
export PATH=$HOMETEL/scripts/python3:.:$PATH
# Configuration file
export SYSTELCFG=$HOMETEL/configs/systel.myconfig.cfg
# Name of the configuration to use
export USETELCFG=S9.gfortran.dyn
# Path to this file
export SOURCEFILE=$HOMETEL/configs/pysource.template.sh
### Python
# To force python to flush its output
export PYTHONUNBUFFERED='true'
### API
export PYTHONPATH=$HOMETEL/scripts/python3:$PYTHONPATH
export LD_LIBRARY_PATH=$HOMETEL/builds/$USETELCFG/wrap_api/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$HOMETEL/builds/$USETELCFG/wrap_api/lib:$PYTHONPATH
###
### COMPILERS -----------------------------------------------------------
###
# Here are a few examples for external libraries
#export SYSTEL=/data/projets/projets.002/systel.002

### MPI -----------------------------------------------------------
#export MPIHOME=/usr/lib/x86_64-linux-gnu
#export PATH=$MPIHOME/bin:$PATH
#export LD_LIBRARY_PATH=$MPIHOME/lib:$LD_LIBRARY_PATH
###
### EXTERNAL LIBRARIES -----------------------------------------------------------
###
### HDF5 -----------------------------------------------------------
#export HDF5HOME=$SYSTEL/LIBRARY/hdf5-1.8.14/arch/C9
#export LD_LIBRARY_PATH=$HDF5HOME/lib:$LD_LIBRARY_PATH
#export LD_RUN_PATH=$HDF5HOME/lib:$MEDHOME/lib:$LD_RUN_PATH
### MED  -----------------------------------------------------------
#export MEDHOME=$SYSTEL/LIBRARY/med-3.2.0/arch/C9
#export LD_LIBRARY_PATH=$MEDHOME/lib:$LD_LIBRARY_PATH
#export PATH=$MEDHOME/bin:$PATH
### MUMPS -------------------------------------------------------------
#export MUMPSHOME=$SYSTEL/LIBRARY/mumps/gnu
#export SCALAPACKHOME=$SYSTEL/LIBRARY/scalapack/gnu
#export BLACSHOME=$SYSTEL/LIBRARY/blacs/gnu
### METIS -------------------------------------------------------------
#export METISHOME=$SYSTEL/LIBRARY/metis-5.1.0/arch/C9
#export LD_LIBRARY_PATH=$METISHOME/lib:$LD_LIBRARY_PATH

----
The config file:
###
### See http://wiki.opentelemac.org/doku.php?id=installation_notes_2_beta
### On how to install telemac
###
# _____                              _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs: C9.gfortran.dyn C9.gfortran.debug
         S9.gfortran.dyn S9.gfortran S9.gfortran.debug
         
# _____                        ____________________________________
# ____/ General /___________________________________/
# Global declaration that are true for all the C9.* configurations
[general]
language: 2
modules:  telemac2d
version:  v8p2
#
sfx_zip:    gztar
sfx_lib:    .a
sfx_obj:    .o
sfx_mod:    .mod
sfx_exe:
#
#
val_root:   <root>/examples
#
val_rank:   all
#
mods_all:   -I <config>
ar: ar
lib_flags: cru
#
# MPI info
#
#fc: mpif90
fc: gfortran
#flags_mpi: -DHAVE_MPI
# Those are for nag.ad
#incs_mpi: -kind=byte -I/usr/lib/x86_64-linux-gnu/openmpi/include
#libs_mpi: -L/usr/lib/x86_64-linux-gnu/openmpi/lib/ -lmpi_mpif -lmpi -L/usr/lib/x86_64-linux-gnu -lopa -lmpl -lrt -lpthread
#cmd_doxygen:doxygen

#
# METIS info
#
libs_metis: -lmetis

#
# MED info
#
incs_med: -I/usr/include
flags_med: -DHAVE_MED
libs_med: -lm -lmed -lhdf5 -ldl -lstdc++ -lz

#
# MUMPS info
#
incs_mumps: -I/usr/include
flags_mumps: -DHAVE_MUMPS
libs_mumps: /usr/lib/x86_64-linux-gnu/libdmumps.a
            /usr/lib/x86_64-linux-gnu/libmumps_common.a
            /usr/lib/x86_64-linux-gnu/libpord.a
            /usr/local/ff-petsc/real/lib/libscalapack.a
            -L/usr/lib/x86_64-linux-gnu -lblas
libs_so_mumps: -ldmumps -lmumps_common -lpord -lscalapack-openmpi -lblas

#
# AED info
#
#incs_aed: -I $AEDHOME/include
#flags_aed: -DHAVE_AED2
#libs_aed: -L$AEDHOME/lib -laed2

#
# GOTM info
#
#incs_gotm: ##-I $GOTMHOME/include
#flags_gotm: ##-DHAVE_GOTM
#libs_gotm: ##-L$GOTMHOME/lib -lturbulence -lutil

#
# Gfortran info
#
fflags_gfo: -cpp -fconvert=big-endian -frecord-marker=4 -DHAVE_I16 -lgfortran
fflags_debug_gfo: -g -Wall -fcheck=all -fbacktrace -fbounds-check -finit-integer=-1 -finit-real=nan -ffpe-trap=invalid,zero,overflow -lgfortran

#
# Generic info
#

mpi_cmdexec: mpirun -np <ncsize> <exename>

cmd_obj:    [fc] -c [obj_flags] <mods> <incs> <f95name>
cmd_lib:    [ar] [lib_flags] <libname> <objs>
cmd_exe:    [fc] [exe_flags] -o <exename> <objs> <libs>

#incs_all: [incs_med] [incs_mumps] [incs_aed] [incs_gotm]
#libs_all: [libs_mumps] [libs_med] [libs_metis] [libs_aed] [libs_gotm]
incs_all: [incs_med] [incs_mumps]
libs_all: [libs_mumps] [libs_metis] -lgfortran
# Link with shared libraries
#libs_so: [libs_so_mumps] [libs_med] [libs_metis] [libs_aed] [libs_gotm]
libs_so: [libs_so_mumps] [libs_metis]
#
cmd_obj_c: gcc -c [cflags] <srcName> -o <objName>
cflags: -cpp
#
# _____          __________________________________
# ____/ Calibre9 _________________________________/
#
# Gfortran
#
[C9.gfortran.dyn]
brief: Gfortran compiler 4.9.2 with open_mpi for a debian 8 all libraries are compiled in dynamic
#options: api
#
f2py_name: f2py3
pyd_fcompiler: gnu95
sfx_lib:    .so
#
#obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm]
obj_flags: -O2 -fPIC [fflags_gfo] [flags_mumps]
lib_flags: -fPIC -shared [fflags_gfo]
#
exe_flags: -fPIC [fflags_gfo]
#
cmd_lib:    [fc] [lib_flags] -o <libname> <objs>
libs_all: [libs_so] -lgfortran
cflags: -fPIC -cpp
#
[C9.gfortran.debug]
brief: Debug mode Gfortran compiler 4.9.2 with open_mpi for a debian 8
#options: api
#
f2py_name: f2py3
pyd_fcompiler: gnu95
sfx_lib:    .so
#
#obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm]
obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mumps]
lib_flags: -fPIC -shared [fflags_gfo] [fflags_debug_gfo]
#
exe_flags: -fPIC [fflags_gfo]
libs_all: [libs_so] -lgfortran
#
cflags: -fPIC -cpp
#
cmd_lib: [fc] [lib_flags] -o <libname> <objs>
#
# _____          __________________________________
# ____/ Scibian9 _________________________________/
#
# Gfortran
#
[S9.gfortran]
brief: Gfortran compiler 6.3.2 with open_mpi for a debian 9
#options: api
#
f2py_name: f2py3
pyd_fcompiler: gnu95
sfx_lib:    .so
#
#obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm]
obj_flags: -O2 -fPIC [fflags_gfo] [flags_mumps]
lib_flags: -fPIC -shared [fflags_gfo]
#
exe_flags: -fPIC [fflags_gfo]
#
cmd_lib:    [fc] [lib_flags] -o <libname> <objs>
libs_all: [libs_so] -lgfortran
cflags: -fPIC -cpp
#
[S9.gfortran.dyn]
brief: Gfortran compiler 6.3.2 with open_mpi for a debian 9 with real dynamic compilation You need to add $HOMETEL/builds/$USETELCFG/lib to LD_LIBRARY_PATH to make it work
#options: api dyn
#
f2py_name: f2py3
pyd_fcompiler: gnu95
sfx_lib:    .so
#
#obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm]
obj_flags: -O2 -fPIC [fflags_gfo] [flags_mumps]
lib_flags: -fPIC -shared [fflags_gfo]
#
exe_flags: -fPIC [fflags_gfo]
#
cmd_lib:    [fc] [lib_flags] -o <libname> <objs> <libs>
libs_all: [libs_so] -lgfortran
cflags: -fPIC -cpp
#
[S9.gfortran.debug]
brief: Debug mode Gfortran compiler 6.3.2 with open_mpi for a debian 9
#options: api
#
f2py_name: f2py3
pyd_fcompiler: gnu95
sfx_lib:    .so
#
#obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm]
obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mumps]
lib_flags: -fPIC -shared [fflags_gfo] [fflags_debug_gfo]
#
exe_flags: -fPIC [fflags_gfo]
libs_all: [libs_so] -lgfortran
#
cflags: -fPIC -cpp
#
cmd_lib: [fc] [lib_flags] -o <libname> <objs>
#

The compilation log file --> see attached file.

File Attachment:

File Name: log_compilation_2021-04-02.txt
File Size: 30 KB
The administrator has disabled public write access.

Problem with compilation of v7p2r0 (reading bief.f module) 3 years 7 months ago #38209

  • A-MOUTON
  • A-MOUTON's Avatar
Update

I added the flag -E to the compilation rules and things seem improved... but not completely solved. Now, I have trouble with libspecial4artemis.so.

Here are the configuration files I used: compared with my previous message, I put back the following dependencies:
- OpenMPI (from Synaptic),
- AED (from sources, shared object could be built),
- MED (from Synaptic),
- METIS (from Synaptic),
- MUMPS (from Synaptic)


--- pysource.template.sh ---
# This file is a template for a Linux environment file
# running "source pysource.template.sh" will position all
# the necessary environment variables for telemac
# To adapt to your installation replace word <word> by their local value
###
### TELEMAC settings -----------------------------------------------------------
###
# Path to telemac root dir
export HOMETEL=/home/mouton/ext/telemac-mascaret
# Adding python scripts to PATH
export PATH=$HOMETEL/scripts/python3:.:$PATH
# Configuration file
export SYSTELCFG=$HOMETEL/configs/systel.myconfig.cfg
# Name of the configuration to use
export USETELCFG=C9.gfortran.dyn
# Path to this file
export SOURCEFILE=$HOMETEL/configs/pysource.template.sh
### Python
# To force python to flush its output
export PYTHONUNBUFFERED='true'
### API
export PYTHONPATH=$HOMETEL/scripts/python3:$PYTHONPATH
export LD_LIBRARY_PATH=$HOMETEL/builds/$USETELCFG/wrap_api/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$HOMETEL/builds/$USETELCFG/wrap_api/lib:$PYTHONPATH
###
### COMPILERS -----------------------------------------------------------
###
# Here are a few examples for external libraries
#export SYSTEL=/data/projets/projets.002/systel.002

### MPI -----------------------------------------------------------
#export MPIHOME=/usr/lib/x86_64-linux-gnu
#export PATH=$MPIHOME/bin:$PATH
#export LD_LIBRARY_PATH=$MPIHOME/lib:$LD_LIBRARY_PATH
###
### EXTERNAL LIBRARIES -----------------------------------------------------------
###
### HDF5 -----------------------------------------------------------
#export HDF5HOME=$SYSTEL/LIBRARY/hdf5-1.8.14/arch/C9
#export LD_LIBRARY_PATH=$HDF5HOME/lib:$LD_LIBRARY_PATH
#export LD_RUN_PATH=$HDF5HOME/lib:$MEDHOME/lib:$LD_RUN_PATH
### MED  -----------------------------------------------------------
#export MEDHOME=$SYSTEL/LIBRARY/med-3.2.0/arch/C9
#export LD_LIBRARY_PATH=$MEDHOME/lib:$LD_LIBRARY_PATH
#export PATH=$MEDHOME/bin:$PATH
### MUMPS -------------------------------------------------------------
#export MUMPSHOME=$SYSTEL/LIBRARY/mumps/gnu
#export SCALAPACKHOME=$SYSTEL/LIBRARY/scalapack/gnu
#export BLACSHOME=$SYSTEL/LIBRARY/blacs/gnu
### METIS -------------------------------------------------------------
#export METISHOME=$SYSTEL/LIBRARY/metis-5.1.0/arch/C9
#export LD_LIBRARY_PATH=$METISHOME/lib:$LD_LIBRARY_PATH



--- systel.myconfig.cfg ---
###
### See http://wiki.opentelemac.org/doku.php?id=installation_notes_2_beta
### On how to install telemac
###
# _____                              _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs: C9.gfortran.dyn C9.gfortran.debug
         S9.gfortran.dyn S9.gfortran S9.gfortran.debug
         
# _____                        ____________________________________
# ____/ General /___________________________________/
# Global declaration that are true for all the C9.* configurations
[general]
language: 2
modules:  clean system -api
version:  v8p2
#
sfx_zip:    gztar
sfx_lib:    .a
sfx_obj:    .o
sfx_mod:    .mod
sfx_exe:
#
#
val_root:   <root>/examples
#
val_rank:   all
#
mods_all:   -I <config>
ar: ar
lib_flags: cru
#
# MPI info
#
fc: mpif90.openmpi
#fc: gfortran
flags_mpi: -DHAVE_MPI
# Those are for nag.ad
incs_mpi: -I/usr/lib/x86_64-linux-gnu/openmpi/include
libs_mpi: -L/usr/lib/x86_64-linux-gnu/openmpi/lib/ -lmpi_mpif -lmpi -L/usr/lib/x86_64-linux-gnu -lopa -lmpl -lrt -lpthread
#cmd_doxygen:doxygen

#
# METIS info
#
libs_metis: -lmetis

#
# MED info
#
incs_med: -I/usr/include
flags_med: -DHAVE_MED
libs_med: -lm -lmed -lhdf5 -ldl -lstdc++ -lz

#
# MUMPS info
#
incs_mumps: -I/usr/include
flags_mumps: -DHAVE_MUMPS
libs_mumps: /usr/lib/x86_64-linux-gnu/libdmumps.a
            /usr/lib/x86_64-linux-gnu/libmumps_common.a
            /usr/lib/x86_64-linux-gnu/libpord.a
            /usr/local/ff-petsc/real/lib/libscalapack.a
            -L/usr/lib/x86_64-linux-gnu -lblas
libs_so_mumps: -ldmumps -lmumps_common -lpord -lscalapack-openmpi -lblas

#
# AED info
#
incs_aed: -I /home/mouton/ext/aed2_1.2/include
flags_aed: -DHAVE_AED2
libs_aed: -L/home/mouton/ext/aed2_1.2/libaed2.a

#
# GOTM info
#
#incs_gotm: ##-I $GOTMHOME/include
#flags_gotm: ##-DHAVE_GOTM
#libs_gotm: ##-L$GOTMHOME/lib -lturbulence -lutil

#
# Gfortran info
#
fflags_gfo: -E -cpp -fconvert=big-endian -frecord-marker=4 -DHAVE_I16 -lgfortran
fflags_debug_gfo: -E -g -Wall -fcheck=all -fbacktrace -fbounds-check -finit-integer=-1 -finit-real=nan -ffpe-trap=invalid,zero,overflow -lgfortran

#
# Generic info
#

mpi_cmdexec: mpirun -np <ncsize> <exename>

cmd_obj:    [fc] -c [obj_flags] <mods> <incs> <f95name>
cmd_lib:    [ar] [lib_flags] <libname> <objs>
cmd_exe:    [fc] [exe_flags] -o <exename> <objs> <libs>

#incs_all: [incs_med] [incs_mumps] [incs_aed] [incs_gotm]
#libs_all: [libs_mumps] [libs_med] [libs_metis] [libs_aed] [libs_gotm]
incs_all: [incs_mpi] [incs_med] [incs_mumps] [incs_aed]
libs_all: [libs_mumps] [libs_med] [libs_metis] [libs_aed] -lgfortran
# Link with shared libraries
#libs_so: [libs_so_mumps] [libs_med] [libs_metis] [libs_aed] [libs_gotm]
libs_so: [libs_so_mumps] [libs_metis] [libs_med] [libs_aed]
#
cmd_obj_c: gcc -c [cflags] <srcName> -o <objName>
cflags: -cpp
#
# _____          __________________________________
# ____/ Calibre9 _________________________________/
#
# Gfortran
#
[C9.gfortran.dyn]
brief: Gfortran compiler 4.9.2 with open_mpi for a debian 8 all libraries are compiled in dynamic
options: api utils
#
f2py_name: f2py3
pyd_fcompiler: gnu95
sfx_lib:    .so
#
#obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm]
obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed]
lib_flags: -fPIC -shared [fflags_gfo]
#
exe_flags: -fPIC [fflags_gfo]
#
cmd_lib:    [fc] [lib_flags] -o <libname> <objs>
libs_all: [libs_so] -lgfortran
cflags: -fPIC -cpp
#
[C9.gfortran.debug]
brief: Debug mode Gfortran compiler 4.9.2 with open_mpi for a debian 8
options: api utils
#
f2py_name: f2py3
pyd_fcompiler: gnu95
sfx_lib:    .so
#
#obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm]
obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed]
lib_flags: -fPIC -shared [fflags_gfo] [fflags_debug_gfo]
#
exe_flags: -fPIC [fflags_gfo]
libs_all: [libs_so] -lgfortran
#
cflags: -fPIC -cpp
#
cmd_lib: [fc] [lib_flags] -o <libname> <objs>
#
# _____          __________________________________
# ____/ Scibian9 _________________________________/
#
# Gfortran
#
[S9.gfortran]
brief: Gfortran compiler 6.3.2 with open_mpi for a debian 9
options: api utils
#
f2py_name: f2py3
pyd_fcompiler: gnu95
sfx_lib:    .so
#
#obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm]
obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed]
lib_flags: -fPIC -shared [fflags_gfo]
#
exe_flags: -fPIC [fflags_gfo]
#
cmd_lib:    [fc] [lib_flags] -o <libname> <objs>
libs_all: [libs_so] -lgfortran
cflags: -fPIC -cpp
#
[S9.gfortran.dyn]
brief: Gfortran compiler 6.3.2 with open_mpi for a debian 9 with real dynamic compilation You need to add $HOMETEL/builds/$USETELCFG/lib to LD_LIBRARY_PATH to make it work
options: api dyn utils
#
f2py_name: f2py3
pyd_fcompiler: gnu95
sfx_lib:    .so
#
#obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm]
obj_flags: -O2 -fPIC [fflags_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed]
lib_flags: -fPIC -shared [fflags_gfo]
#
exe_flags: -fPIC [fflags_gfo]
#
cmd_lib:    [fc] [lib_flags] -o <libname> <objs> <libs>
libs_all: [libs_so] -lgfortran
cflags: -fPIC -cpp
#
[S9.gfortran.debug]
brief: Debug mode Gfortran compiler 6.3.2 with open_mpi for a debian 9
options: api utils
#
f2py_name: f2py3
pyd_fcompiler: gnu95
sfx_lib:    .so
#
#obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed] [flags_gotm]
obj_flags: -c -O0 -fPIC [fflags_gfo] [fflags_debug_gfo] [flags_mpi] [flags_mumps] [flags_med] [flags_aed]
lib_flags: -fPIC -shared [fflags_gfo] [fflags_debug_gfo]
#
exe_flags: -fPIC [fflags_gfo]
libs_all: [libs_so] -lgfortran
#
cflags: -fPIC -cpp
#
cmd_lib: [fc] [lib_flags] -o <libname> <objs>
#


... and the end of the compilation log:
- completed: .../telemac-mascaret/sources/artemis/homere_artemis.f         
    - completed: .../telemac-mascaret/sources/artemis/point_artemis.f          
    - completed: .../telemac-mascaret/sources/artemis/get_tomspec_dimensions.f 
    - completed: .../telemac-mascaret/sources/artemis/allspec.f                
gfortran: error: ./declarations_special.o: Aucun fichier ou dossier de ce type
gfortran: error: ./gracestop.o: Aucun fichier ou dossier de ce type
gfortran: error: ./plante.o: Aucun fichier ou dossier de ce type
gfortran: error: ./check_allocate.o: Aucun fichier ou dossier de ce type
gfortran: error: ./write_error.o: Aucun fichier ou dossier de ce type
gfortran: error: ./check_call.o: Aucun fichier ou dossier de ce type
gfortran: error: ./get_free_id.o: Aucun fichier ou dossier de ce type
gfortran: error: ./get_nodes_per_element.o: Aucun fichier ou dossier de ce type
gfortran: error: ./sumtwo.o: Aucun fichier ou dossier de ce type
gfortran: error: ./blanc2uscore.o: Aucun fichier ou dossier de ce type
gfortran: error: ./extens.o: Aucun fichier ou dossier de ce type
gfortran: error: ./print_header.o: Aucun fichier ou dossier de ce type
Traceback (most recent call last):
  File "compile_telemac.py", line 143, in <module>
    main()
  File "compile_telemac.py", line 129, in main
    compile_cmdf(options.ncsize, modules, options.verbose)
  File "/home/mouton/ext/telemac-mascaret/scripts/python3/compilation/compil_tools.py", line 1312, in compile_cmdf
    '\n        +> failed: ' + file_name + '\n')
utils.exceptions.TelemacException: 
        +> failed: .../telemac-mascaret/builds/C9.gfortran.dyn/lib/libspecial4artemis.so
The administrator has disabled public write access.

Problem with compilation of v7p2r0 (reading bief.f module) 3 years 7 months ago #38211

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

Maybe you should start by installing TELEMAC with the minimum of number of dependencies (METIS, numpy, Fortran compiler). You can try the minimum configuration enclosed that I tried on a personal debian computer (see C9.gfortran config) and that works to run TELEMAC classical examples.
You should activate the metis environment variables (METISHOME + update the LD_LIBRARY_PATH, end of the pysource.template.sh file and give right directories).

If it is OK, you will be able to add other dependencies, but be sure that they are correctly installed with correct mode and that you give correct paths.

Hope this helps,

Chi-Tuan
Attachments:
The administrator has disabled public write access.
Moderators: borisb

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