Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[netcdfgroup] Is this likely due to netcdf?

Hello~

I met the following problem when I compiling CMAQ source codes:

 
-DSUBST_PADAT_ID=\"/brosto2/jcl_data/hdang/M3HOME/CMAQ_ADJv4.5/models/include/release/pa_noop/PA_DAT.EXT\"
calc_obsgrad.F
PGF90-F-0004-Corrupt or Old Module file
/brosto2/jcl_data/hdang/M3HOME/CMAQ_ADJv4.5/scripts/cctm/MOD_DIR/netcdf.mod
(calc_obsgrad.F: 55)
PGF90/any Linux/x86-64 6.1-6: compilation aborted
make: *** [calc_obsgrad.o] Error 2

If I comment out the line "use netcdf" in calc_obsgrad.F, I can get the
object file. I've "make clean" the netcdf, deleted files in include/ and
lib/ folder, and re-installed netcdf, but I get the same problem again. The
process I install netcdf-3.6.2 is:

./configure --prefix=[current path]
make CC=gcc CPP=g++
make install
make check

seems no problem. My CMAQ code and netCDF work well on another machine.

Thank you!

-- 
Cordially,
Hongyan
鸿雁
  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: