Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation errors and options.

Compilation errors and options. 5 years 10 months ago #32485

  • olslewfoot
  • olslewfoot's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 132
  • Thank you received: 3
Hi all

I have a couple of questions. Compiling v8p0r0 using Python3.

I am getting stuck with a compilation error from nestor at my_flush.f
. Would be grateful if anywone can help with this. Attached error transcript.

Using the new config files offer the usual option nof excluding a module by using the key and value in the general part of config.
Modules: system -<modulename>

I cannot seem to get this to work as even when excluding the model (nestor for example) the cfg is still called in create_obj_files.py and the compilation halts.


Attached error file and current config.


Many thanks
John
Attachments:
The administrator has disabled public write access.

Compilation errors and options. 5 years 10 months ago #32486

  • olslewfoot
  • olslewfoot's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 132
  • Thank you received: 3
error file atached
Attachments:
The administrator has disabled public write access.

Compilation errors and options. 5 years 10 months ago #32487

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You are missing -cpp in cmd_obj.
To force the activate of the preprocessor.
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.

Compilation errors and options. 5 years 10 months ago #32488

  • olslewfoot
  • olslewfoot's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 132
  • Thank you received: 3
Thanks Yugi - can you comment on the second part?

When api commences compilation ends with:
Traceback (most recent call last):
File "./scripts/python3/compile_telemac.py", line 146, in <module>
main()
File "./scripts/python3/compile_telemac.py", line 127, in main
if 'api' in cfg:
KeyError: 'options'

I have modules: -api set as a key.
Can you suggest why this is happening - or why api is not compiling.
JOhn
The administrator has disabled public write access.

Compilation errors and options. 5 years 10 months ago #32489

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
To compile the api you need to add options: api

As for the -<module>
Only a small list of modules can actually be removed now.
I think it only works for mascaret nowadays.
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: olslewfoot

Compilation errors and options. 5 years 10 months ago #32490

  • olslewfoot
  • olslewfoot's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 132
  • Thank you received: 3
Ok - thanks.
I'll note for future.
John
The administrator has disabled public write access.
Moderators: borisb

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