IMSL routine access from IDL [message #4186] |
Sun, 07 May 1995 00:00 |
cramblit
Messages: 2 Registered: May 1995
|
Junior Member |
|
|
Does anyone know how to call IMSL routines
from within IDL under Solaris?
I am trying to use the IDL call_external
routine to call a C routine that, in turn, calls
routines in the IMSL library. The environment
is the Sun's Solaris operating system on a
sparcstation. I was able to do this under SunOs 4.x,
but under Solaris I find that, about 3 minutes after
making such a call, I get the cryptic message
"Alarm clock" and IDL execution terminates.
I am using the ld options
-L/usr/opt/lib -R/usr/opt/lib
-limsl -lF77 -lM77 -lm -lnsl -lsocket
-Y P,/opt/SUNWspro/SC2.0.1:/usr/ccs/lib:/usr/lib -lc
to create my shareable object module. It took some
trial and error to figure out these options, so the
problem might be here.
To execute IDL, I also must set the environment
variable LM_LICENSE_FILE so that IDL knows where its
license file is, but I must reset this from within IDL
so that IMSL will know where its license file is. The
problem may be here, as well.
Please respond by e-mail to cramblit@ecn.purdue.edu,
as I may not have access to the newsgroup this week. I'll
post a solution if one develops.
Bob Cramblitt
cramblit@ecn.purdue.edu
|
|
|