I tried removing both lines but the system still reads them as being there and the configure gives the same error message. I assume the file is referenced somewhere else as well, but I can't find where. I decided to see if I could bypass the error by running a default version of CAM using
%setenv INC_NETCDF /usr/local/include
% setenv LIB_NETCDF /usr/local/lib
%$camcfg/configure -dyn fv -hgrid 10x15 -nospmd -nosmp
instead of
% configure -case
while at the same time running -test to show me any errors I might have.
The configure worked, but the test picked up the following:
Looking for a valid GNU make... using gmake
Test linking to NetCDF library... **** FAILED ****
Issued the command:
gmake -f /Users/Will/ccsm4_working_copy/models/atm/cam/bld/Makefile test_nc 2>&1
The output was:
/Users/Will/ccsm4_working_copy/models/atm/cam/bld/mkSrcfiles > /Users/Will/ccsm4_working_copy/models/atm/cam/bld/configure-tests/Srcfiles
/Users/Will/ccsm4_working_copy/models/atm/cam/bld/mkDepends Filepath Srcfiles > /Users/Will/ccsm4_working_copy/models/atm/cam/bld/configure-tests/Depends
xlf90_r -c -qsuffix=f=f90:cpp=F90 -I. -I/Users/Will/ccsm4_working_copy/models/atm/cam/bld/configure-tests -I/usr/local/include -I/usr/local/include -WF,-DNO_SHR_VMATH -WF,-DSEQ_MCT -WF,-DFORTRAN_SAME -WF,-DCO2A -WF,-DMAXPATCH_PFT=numpft+1 -WF,-DLSMLAT=1 -WF,-DLSMLON=1 -WF,-DCOUP_DOM -WF,-DPLON=24 -WF,-DPLAT=19 -WF,-DPLEV=26 -WF,-DPCNST=3 -WF,-DPCOLS=16 -WF,-DPTRM=1 -WF,-DPTRN=1 -WF,-DPTRK=1 -WF,-DSTAGGERED -WF,-DCCSMCOUPLED -WF,-Dcoupled -WF,-Dncdf -WF,-DNCAT=1 -WF,-DNXGLOB=24 -WF,-DNYGLOB=19 -WF,-DNTR_AERO=0 -WF,-DBLCKX=24 -WF,-DBLCKY=19 -WF,-DMXBLCKS=1 -WF,-D_USEBOX -WF,-D_NETCDF -WF,-DAIX -WF,-DDarwin -qspillsize=2500 -O3 -qstrict -WF,-DHIDE_MPI,-D_MPISERIAL test_nc.F90
gmake: xlf90_r: Command not found
gmake: *** [test_nc.o] Error 127
then if I try to issue the make command, I get the same error on the last two lines. I assumed the error would continue when I attempted to build the namelist using
cd /work/user/cam_test
% setenv CSMDATA /fs/cgd/csm/inputdata
% $camcfg/build-namelist -test -config /work/user/cam_test/bld/config_cache.xml
but the error is
** build-namelist - CCSM inputdata root is not a directory: "./Desktop/CSMDATA" **
Are these two completely separate issues?
Thanks