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

TOPIC: error in compiling v8p3r0

error in compiling v8p3r0 2 years 6 months ago #40360

  • Cyangou
  • Cyangou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 2
Hi,

I was finished all the Prerequisites, but i am stuck in compiling
when i check the configuration with python3 scripts/python3/config.py after run the config environment pysource.v8p3r0.sh.

it not shows work done,

Traceback (most recent call last):
File "scripts/python3/config.py", line 130, in <module>
main()
File "scripts/python3/config.py", line 107, in main
update_config(options)
File "scripts/python3/config.py", line 77, in update_config
CFGS.parse_cfg_file(cfg_file, cfg_name, root_dir, python_dir)
File "/home/maria/Telemac/telemac-mascaret-v8p3r0/scripts/python3/configuration/cfg.py", line 100, in parse_cfg_file
raise TelemacException('Could not find {}'.format(cfg_file))
utils.exceptions.TelemacException: Could not find /home/maria/Telemac/telemac-mascaret-v8p3r0/configs/systel.cfg

i attach the two configuration file to check (PS:checked all the path home/maria its mine.), sorry for asking the most basic problem, i just cross the windows system to linux. if you can point to my error, thanks a ot.

Best regards.
Yang
Attachments:
The administrator has disabled public write access.

error in compiling v8p3r0 2 years 6 months ago #40362

  • Cyangou
  • Cyangou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 2
.sh not be allowed to attach
changed to .txt
Attachments:
The administrator has disabled public write access.

error in compiling v8p3r0 2 years 6 months ago #40363

  • PMV
  • PMV's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 149
  • Thank you received: 42
The message reads:
Could not find /home/maria/Telemac/telemac-mascaret-v8p3r0/configs/systel.cfg

Your file name is systel.linux.cfg

Hope that helps,
Patrick
The administrator has disabled public write access.
The following user(s) said Thank You: Cyangou

error in compiling v8p3r0 2 years 6 months ago #40364

  • Cyangou
  • Cyangou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 2
Hi,Patrick!

Thanks a lot! yes it works,
but with python3 scripts/python3/compile_telemac.py

+> Compile / Assemble / Link
gfortran: error: unrecognized command line option ‘-frecordmarker=4’; did you mean ‘-frecord-marker=4’?
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/maria/Telemac/telemac-mascaret-v8p3r0/scripts/python3/compilation/compil_tools.py", line 1286, in compile_cmdf
'\n +> failed: ' + file_name + '\n' + err)

its seem that my config file in wrong sentence :(

Regards
Yang
The administrator has disabled public write access.

error in compiling v8p3r0 2 years 6 months ago #40365

  • PMV
  • PMV's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 149
  • Thank you received: 42
you need to read the error message:
unrecognized command line option ‘-frecordmarker=4’; did you mean ‘-frecord-marker=4’?
did you try to chance that in your cfg-file?
The administrator has disabled public write access.

error in compiling v8p3r0 2 years 6 months ago #40366

  • Cyangou
  • Cyangou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 2
sorry, i should read the Traceback first, it's easy to solve.
but my compiling process with a few error.

1.it shows Warning
Compiling from the tree top api plus dependents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> Compile / Assemble / Link
f951: Warning: Nonexistent include directory ‘/home/maria/LIBRARIES/med4.1.0/include’ [-Wmissing-include-dirs]
- completed: .../telemac-mascaret-v8p3r0/sources/utils/special/declarations_special.F
f951: Warning: Nonexistent include directory ‘/home/maria/LIBRARIES/med4.1.0/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/home/maria/LIBRARIES/med4.1.0/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/home/maria/LIBRARIES/med4.1.0/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/home/maria/LIBRARIES/med4.1.0/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/home/maria/LIBRARIES/med4.1.0/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/home/maria/LIBRARIES/med4.1.0/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/home/maria/LIBRARIES/med4.1.0/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/home/maria/LIBRARIES/med4.1.0/include’ [-Wmissing-include-dirs]
- completed: .../telemac-mascaret-v8p3r0/sources/utils/special/check_allocate.f
- completed: .../telemac-mascaret-v8p3r0/sources/utils/special/gracestop.f
- completed: .../telemac-mascaret-v8p3r0/sources/utils/special/read_ref_date.f
- completed: .../telemac-mascaret-v8p3r0/sources/utils/special/get_nodes_per_element.f


2. the error i couldnt read
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/maria/Telemac/telemac-mascaret-v8p3r0/scripts/python3/compilation/compil_tools.py", line 1286, in compile_cmdf
'\n +> failed: ' + file_name + '\n' + err)
utils.exceptions.TelemacException:
+> failed: .../telemac-mascaret-v8p3r0/sources/utils/hermes/utils_med.F
... 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/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/utils/special -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/utils/damocles -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/utils/parallel -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/utils/hermes -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/utils/bief -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/nestor -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/utils/ad -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/tomawac -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/sisyphe -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/waqtel -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/khione -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/gaia -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/telemac2d -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/utils/gretel -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/utils/partel -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/telemac3d -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/artemis -I /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/obj/api -I /home/maria/LIBRARIES/openmpi-4.0.4/include -I /home/maria/LIBRARIES/metis-5.1.0/include -I /home/maria/Telemac/telemac-mascaret-v8p3r0/optionals/aed2_1.2 -I /home/maria/Telemac/telemac-mascaret-v8p3r0/optionals/aed2_1.2/include -I /home/maria/LIBRARIES/med4.1.0/include -I /home/maria/LIBRARIES/hdf5-1.10.6/include /home/maria/Telemac/telemac-mascaret-v8p3r0/sources/utils/hermes/utils_med.F
The administrator has disabled public write access.

error in compiling v8p3r0 2 years 6 months ago #40369

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Did you install the MED library first?
If not, you should remove the option -DHAVE_MED in the config file...
Potentially same problem with AED2...
Christophe
The administrator has disabled public write access.

error in compiling v8p3r0 2 years 6 months ago #40375

  • Cyangou
  • Cyangou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 2
Hi,

I am sure that before compiling telemac, i installed MPI METIS HDF5 MED and AED was also installed in telemac/optionals (need to use the waqtel module). The library is automatically installed during the process. right.i will check in SVN. but is there any problem with compiling files?

Regards
Yang
The administrator has disabled public write access.

error in compiling v8p3r0 2 years 6 months ago #40376

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
The compiling trace shows 2 things:
  • the MED include directory is not found
  • the file utils_med.f couldn't be compiled
I never used MED library so I'm not a specialist but I would say there is something wrong with this library...
Christophe
The administrator has disabled public write access.

error in compiling v8p3r0 2 years 6 months ago #40382

  • Cyangou
  • Cyangou's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 2
Hi

i removed the option -DHAVE_MED in the config file, in which format MED not going to used. its compiled for a while, but with warning

f951: Warning: Nonexistent include directory ‘/home/maria/LIBRARIES/med4.1.0/include’ [-Wmissing-include-dirs]

and end with this trace

ar: `u' modifier ignored since `D' is the default (see `U')
- completed: .../telemac-mascaret-v8p3r0/builds/gfortranHPC/lib/libapi.a
gfortran: error: o: No such file or directory
gfortran: error: /home/maria/Telemac/telemac-mascaret-v8p3r0/builds/gfortranHPC/bin/api: No such file or directory
gfortran: error: L/home/maria/LIBRARIES/metis-5.1.0/lib: No such file or directory
gfortran: error: L/home/maria/Telemac/telemac-mascaret-v8p3r0/optionals/aed2_1.2: No such file or directory
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/maria/Telemac/telemac-mascaret-v8p3r0/scripts/python3/compilation/compil_tools.py", line 1334, in compile_cmdf
bypass, homeres, verbose)
File "/home/maria/Telemac/telemac-mascaret-v8p3r0/scripts/python3/compilation/compil_tools.py", line 510, in create_exe_files
'Could not link your executable. ' \
utils.exceptions.TelemacException: Could not link your executable. Please verify your external library installation or the python script itself.

i tried with sudo apt-get install gfortran and sudo apt-get install python3 to make sure the library or script. but not solved the problem.
it seem the whole process was missing something. or it the problem of path o config file.

All regards
Yang
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.