[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #GSR-922703]: netCDF General - Corrupt or Old Module file netcdf.mod
- Subject: [netCDF #GSR-922703]: netCDF General - Corrupt or Old Module file netcdf.mod
- Date: Fri, 08 Sep 2006 07:52:55 -0600
> Hi Ed,
>
> I am using a new machine with new FORTRAN compiler.
> I built netCDF library from source. When I compile (actually link) a
> simple program, there is an undefined reference to 'netcdf_nf90_open_'.
> I can find this 'netcdf_nf90_open_' in libnetcdf.a using nm, but somehow
> I can't link to it.
>
> My FORTRAN program is:
>
> Use netcdf
> Integer stat,pom
>
> Stat= nf90_open('pom_restart.nc', nf90_nowrite, pom)
>
> End
>
> Error message is:
>
> Mytest.o(.text+0x32): In function 'Main_':
> : undefined reference to 'netcdf_nf90_open_'
>
> I searched the archives for similar problem, and found one person had
> the same problem. But he didn't mention how he solve the problem.
>
> Thanks,
>
> Mingrui
>
>
>
Can you do a "make clean check" in the netCDF source directory, and send me the
complete output?
Thanks,
Ed
Ticket Details
===================
Ticket ID: GSR-922703
Department: Support netCDF
Priority: Normal
Status: Open