[MacPorts] #30572: netcdf @4.1.3 no netcdf.mod file

MacPorts noreply at macports.org
Wed Aug 3 06:01:21 PDT 2011


#30572: netcdf @4.1.3 no netcdf.mod file
----------------------------------------+-----------------------------------
 Reporter:  barrier.nicolas@…           |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:                                       
Component:  ports                       |     Version:  2.0.1                                
 Keywords:                              |        Port:                                       
----------------------------------------+-----------------------------------
 Hi

 I have a problem when trying to use the netcdf library (installed with
 macport) on a f90 program. I have the following error:

 gfortran cdfio.f90 cdfio.o -L//opt/local/lib -lnetcdf
 cdfio.f90:18.13:

   USE netcdf
             1
 Fatal Error: Can't open module file 'netcdf.mod' for reading at (1): No
 such file or directory

 Indeed, I have no netcdf.mod file in the installation directory. So my
 first question is: how can I build this .mod file? And do I have the
 possibility to choose the fortran compiler?

 Thanks

-- 
Ticket URL: <https://trac.macports.org/ticket/30572>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list