Welcome, Guest
Username: Password: Remember me

TOPIC: Compilation Error

Compilation Error 6 years 9 months ago #28678

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hello,

I try to compile telemac with compiletelemac.py but always get the following error (see picture). I guess it has something to do with the compiler I use. I installed gcc and also changed the location in the .cfg file but that does not help.
I'm running Windows 10.

Best
Clemens
Attachments:
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28681

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
First of all, you should avoid to use "program files" as location for telemac dur to the space in the name. This often create problems which are not easy to identify...

Second, the compiler should be something like gfortran and not mingw...

Hope this helps
Christophe
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28682

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hi,

could I still move the whole folder without any problem if I change all variables afterwards?
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28685

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Clemens,

If you are using mingw-64, then the fortran command is 'x86_64-w64-mingw32-gfortran'. There is no such command as 'x86_64-w64-mingw32'...

Regards,
Costas
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28687

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Hello Costas,

thanks. I could figure that out. And started to compile but now I get an error during compilation. Which is the following.

compileTELEMAC::createLibFiles:
+> failed: ar cru C:\Telemac\v7p2r0\builds\win7gfors\lib\mascaret\homere_mascaret.lib *.o
... The following command failed for the reason above (or below)
ar cru C:\Telemac\v7p2r0\builds\win7gfors\lib\mascaret\homere_mascaret.lib *.o:


I'm not sure what the error is.

Regards
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28688

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Append ">compilation_output.txt 2>&1" at the end of the compilation command in order to redirect the whole stdout and stderr to a text file and post it to the forum.
Costas
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28691

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Attached you will find the output file.
Attachments:
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28692

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
As Christophe mentioned earlier, choose a path that does not contain spaces. You will then have to update the path to scripts\python27 folder.
Costas
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28693

  • Mustermann
  • Mustermann's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 268
  • Thank you received: 4
Do you mean the gcc path? Since all the other pathes does not contain any spaces since I already moved them.
The administrator has disabled public write access.

Compilation Error 6 years 9 months ago #28694

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Can you post the updated cfg file?
The administrator has disabled public write access.
Moderators: borisb

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