IDL5.4 CALL_EXTERNAL crashes IDL under IRIX [message #22558] |
Wed, 15 November 2000 00:00 |
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.
|
|
|