Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I have compiled my own GDL.so for use with python and it works quite well, but it can't find any *.pro-files in the path because !PATH is empty. How can I have it set correctly? (linux, fc12)
It's quite probable that you're the only one having a working Numpy-enabled GDL.so now :)
Perhaps, setting the !PATH in a script and executing it via GDL.script("startup.pro") could work? (that's just a guess).
Could you post here the list of changes/a patch that is needed to get it working, and a set of examples?
I am having the same problem. The !PATH variable is empty.
I have Numpy-enabled GDL.so working, kind of . . . . well not really the cannonical SIN function works, but any compiled routines lead to a segmentation fault.
(on OS X 10.6.6 with a macports installation of Python 2.7).
If you're still looking for a solution:
I have a working python - GDL - bridge on Kubuntu 12.04 using GDL 0.9.2
Indeed you need to run a GDL startup script first:
your startupfile should look like this:
!PATH=!PATH + ':/path/to/your/pro/files/'
You can then call any of your own gdl procedures