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.
Hi, Hi, Although you have installed Absoft compilers, they are not being found by the configure script, because apparently the gfortran compiler is found first in your PATH: ... configure: finding Fortran compiler (will not be used if Fortran API is not desired) checking for xlf90... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... gfortran checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes If you really want to use the Absoft compilers, you will need to modify your PATH so the Absoft bin directory appears earlier than the directory containing gfortran compiler in your PATH environment variable before running the configure script. However, I have installed an evaluation copy of the Absoft10 compilers for MacOS X on an Intel Mac, and I still encounter problems with running the configure script using the Absoft f77 and f95: checking for f95... f95 checking whether we are using the GNU Fortran compiler... no checking whether f95 accepts -g... no checking for xlf... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf77... no checking for lf95... no checking for gfortran... no checking for f77... f77 checking whether we are using the GNU Fortran 77 compiler... no checking whether f77 accepts -g... no configure: setting up Fortran 90 checking for Fortran flag to compile .f90 files... unknown I'm looking into a workaround for this, but haven't got it to work yet. There are notes about how to build with Absoft 9.2 compilers here, which may also work with Absoft 10 versions: http://www.unidata.ucar.edu/software/netcdf/docs/other-builds.html#absoft --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: OJP-212167 Department: Support netCDF Priority: Normal Status: Closed