NCAR 4 fails on SGI R8000 under IRIX64

From: Denis Laplante (laplante@XXXXXX)
Date: Wed Feb 14 1996 - 13:29:06 MST


  When the NCAR graphics library C routines are compiled with default option
"-64" on our SGI Power-Indigo-2 (R8000 CPU) gbytes() causes a core dump when
called from Fortran programs like tlocal in ncarg2d/src/bin/impltest/ . This
core dump goes away if all compilation is done with option "-32". The cause
is that addresses and longs become 8-byte values with "-64". Unfortunately
the NAG library is compiled with -64, and objects using differing address
length cannot be mixed.

  The only fix I see if for C routines callable from Fortran to change all
their parameters from declarations of "long" to "int". The hard part is
to get a list of all C routines callable from Fortran, and all C routines
which call C routines callable from Fortran.

-- Denis Laplante <laplante@ocgy.ubc.ca> -- Unix system admin --
-- UBC Oceanography / 6270 University Blvd -- TEL: 604/822-5871 --
-- Vancouver BC / CANADA / V6T 1Z4 -- --



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:45:35 MDT