New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26674 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

missing netcdf.inc file

Reported by: pvalanju@… Owned by: takeshi@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: netcdf

Description (last modified by macsforever2000@…) (diff)

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

comment:1 Changed 3 years ago by macsforever2000@…

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

comment:2 Changed 3 years ago by takeshi@…

  • Status changed from new to closed
  • Resolution set to invalid

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.