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

Home » Public Forums » archive » IDL5.4 CALL_EXTERNAL crashes IDL under IRIX
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL5.4 CALL_EXTERNAL crashes IDL under IRIX [message #22558] Wed, 15 November 2000 00:00
Ole Bossing Christens is currently offline  Ole Bossing Christens
Messages: 12
Registered: January 1998
Junior Member
Dear all,

We have recently upgraded from 5.3 to 5.4, using SGI IRIX 6.5. Under IDL
5.3 we have been reading GRIB data by linking to a shared library of
fortran code with call_external. The same call now crashes IDL 5.4with
the message:

276068:/pack/idl5-5.4/idl_5.4/bin/bin.sgi/idl: rld: Fatal Error:
attempted access to unresolvable symbol in
/home/climate/idl/fk/lib/libread_grib.so: s_copy

I hope that somebody will be able to give a clue to what might be the
problem.

Any help will be appreciated!

Greetings, Ole



The call looks like this:

tmp = CALL_EXTERNAL( shared_file,entry_name,filename,code,...,read_arr)
with some LONGs, strings and arrays. The large thing is
read_arr = FLTARR( 51200L*120L )

The fortran code is compiled with
f77 -n32 -c read_grib.f
ld -n32 -shared read_grib.o -lemos -o libread_grib.so

excerpts of the fortran:
SUBROUTINE read_grib(argc, argv)
INTEGER*4 argc, argv(*)
j= LOC(argc)

CALL read_grib1 ( %VAL(argv(1)


Sent via Deja.com http://www.deja.com/
Before you buy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL Programming Techniques, 1st edition on ebay
Next Topic: SEC : U Test Post Only - Please Ignore

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

Current Time: Wed Oct 08 11:51:17 PDT 2025

Total time taken to generate the page: 0.00501 seconds