[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 20050419: NF90 error during netCDF 3.6.0-p1 compilation



Unidata Support <address@hidden> writes:

> ------- Forwarded Message
>
>>To: address@hidden
>>From: "Preethi Bhaskar" <address@hidden>
>>Subject: NF90 error
>>Organization: ?
>>Keywords: 200504191415.j3JEF8v2024550 netCDF Linux Intel Fortran90
>
> Sir,
>       I am trying  to install  netcdf-3.6.0-p1  in Linux9.0
> after successful installation (not sure, but binaries, libs and include files 
> are
> created and working fine)
>  i tried to compile a program using intel fortran 90 compiler. But i got an 
> error 
>
> "
> fortcom: Error: test.f90, line 13: This name does not have a type, and must 
> have an
> explicit type.   [NF90_OPEN]
>       err = nf90_open('data.cdf', NF_NOWRITE, ncidin)
> ------------^
> compilation aborted for test.f90  (code 1)"  
>
> when i changed the program for f77 with nf90_open to nf_open it works fine
>
> when i went back and have quick look at netcdf.inc i was not able to find   
> nf90_open.
>
> Is there any problem with my installation?
> How I can create netcdf include file with nf90.
> before ./configure script i set environmental variable as
> setenv f90   "/opt/intel_fc_80/bin/ifort"
> i will be grateful to you for any suggestion to get ride of my problem. 
>
> Thanks in advance
> Preethi
>
>
> Open WebMail Project (http://openwebmail.org)
>
> --
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.
>
> ------- End of Forwarded Message
>
>

Please go to the netcdf src directory and run:

"make distclean && ./configure && make test"

Save all the output.

Somewhere in there it runs some fortran 90 tests. You first need to
know if those tests passed.

Thanks,

Ed
-- 
Ed Hartnett  -- address@hidden