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

TOPIC: Compile not working with Python3

Compile not working with Python3 3 years 10 months ago #37566

  • sheyuntong
  • sheyuntong's Avatar
Here is the output and error message attached. Thanks Yugi!
The administrator has disabled public write access.

Compile not working with Python3 3 years 10 months ago #37623

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi the files are missing
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.

Compile not working with Python3 3 years 10 months ago #37627

  • sheyuntong
  • sheyuntong's Avatar
Is there a size limit for attachment? The file is 2.7MB and it seems to be deleted each time I submit the post.
The administrator has disabled public write access.

Compile not working with Python3 3 years 10 months ago #37633

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
It could be the extension of the 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.

Compile not working with Python3 3 years 10 months ago #37643

  • sheyuntong
  • sheyuntong's Avatar
I am splitting the file into two and try again.
Attachments:
The administrator has disabled public write access.

Compile not working with Python3 3 years 10 months ago #37690

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Ok it looks like the name of the file is not replace properly in the command. It do not know why.

Can you replace again the python file compile_tools.py by the one attached here and re-run compile_telemac.py ?

And just post the end of the listing.
Attachments:
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.

Compile not working with Python3 3 years 9 months ago #37730

  • sheyuntong
  • sheyuntong's Avatar
Okay. I replaced compile_tools.py with the new version you posted. Rerun compile_telemac.py --verbose. Below is the end of the listing with the error. Thanks.

src_name Deriv|adstack.c
obj_name adstack.o
src_path C:\opentelemac-mascaret\v8p2\sources\mascaret\Deriv\adstack.c
*src_name.split('|') Deriv adstack.c
src_path C:\opentelemac-mascaret\v8p2\sources\mascaret\Deriv\adstack.c
gcc -cpp -c <scrName> -o C:\opentelemac-mascaret\v8p2\builds\win7gfors\obj\mascaret\adstack.o
The system cannot find the file specified.
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 1304, in compile_cmdf
compile_mascaret_dependencies(rebuild, homeres, verbose)
File "C:\opentelemac-mascaret\v8p2\scripts\python3\compilation\compil_tools.py", line 111, in compile_mascaret_dependencies
raise TelemacException(\
utils.exceptions.TelemacException: Could not compile your file adstack
The administrator has disabled public write access.

Compile not working with Python3 3 years 9 months ago #37732

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
It looks like it is just the one of the replace that is not working which is weird.
The only reason I can think of is that there is a wrong character in your systel.cfg file.

Could you try removing the line with <srcName> and rewrite it from strach ? and see if there is a difference.
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.

Compile not working with Python3 3 years 6 months ago #38500

  • smk.svks
  • smk.svks's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 93
  • Thank you received: 1
hi

I am also facing a similar kind of compiling problem. How do I fix the error!!

- completed: ...\v8p2r0\sources\mascaret\API\f90\set_etat_mascaret.f90
- completed: ...\v8p2r0\sources\mascaret\API\f90\save_etat_mascaret.f90
The system cannot find the file specified.
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v8p2r0\scripts\python3\compile_telemac.py", line 143, in <module>
main()
File "C:\opentelemac-mascaret\v8p2r0\scripts\python3\compile_telemac.py", line 129, in main
compile_cmdf(options.ncsize, modules, options.verbose)
File "C:\opentelemac-mascaret\v8p2r0\scripts\python3\compilation\compil_tools.py", line 1296, in compile_cmdf
compile_mascaret_dependencies(rebuild, homeres)
File "C:\opentelemac-mascaret\v8p2r0\scripts\python3\compilation\compil_tools.py", line 103, in compile_mascaret_dependencies
raise TelemacException(\
utils.exceptions.TelemacException: Could not compile your file adstack
Attachments:
The administrator has disabled public write access.

Compile not working with Python3 3 years 1 month ago #39201

Hello,

I try to compile telemac in parallel on my PC windows , but I have the rror joined to this message at th compilation.
I also join my file cfg.
I thank you in advance for your help.
Best reards,

Patrick
Attachments:
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.