Welcome, Guest
Username: Password: Remember me

TOPIC: Python API installation

Python API installation 3 years 8 months ago #38028

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You can try adding dyn to
options:

If I remember correctly I coded somthing to handle that case.
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.

Python API installation 3 years 8 months ago #38029

  • jprivers
  • jprivers's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 24
I still end up with the same problem.
Attachments:
The administrator has disabled public write access.

Python API installation 3 years 8 months ago #38030

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
I had a look at the dev.
You also need to add <libs> in cmd_lib:
cmd_lib:    gfortran -shared -fconvert=big-endian -frecord-marker=4 -lm -o  <libname> <objs> <libs>

It should remove some of the error message.
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.

Python API installation 3 years 8 months ago #38031

  • jprivers
  • jprivers's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 24
It does not seem or it erases some other problems.
Attachments:
The administrator has disabled public write access.

Python API installation 3 years 8 months ago #38032

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
I have not used that option in a while so I forgot that you also need to add some stuff in your environement.

You need to run:
set LD_LIBRARY_PATH=C:\TELEMAC\V8P2R0\builds\wingfors\lib;%LD_LIBRARY_PATH%

Then run the compilation again.
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.

Python API installation 3 years 8 months ago #38033

  • jprivers
  • jprivers's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 24
Ok I ran it and verified it was ok with echo. Then I reran but the error did occur again.
The administrator has disabled public write access.

Python API installation 3 years 8 months ago #38044

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Can you check that I did not make a mistake on the path C:\TELEMAC\V8P2R0\builds\wingfors\lib ?
It should contain the lib libspecial4api.so
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.

Python API installation 3 years 8 months ago #38045

  • jprivers
  • jprivers's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 24
When I run the simulation in this folder I only get "libspecial4api.so" it does not create the other ones
The administrator has disabled public write access.

Python API installation 3 years 8 months ago #38046

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
It was just to check that I put the right path.
What I am more worried about is that it should have worked.

Can you try changing sfx_lib to .dll instead of .so ?
If that still does not work we will try another solution.
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.

Python API installation 3 years 8 months ago #38047

  • jprivers
  • jprivers's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 24
The compilation is asking for a .so when I do that.
Attachments:
The administrator has disabled public write access.
Moderators: borisb

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