NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] Is this likely due to netcdf?


On 26 May 2010, at 18:33, H.Dang wrote:

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!

Your errors talk of out of date modules: are all modules all built with the compiler and the same version... F90 is picnickedty
M




Dr. Michael K Bane
Senior Development Officer
RESEARCH COMPUTING SERVICES
Devonshire House
Precinct Centre
The University of Manchester
Manchester
M13 9PL

www.rcs.manchester.ac.uk
www.twitter.com/mkbane_mcr
www.facebook.com/group.php?gid=73597922129



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