#34398: netcdf-fortran nf90_put_var(ncid,varid,real) ---------------------------+------------------------------------------------ Reporter: kgh03@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: netcdf-fortran ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => takeshi@… * port: => netcdf-fortran Old description:
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.
New description: 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#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS