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

Home » Public Forums » archive » call_external for Absoft FORTRAN on the Mac
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
call_external for Absoft FORTRAN on the Mac [message #6268] Thu, 23 May 1996 00:00
hamill is currently offline  hamill
Messages: 4
Registered: April 1996
Junior Member
A statement of my experiences running Absoft Fortran 77 version 4.1 in IDL
for Macintosh, using call_external. I came into this exercise with some
experience doing call_external on UNIX, interfacing to C and FORTRAN, and
little experience doing anything serious with the Mac. But it ended up
being pretty straightforward.

Some things took me by surprise. (1) In call_external I referred to UPPER
CASE entry point names ... even though one thinks of FORTRAN as a case
insensitive language. Used the upper case switch in the Absoft compiler.
You can list the contents of the shared library in MPW with the "DumpPEF
-e" command, which shows that the names are upper case. (2) The FORTRAN
wrapper is easy. In calling the "plain old FORTRAN" program from the
wrapper, use %VAL for every argument, and use the VAX compatilbility flags
to the compiler. (3) When you do FORTRAN output to unit "*" it appears in
a file (!!!) called stdout. Perhaps this is standard in the world of
Macintosh. In UNIX, such stuff conveniently appears in your terminal
emulator.

--
| Jim Hamill -- hamill@ais.net (home)
| or hamill@mailhub.nmg.sms.siemens.com (business)
|
| With interests in image processing, mathematics, physics,
| and especially nuclear medicine. And other stuff too.
[Message index]
 
Read Message
Previous Topic: Re: Outward tickmarks on plots
Next Topic: Problem with triangulate/trigrid using unevenly distributed data

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

Current Time: Wed Oct 08 20:00:08 PDT 2025

Total time taken to generate the page: 0.00258 seconds