Opened 13 years ago
Closed 12 years ago
#34398 closed defect (worksforme)
netcdf-fortran nf90_put_var(ncid,varid,real)
Reported by: | kgh03@… | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
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 (3)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to takeshi@… |
Port: | netcdf-fortran added |
comment:2 Changed 13 years ago by tenomoto (Takeshi Enomoto)
comment:3 Changed 12 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
The reporter doesn't respond.
Note: See
TracTickets for help on using
tickets.
I can't reproduce the problem.