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

TOPIC: Error in compiling API

Error in compiling API 4 years 5 months ago #36032

  • stefano.sarracini@libero.it
  • stefano.sarracini@libero.it's Avatar
Hi everyone, I'm a new Telemac user and would like to use TelApy to optimize Telemac-2D case. However, I can't correctly compile the API. I am attaching my configuration file and the error message. I use v8p1 version on Windows 10
Error_2020-05-28.png


File Attachment:

File Name: systel_v8p1.cfg
File Size: 3 KB

.
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36035

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

Have a look at this thread for details.
There is a configuration in post #35738, that was used to successfully compile the api.

Best Regards,
Costas
The administrator has disabled public write access.
The following user(s) said Thank You: stefano.sarracini@libero.it

Error in compiling API 4 years 5 months ago #36037

  • stefano.sarracini@libero.it
  • stefano.sarracini@libero.it's Avatar
Thanks for the reply,
I had already seen your previous post, but however I can't compile correctly. I am not very experienced with programming, for sure I will make some mistakes.
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36038

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Take the configuration posted and adapt it to your installation dirs, version, compilers, libraries etc. If you encounter any problem, I can easily help you as I have the same working in my system.
Costas
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36041

  • stefano.sarracini@libero.it
  • stefano.sarracini@libero.it's Avatar
Thanks for the reply Costas,
however I can't adapt the configuration file, I'm really not expert in this. I have updated my configuration and am attaching it, but if I try to use your compilation it provides several errors as it cannot find the path of the libraries.
Stefano

File Attachment:

File Name: systel_v8p1_2020-05-29.cfg
File Size: 2 KB
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36045

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Stefano,
Sorry for the delay. Can you try the configuration with these changes:

File Attachment:

File Name: systel_v8p1_CY.cfg
File Size: 2 KB


Costas
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36057

  • stefano.sarracini@libero.it
  • stefano.sarracini@libero.it's Avatar
Hi Costas,
I tried with your configuration file but I get the same error that I posted in my initial topic. Thank for your time.
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36061

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Stefano,
Can you add
libs_all: -lgfortran
anywhere under the [general] configuration?

Costas
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36064

  • stefano.sarracini@libero.it
  • stefano.sarracini@libero.it's Avatar
Hi Costas,
now I get this error message:

Error2.png


Thanks, Stefano
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36065

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hi Stefano,
f2py is part of numpy. Do you have numpy installed in python? Have a look here for more info:
https://numpy.org/doc/stable/f2py/usage.html

Costas
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.