Welcome, Guest
Username: Password: Remember me

TOPIC: Compiling TRUNK on Debian

Compiling TRUNK on Debian 4 years 7 months ago #35824

  • simul4tor
  • simul4tor's Avatar
Hi, I am trying to create Debian-based Docker images for TELEMAC and had no problem compiling the latest v7 and v8 releases. Unfortunately I cannot compile trunk with the following error message being displayed.

Is this a source issue or do I need to adapt the configuration somehow to be able to handle trunk? I am using a system configuration that works fine with v8p1r1.

BR Peter
[91m[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ] 99% | 2s [0m
[91m - completed: .../trunk/sources/api/example_cpl_t2d_sis.f
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ] 99% | 1s [0m
[91mTraceback (most recent call last):
File "/opt/telemac-mascaret/trunk/scripts/python3/compile_telemac.py", line 143, in <module>
main()
File "/opt/telemac-mascaret/trunk/scripts/python3/compile_telemac.py", line 129, in main
compile_cmdf(options.ncsize, modules, options.verbose)
File "/opt/telemac-mascaret/trunk/scripts/python3/compilation/compil_tools.py", line 1288, in compile_cmdf
mes, tasks, bypass, homeres, verbose)
File "/opt/telemac-mascaret/trunk/scripts/python3/compilation/compil_tools.py", line 235, in create_lib_files
if 'dyn' in cfg['options']:
KeyError: 'options'
The administrator has disabled public write access.

Compiling TRUNK on Debian 4 years 7 months ago #35829

  • simul4tor
  • simul4tor's Avatar
To answer my own question: the error is caused by my systel config file missing an (empty) 'options' parameter.

My custom file is based on 'systel.cis-debian.cfg' which lacks this parameter.

It would be nice if the parser in trunk would be relaxed again to be able to handle such a scenario like <=v8p1r1, or alternatively the example configs would be adapted to the current requirements.

Thanks and BR, Peter
The administrator has disabled public write access.

Compiling TRUNK on Debian 4 years 6 months ago #35835

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

You are right, the systel.cis-debian.cfg have not been updated since more than 2 years. I am not sure if it was in use on the usual Jenkins at one time. And you are also right, the options parameter has to be filled in.

Anyway, did you have a look at the installation section on this website: wiki.opentelemac.org/doku.php?id=installation_on_linux ?

On my personnal debian laptop, I use the systel.edf.cfg which is rather up to date. Compiling+running are OK (config C9.gfortran.dyn).

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: simul4tor

Compiling TRUNK on Debian 4 years 6 months ago #35842

  • simul4tor
  • simul4tor's Avatar
Thanks, yeah I figured the EDF configuration looked most current so I rebuild my variant on that basis. B)
The administrator has disabled public write access.
Moderators: borisb

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