This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>To: address@hidden >From: Nancy Kiang <address@hidden> >Subject: netcdf on Mac OS X with Absoft Fortran >Organization: NASA Goddard Institute for Space Studies >Keywords: 200409100019.i8A0JmnJ007693 Hi Nancy, > Hi, I am trying to install netcdf on my Powerbook G4 with Mac OS X. > I do not have the IBM xfl90, but I have Absoft 8.2 f90. My make > stalls with: > > 'Not making `f90/all' because no FORTRAN-90 compiler' > > Do you have tips for installing netcdf with Absoft f90? We don't have the Absoft compiler for Mac OS X installed here for testing, but here's a link to someone else who has succeeded with this combination, and how they did it: http://unidata.ucar.edu/packages/netcdf/other-builds.html#absoft-macosx The patch in the above should work fine with netCDF 3.5.1 also, since the cfortran.h file that is patched didn't change between 3.5.0 and 3.5.1. Alternatively, if you still have problems, you might also try the 3.6.0 beta release, which has a later version of cfortran.h, although I don't think the Absoft compiler support changed. Also, I noted in your configure.log: > checking user-defined Fortran-77 compiler "/usr/bin/g77"... failed to compile > test program because you have the environment variable FC=/usr/bin/g77. I would just use the Absoft f90 compiler for your f77 compiler as well, by setting FC=f90 or FC=/Applications/Absoft/bin/f90. It's necessary to successfully compile the F77 interface in order for the F90 interface to work, because the F90 interface depends on (and calls) the F77 interface. --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu/staff/russ --------------------------------------------------------------------- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.