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

[netCDF #OMF-580812]: how to compile netcdf with "fPIC" options?



Hi,

Sorry this reply has taken so long.

If you have are using g77, try:

export CPPFLAGS=-Df2cFortran

or (for csh fans):

setenv CPPFLAGS -Df2cFortran

If you have are a Portland Group or Intel compiler, try:

export CPPFLAGS=-DpgiFortran

or (for csh fans):

setenv CPPFLAGS -DpgiFortran

If you have another type of compiler, try one of the two above choices. 
(pgiFortran seems to work more often than f2cFortran.)

Then cd to the netcdf build directory (the src subdirectory for release 3.6.1). 
Execute the following:

make distclean && ./configure && make test

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: OMF-580812
Department: Support netCDF
Priority: Urgent
Status: Closed