Opened 14 years ago

Closed 14 years ago

#26674 closed defect (invalid)

missing netcdf.inc file

Reported by: pvalanju@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: netcdf

Description (last modified by mf2k (Frank Schima))

I have installed netcdf @4.1.1_0 (active) using port but the file netcdf.inc is missing in the $NETCDF_DIREC/include folder. No errors were seen during installation.
Q1: How do I get netcdf.inc?
Q2: Is this a bug or is this normal for netcdf4.1.1? If this is normal, how should I change my compile scripts to use netcdf?
My system: MAC OSX 10.5.8, Quad-core Intel Xeon

Change History (2)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: netcdf removed
Owner: changed from macports-tickets@… to takeshi@…

comment:2 Changed 14 years ago by tenomoto (Takeshi Enomoto)

Resolution: invalid
Status: newclosed

Fortran interface is an option. It used to be a default to install Fortran interface but it requires gcc44, which takes long time to build. If you prefer g95 to gfortran, g95 should build much faster since it does not build java etc. You could specify gcc43, gcc44 or g95 as a variant. You need to deactivate or uninstall the current netcdf installation. BTW, netcdf 4.1.1_0 is old. I recommend to update the port tree before you proceed.

$ sudo port -d sync
$ sudo port -d deactivate netcdf
$ sudo port -d install netcdf +g95
Note: See TracTickets for help on using tickets.