[MacPorts] #34398: netcdf-fortran nf90_put_var(ncid,varid,real)

MacPorts noreply at macports.org
Thu May 10 10:21:06 PDT 2012


#34398: netcdf-fortran nf90_put_var(ncid,varid,real)
---------------------------+------------------------------------------------
 Reporter:  kgh03@…        |       Owner:  macports-tickets@…                   
     Type:  defect         |      Status:  new                                  
 Priority:  Normal         |   Milestone:                                       
Component:  ports          |     Version:  2.0.4                                
 Keywords:                 |        Port:                                       
---------------------------+------------------------------------------------
 i've isolated this issue by compiling the example code simple_xy_wr.f90,
 http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-
 tutorial/simple_005fxy_005fwr_002ef90.html

 changing the type of data_out from integer to real. when data_out is a
 real (array)
 real, dimension(:,:), allocatable :: data_out

 i get the following error:

  gfortran-mp-4.6  -I/opt/local/include -L/opt/local/lib -lnetcdf -lnetcdff
 -o wr simple_xy_wr2.f90
 simple_xy_wr2.f90:80.19:

        call check( nf90_put_var(ncid, varid, data_out) )
                    1
 Error: There is no specific function for the generic 'nf90_put_var' at (1)

 this code compiles fine on the linux boxes. but i get this error on lion,
 using gcc45 and gcc46.

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


More information about the macports-tickets mailing list