forum.alglib.net

ALGLIB forum
It is currently Thu Mar 28, 2024 5:06 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Calling alglib (C++ solver function) from python
PostPosted: Mon Oct 28, 2019 7:09 am 
Offline

Joined: Mon Oct 28, 2019 6:17 am
Posts: 1
I am trying to call alglib c++solver function from python to solve the matrix equation AX=B. I have created shared object (.so file) and created the python wrapper file for the same. I even skipped my requirement of passing matrices as arguments because I got errors when running the program. But when I use the shared object in python, I am stuck with the error:

OSError: ./libfoo.so: undefined symbol: _ZN6alglib8xdefaultE

Can someone help me with the issue?


Top
 Profile  
 
 Post subject: Re: Calling alglib (C++ solver function) from python
PostPosted: Tue Oct 29, 2019 5:17 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 903
Did you mean that you created (1) your own shared library by compiling ALGLIB for C++, and (2) your Python wrapper for this library?

If so, why not to use standard Python wrapper included into ALGLIB?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group