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

[netCDF #SWV-560841]: Linking problem to pgf90 (Fortran90, Portland compiler)

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #SWV-560841]: Linking problem to pgf90 (Fortran90, Portland compiler)
  • Date: Thu, 01 Mar 2007 08:19:20 -0700

> Dear Ed
> 
> I have run the command "make clean check". See attatched file for
> details.
> I did not find anything with tst_f90.f90 (or tst at all in fact).
> I do not see any failures or error when running the command. So, this
> check did unfortunately not give me any new information.
> 
> best regards> 
> 
> 


Right here:
/opt/pgi/linux86/6.2/bin/pgf90 -o netcdf_test   netcdf_test.f90 netcdf.o 
typeSizes.o ../libsrc/libnetcdf.a

(Sorry, the name changed in the next release, that's why I got it wrong.)

This works by linking to netcdf.o and typeSizes.o. First, try that. 

If that works, try it with the .mod files, and see if that works...

THanks,

Ed

Ticket Details
===================
Ticket ID: SWV-560841
Department: Support netCDF
Priority: Normal
Status: Open