[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #BHB-499824]: Installing netcdf on Mac
- Subject: [netCDF #BHB-499824]: Installing netcdf on Mac
- Date: Tue, 03 Apr 2012 21:12:26 -0600
Hi,
> I was trying to install netcdf on my mac machine using pgi fortran, and
> got the following error message:
>
> error: Fortran could not compile .f90 files
>
> I have set
>
> export FCFLAGS=-qsuffix=cpp=f90
I don't think the "-qsuffix" option is available for the pgif90 compiler. I
have only seen it used
for the xlf90 compiler on AIX platforms.
If you are using netCDF version 4.1.3 or earlier, you can try these
instructions from another
netCDF user:
http://www.unidata.ucar.edu/netcdf/docs/other-builds.html#mac_pgi
or try these instructions from the Portland Group:
http://www.pgroup.com/resources/netcdf/netcdf411_pgi2011.htm
If you are using version 4.2, first build and install the netCDF C library
following these
instructions:
http://www.unidata.ucar.edu/netcdf/docs/building.html
then get the netcdf-fortran-4.2 package and build it according to these
instructions:
http://www.unidata.ucar.edu/netcdf/docs/netcdf-fortran-install.html
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: BHB-499824
Department: Support netCDF
Priority: Normal
Status: Closed