Opened 12 years ago

Last modified 12 years ago

#34398 closed defect

netcdf-fortran nf90_put_var(ncid,varid,real) — at Version 1

Reported by: kgh03@… Owned by: takeshi@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: netcdf-fortran

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to takeshi@…
Port: netcdf-fortran added
Note: See TracTickets for help on using tickets.