[MacPorts] #34398: netcdf-fortran nf90_put_var(ncid,varid,real)
#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
#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
#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 ---------------------------+------------------------------------------------ Comment(by takeshi@…): I can't reproduce the problem. {{{ $ nm wr | grep nf90_put_var . U ___netcdf_MOD_nf90_put_var_2d_fourbytereal $ nm /opt/local/lib/libnetcdff.a | grep nf90_put_var_2d_fourbyterea 000000000002da50 T ___netcdf_MOD_nf90_put_var_2d_fourbytereal $ ./wr *** SUCCESS writing example file simple_xy.nc! }}} -- Ticket URL: <https://trac.macports.org/ticket/34398#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34398: netcdf-fortran nf90_put_var(ncid,varid,real) -----------------------------+---------------------------------------------- Reporter: kgh03@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: worksforme | Keywords: Port: netcdf-fortran | -----------------------------+---------------------------------------------- Changes (by takeshi@…): * status: new => closed * resolution: => worksforme Comment: The reporter doesn't respond. -- Ticket URL: <https://trac.macports.org/ticket/34398#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts