NOTE: The netcdf-porting
mailing list is no longer active. The list archives are made available for historical reasons.
Hi Ed, Thanks. I think that your suggestion has worked as far as netcdf is concerned. I have compiled both 3.6.2 and 4.0.1. But when i compile an application (a climate model CAM3) using the 3.6.2 or 4.0.1 library i get the error: ld: 0711-317 ERROR: Undefined symbol: .nf_create I have tried using xlf, xlc, xlC, xlf90 compilers as well. This is the script i am using and the logfile for 4.0.1 is also attached. Is there anything that catches your attention? #!/usr/bin/bash -f gmake uninstall gmake distclean rm makelog.* LOG=makelog.$$ export CC=xlc_r export CXX=xlC_r export F77=xlf_r export FC=xlf90_r CFLAGS="-q64 -qarch=auto -O3" CXXFLAGS="-q64 -qarch=auto -O3" FFLAGS="-q64 -qarch=auto -O3" FCFLAGS="-q64 -qarch=auto -O3" #F77FLAGS="-q64" #export CPPFLAGS="-DIBMR2Fortran" export SED=/usr/bin/sed export AWK=/usr/bin/awk #export ARFLAGS="-X64" #export NMFLAGS="-X64" #export MAKE=/usr/bin/make ./configure --prefix=/home/caos1/mecsmrao/netcdf/netcdf_4.0.1 --enable-f90 2>&1 | tee $LOG gmake 2>&1 | tee -a $LOG gmake check 2>&1 | tee -a $LOG gmake install On Tue, May 19, 2009 at 5:46 PM, Ed Hartnett <ed@xxxxxxxxxxxxxxxx> wrote: > > Howdy! > > Try it without setting the CPPFLAGS. Don't do this: > > export CPPFLAGS="-DAIX -DIBMR2Fortran -Df2cFortran" > > You are telling it that it is two different type of fortran. > > Instead, just leave CPPFLAGS empty and see what the netCDF configure can > figure out on its own. > > Also, you should get the recently released 4.0.1 release from the netCDF > webpage... > > Thanks, > > Ed > > > -- > Ed Hartnett -- ed@xxxxxxxxxxxxxxxx > -- Thanks, Samrat Rao.
Attachment:
makelog.1028204
Description: Binary data
netcdf-porting
archives: