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

TOPIC: Error in compiling API

Error in compiling API 4 years 5 months ago #36068

  • Jose_filho
  • Jose_filho's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 42
  • Thank you received: 2
Hi Costas, I was in the same situation as described in the last topic about this subject and now I could compile the API pretty well.

I also managed to include vcrruntime.dll to the lib directory and compiled it again succesfully with de .pyd files at the wrap_api folder. However I still cannot import it on spyder...

Do you have any Idea which could be the cause?

"Building the Python API
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~> Wrap_api built
~> Compiling Modules api
~> First part of f2py for api passed
~> Second part of f2py of api passed
~> Compiling hermes api
~> First part of f2py for hermes passed
~> Second part of f2py of hermes passed


My work is done"
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36069

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hi,
You need to add the libraries location to your PATH environmental variable. For me its
%HOMETEL%\builds\gfmsmpi\wrap_api\lib
where %HOMETEL% is the telemac installation root directory.

Costas
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36074

  • stefano.sarracini@libero.it
  • stefano.sarracini@libero.it's Avatar
Hi Costas,
my problem has not been resolved, I followed the instructions for installing Numpy, but I always receive the previous error.
Stefano
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36088

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello Stefano,
Can you post the latest configuration file you use? Also, what python version and distribution have you installed?
Costas
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36090

  • stefano.sarracini@libero.it
  • stefano.sarracini@libero.it's Avatar
Hi Costas,
I'm using Python 37 with miniconda3.
Stefano

File Attachment:

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

Error in compiling API 4 years 5 months ago #36091

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
This doesn't make sense. Can you recompile and this time append
>compile_api.txt 2>&1
at the end of the compilation command to get the full listing in text?
Costas
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36092

  • stefano.sarracini@libero.it
  • stefano.sarracini@libero.it's Avatar
I tried, but the command doesn't work, where do I have to add this command line?
The administrator has disabled public write access.

Error in compiling API 4 years 5 months ago #36093

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
For example:
compile_telemac.py -f O:\trunk\configs\systel.cfg -c win10gfors >compile_api.txt 2>&1
Adjust to your paths accordingly.
The administrator has disabled public write access.

Error in compiling API 3 years 1 month ago #39216

Hello,
I have this error message while compiling the API.
the configuration file is attached.

any idea ?

thank you
Malo
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.