Welcome, Guest
Username: Password: Remember me

TOPIC: there is a error in compiling v8p2r0

there is a error in compiling v8p2r0 2 years 1 month ago #41240

  • peter
  • peter's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
@z-virtual-machine:~/Telemac/v8p2r0$ python3 scripts/python3/config.py


Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_ _
| | | |
| |_ _ __ _ _ _ __ | | __
| __|| '__|| | | || '_ \ | |/ /
| |_ | | | |_| || | | || <
\__||_| \__,_||_| |_||_|\_\




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

gfortranHPC:


+> Gfortran Compile with Parallel Mode

+> root: /home/z/Telemac/v8p2r0
+> 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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



My work is done


z@z-virtual-machine:~/Telemac/v8p2r0$ python3 scripts/python3/compile_telemac.py


Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_ _
| | | |
| |_ _ __ _ _ _ __ | | __
| __|| '__|| | | || '_ \ | |/ /
| |_ | | | |_| || | | || <
\__||_| \__,_||_| |_||_|\_\




__ _ _ _ _____ _____
/ _| | | | | | || __ \ / ____|
__ _ | |_ ___ _ __ | |_ _ __ __ _ _ __ | |__| || |__) || |
/ _` || _| / _ \ | '__|| __|| '__| / _` || '_ \ | __ || ___/ | |
| (_| || | | (_) || | | |_ | | | (_| || | | || | | || | | |____
\__, ||_| \___/ |_| \__||_| \__,_||_| |_||_| |_||_| \_____|
__/ |
|___/
Scanning the source code for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

gfortranHPC:


+> Gfortran Compile with Parallel Mode

+> root: /home/z/Telemac/v8p2r0
+> 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
/home/z/Telemac/v8p2r0/sources/waqtel/fv_zones.F90:40:7:

40 | USE aed2_common
| 1
Fatal Error: Cannot read module file ‘aed2_common.mod’ opened at (1), because it was created by a different version of GNU Fortran
compilation terminated.
Traceback (most recent call last):
File "scripts/python3/compile_telemac.py", line 143, in <module>
main()
File "scripts/python3/compile_telemac.py", line 129, in main
compile_cmdf(options.ncsize, modules, options.verbose)
File "/home/z/Telemac/v8p2r0/scripts/python3/compilation/compil_tools.py", line 1279, in compile_cmdf
raise TelemacException(\
utils.exceptions.TelemacException:
+> failed: .../v8p2r0/sources/waqtel/fv_zones.F90
... The following command failed for the reason in the listing
mpif90 -c -cpp -fPIC -O2 -pthread -fopenmp -fconvert=big-endian -frecord-marker=4 -DHAVE_MPI -DHAVE_MED -DHAVE_METIS -DHAVE_AED2 -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/utils/special -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/utils/damocles -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/utils/parallel -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/utils/hermes -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/utils/bief -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/nestor -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/utils/ad -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/sisyphe -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/tomawac -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/khione -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/waqtel -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/gaia -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/telemac2d -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/utils/gretel -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/utils/partel -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/telemac3d -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/artemis -I /home/z/Telemac/v8p2r0/builds/gfortranHPC/obj/api -I /home/z/LIBRARIES/openmpi-4.0.4/include -I /home/z/LIBRARIES/metis-5.1.0/include -I /home/z/Telemac/v8p2r0/optionals/aed2 -I /home/z/Telemac/v8p2r0/optionals/aed2/include -I /home/z/LIBRARIES/med-4.1.0/include -I /home/z/LIBRARIES/hdf5-1.10.6/include /home/z/Telemac/v8p2r0/sources/waqtel/fv_zones.F90

can you help me???how to solve it.
The administrator has disabled public write access.

there is a error in compiling v8p2r0 2 years 1 month ago #41245

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
Hello Peter, the error is ovious from the output:
Fatal Error: Cannot read module file ‘aed2_common.mod’ opened at (1), because it was created by a different version of GNU Fortran

So, it means that the version of AED2 that you are using has been compiled with a different version of the GFortran compiler. Therefore, you need to recompile AED2 using the same version of the compiler that you use for Telemac.
The administrator has disabled public write access.

there is a error in compiling v8p2r0 2 years 1 month ago #41246

  • peter
  • peter's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
thank you!about this question what should i do?
The administrator has disabled public write access.

there is a error in compiling v8p2r0 2 years 4 weeks ago #41356

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
Hi Peter,

Sorry for the late reply. I've just updated the wiki on how to build AED2: wiki.opentelemac.org/doku.php?id=installation_linux_aed
The administrator has disabled public write access.
Moderators: borisb

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