comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » CALL_EXTERNAL ERROR
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: CALL_EXTERNAL error [message #60352 is a reply to message #28837] Sun, 18 May 2008 19:48 Go to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
On May 18, 6:35 pm, Sid <siddharth.iu...@gmail.com> wrote:
> Hi,
>
> I am trying to call a fortran 90 routine from an IDL program by first
> creating a .so file and then using CALL_EXTERNAL. The command I use is
> as follows:
>
> CALL_EXTERNAL('try02.f90','t',a,b,c)
>
> and I get the error:
>
> % CALL_EXTERNAL: Error loading sharable executable.
> Symbol: t, File = try02.so
> ./try02.so: undefined symbol: t
>
> Any idea what I might have done wrong?

Hi,

From the Help on Call_External :-

sum = 0.0
S = CALL_EXTERNAL('example1.so','sum_array_', X, N_ELEMENTS(X), sum)

Perhaps you should specify 'try02.so' rather than 'try02.f90' ?

And is 't' really the entry point/routine name within try02.so that
you're trying to call??


Cheers,

Andrew
[Message index]
 
Read Message
Read Message
Previous Topic: Generalized Least Squares?
Next Topic: Re: Fun with IDL 7

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:23:29 PDT 2025

Total time taken to generate the page: 0.16204 seconds