Welcome, Guest
Username: Password: Remember me

TOPIC: Problem compiling telemac

Problem compiling telemac 4 years 2 months ago #36766

  • kareemjo94
  • kareemjo94's Avatar
Hello Again Yugi,

I Tried to do the manual installation for Telemac, now I am facing a new error.

''cannot find -lpthread

collect2.exe: error: ld returned 1 exit status
Traceback (most recent call last):
File "C:\opentelemac\v8p1\scripts\python3\compile_telemac.py", line 144, in
<module>
main()
File "C:\opentelemac\v8p1\scripts\python3\compile_telemac.py", line 130, in main
compile_cmdf(options.ncsize, modules, options.verbose)
File "C:\opentelemac\v8p1\scripts\python3\compilation\compil_tools.py", line 1264,
in compile_cmdf
found_exe = create_exe_files(item, mod,
File "C:\opentelemac\v8p1\scripts\python3\compilation\compil_tools.py", line 468, in
create_exe_files
raise TelemacException(\
utils.exceptions.TelemacException: Could not link your executable. Please verify your
external library installation or the python script itself.''


Most probably I have a problem with the installation of the MPIH for windows, is that the case? and what do you think I should do to fix it?

Thank you in advance. :)
The administrator has disabled public write access.

Problem compiling telemac 4 years 1 month ago #36856

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

Sorry for the late reply.
You can try removing -lpthread from the configuration.
Could you post again your systel.cfg file ?
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Problem compiling telemac 4 years 1 month ago #36946

  • najary
  • najary's Avatar
hi
I receive this error in cmd after running this code
((compileTELEMAC.py --clean)) as you said
do you know what should I do?
and I have to say its v8p0
((Could not find the following module: 'dredgesim'))
The administrator has disabled public write access.

Problem compiling telemac 4 years 1 month ago #36950

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

You need to edit you systel.cfg file and remove the "-dredgesim" that should be in the beginning
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: najary

Problem compiling telemac 4 years 1 month ago #36956

  • najary
  • najary's Avatar
thank you,
now there is another error during the compiling which I attach.

and this is my systel_v8p0.cfg file

# _____ _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs: win7gfors
# win7tels win7gfors win7gforsdbg win7telsdbg
# _____ ________________________________________
# ____/ windows 7 generals /_______________________________________/
[general]
#
root: C:\opentelemac-mascaret\v8p0
version: v8p0
language: 2
modules: system
options:
#
sfx_zip: .zip
sfx_lib: .lib
sfx_mod: .mod
sfx_exe: .exe
#
val_root: <root>\examples
val_rank: all
# also possible val_rank: <3 >7 6
#
# _____ ____________________________________
# ____/ windows 7 intel scalar /___________________________________/
[win7tels]
#
cmd_obj: ifort.exe /c /Ot /iface:cref /iface:nomixed_str_len_arg /nologo /fpp /names:uppercase /convert:big_endian <mods> <incs> <f95name>
cmd_lib: xilib.exe /nologo /out:<libname> <objs>
cmd_exe: xilink.exe /nologo /subsystem:console /stack:536870912 /out:<exename> <objs> <libs>
#
mods_all: /include:<config>
#
sfx_obj: .obj
#
# _____ ____________________________________
# ____/ windows 7 intel scalar debug /___________________________________/
[win7telsdbg]
#
cmd_obj: ifort.exe /c /debug:full /iface:cref /iface:nomixed_str_len_arg /nologo /fpp /names:uppercase /convert:big_endian <mods> <incs> <f95name>
cmd_lib: xilib.exe /nologo /out:<libname> <objs>
cmd_exe: xilink.exe /nologo /subsystem:console /stack:536870912 /out:<exename> <objs> <libs>
#
mods_all: /include:<config>
#
sfx_obj: .obj
#
# _____ _________________________________
# ____/ windows 7 gfortran scalar /________________________________/
[win7gfors]
#
cmd_obj: gfortran -c -O3 -fopenmp -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: gfortran -fopenmp -fconvert=big-endian -frecord-marker=4 -v -lm -o <exename> <objs> <libs>
#
mods_all: -I <config>
#
sfx_obj: .o
#
# _____ _________________________________
# ____/ windows 7 gfortran scalar debug /________________________________/
[win7gforsdbg]
#
cmd_obj: gfortran -c -O3 -fopenmp -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: gfortran -fopenmp -fconvert=big-endian -frecord-marker=4 -v -lm -o <exename> <objs> <libs>
#
mods_all: -I <config>
#
sfx_obj: .o
#
Attachments:
The administrator has disabled public write access.

Problem compiling telemac 4 years 1 month ago #36957

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Yo are missing the option -cpp in cmd_obj.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: najary

Problem compiling telemac 4 years 1 month ago #36958

  • najary
  • najary's Avatar
how should i fix that problem?
The administrator has disabled public write access.

Problem compiling telemac 4 years 1 month ago #36974

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Edit your systel.cfg file and add -cpp in the line with cmd_obj
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Problem compiling telemac 4 years 2 weeks ago #37130

  • najary
  • najary's Avatar
icouldnt instal v8p0 , i tried v8p1 and now while compiling i have received this error , what should I do?
Attachments:
The administrator has disabled public write access.

Problem compiling telemac 4 years 1 week ago #37162

  • kmustafa
  • kmustafa's Avatar
Hello!

I have a problem with compiling / installing.
When i running the file compileTELEMAC.py it will not show at the end "Work is done"
can sombod help me
The administrator has disabled public write access.
Moderators: borisb

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