Welcome, Guest
Username: Password: Remember me

TOPIC: Problem compiling TELEMAC v8p2

Problem compiling TELEMAC v8p2 3 years 10 months ago #37511

  • chuankang
  • chuankang's Avatar
Hi,

I downloaded the automatic installation app but it didn't finish the compile work, so I changed the PATH to python 3 and used compile_telemac.py --clean to try to finish the compile work, but the compile didn't finish and kept showing interface_parallel.f illegal preprocessor directive. I have attached my systel.cfg and error screen.


Can anyone help me with this problem? Thanks!
The administrator has disabled public write access.

Problem compiling TELEMAC v8p2 3 years 10 months ago #37606

  • Arvid Dujardin
  • Arvid Dujardin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 3
Try adding the option -cpp to the cmd_obj line
The administrator has disabled public write access.
The following user(s) said Thank You: chuankang

Problem compiling TELEMAC v8p2 3 years 10 months ago #37607

  • chuankang
  • chuankang's Avatar
Thank you for your help!

I added -cpp to all four lines where cmd_obj showed up. The compile went for a while and stopped here - please see below the error message, I also uploaded the systel.cfg file, what should I do now? Thanks!

- completed: ...\v8p2\sources\mascaret\API\f90\pretrait_tracer_interface.f90
- completed: ...\v8p2\sources\mascaret\API\f90\pretrait_interface.f90
- completed: ...\v8p2\sources\mascaret\API\f90\mascaret_interface.f90
- completed: ...\v8p2\sources\mascaret\API\f90\init_ligne_mascaret.f90
- completed: ...\v8p2\sources\mascaret\API\f90\init_etat_mascaret.f90
- completed: ...\v8p2\sources\mascaret\homere_mascaret.f90
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v8p2\scripts\python3\compile_telemac.py", line 143, in <module>
main()
File "C:\opentelemac-mascaret\v8p2\scripts\python3\compile_telemac.py", line 129, in main
compile_cmdf(options.ncsize, modules, options.verbose)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\compilation\compil_tools.py", line 1296, in compile_cmdf
compile_mascaret_dependencies(rebuild, homeres)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\compilation\compil_tools.py", line 68, in compile_mascaret_dependencies
if cfg == '':
KeyError: 'cmd_obj_c'

C:\opentelemac-mascaret\v8p2>

File Attachment:

File Name: systel_v8p2_modified.cfg
File Size: 3 KB
The administrator has disabled public write access.

Problem compiling TELEMAC v8p2 3 years 10 months ago #37612

  • Arvid Dujardin
  • Arvid Dujardin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 3
Your systel file is missing the cmd_obj_c line to compile the mascaret module.

See my systel file in attachment. This compilation ended with "my work is done", but I did not have time yet to check whether all modules work properly...
Attachments:
The administrator has disabled public write access.

Problem compiling TELEMAC v8p2 3 years 10 months ago #37628

  • chuankang
  • chuankang's Avatar
Thanks a lot! It is working now.
The administrator has disabled public write access.

Problem compiling TELEMAC v8p2 2 years 9 months ago #39819

  • geosci
  • geosci's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Dear specialists,
I'm experiencing same problem during v8p2 installation.
Compilation fails after more than 80%.
Attached you will find Error message and config systel file,
Have you any suggestion, please?
Attachments:
The administrator has disabled public write access.

Problem compiling TELEMAC v8p2 2 years 9 months ago #39822

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

Search engine is not available for decoration
Christophe
The administrator has disabled public write access.

Problem compiling TELEMAC v8p2 2 years 9 months ago #39825

  • geosci
  • geosci's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I'm sorry, but maybe my previous message was not clear. I followed all the instructions previously posted but the problem persists in my case. I also edited the process.py file as specified in post #39356 with same results. Maybe I misunderstood some part of the posts. Now, I'll start new installation and I will continue my search, but any suggestions is most than welcome.
Sincerely
The administrator has disabled public write access.

Problem compiling TELEMAC v8p2 2 years 9 months ago #39827

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You didn't followed all the instructions available in the forum and particularly the most important one: #37965
This is visible as you didn't change your systel file

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: geosci

Problem compiling TELEMAC v8p2 2 years 9 months ago #39826

  • geosci
  • geosci's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I will study carefully your suggestions!!! I hope this can solve my issue. Have a nice day!!
The administrator has disabled public write access.
Moderators: borisb

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