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

Home » Public Forums » archive » Help with CALL_EXTERNAL under HP Unix
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
Help with CALL_EXTERNAL under HP Unix [message #6430] Tue, 11 June 1996 00:00
Tim Patterson is currently offline  Tim Patterson
Messages: 65
Registered: October 1995
Member
I am writing a tool in IDL that has to run under a number of
different unix flavours and has to call up some external
Fortran routines via C wrappers.

I have the code wroking on OSF and Sun OS, and am porting it onto
an HP machine running HP-UX 9.05. (I only have remote access to this
machine).

I want to be able to use the same set of C Wrappers, and so I have
been using the +z option ot compile the code, to get Sun-like
object names with an appended underscore e.g. myroutine_

Unfortunately, when I try to call up these routines in the
same way that i do on the SunOS machine, I get dumped
out of IDL with the following error:

Signal 11: segmentation violation

PROCEDURE TRACEBACK:

( 0) 0x0001c510 fpset_freg_dp + 0xeb40
[/usr/local/rsi/idl_4/bin/bin.hp/idl]
( 1) 0x80ca45d0 I_10 + 0x80ca45d1
[/usr/local/rsi/idl_4/bin/bin.hp/idl]
Stack_Trace: error while unwinding stack


No core dump though.

Can anybody spot what I'm doing wrong? What is strange is that
the same procedure appears to have worked previously on another
HP machine. I know there are differences between different
version of HP Unix about whether the underscore gets appended.
Could that be the problem here?

Thanks for any help

Tim
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Contour irregular earth data?
Next Topic: Contour irregular earth data?

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

Current Time: Wed Oct 08 18:38:57 PDT 2025

Total time taken to generate the page: 0.00524 seconds