[RegCNET] postNC help

Graziano Giuliani graziano.giuliani at aquila.infn.it
Mon Dec 6 09:09:36 CET 2010


[...]
I used regcm4 with netcdf4 and mpich2.1.2 and when I want to compile postnc I 
have error as the following: 

rcmNc.o:/home/climate/REGCM-4/RegCM-4.0/PostNc/./rcmNc.cpp:2109: more undefined 
references to `NcVar::put_rec(float const *, long)' follow 
make[1]: *** [icbc2netcdf] Error 2 
make[1]: Leaving directory `/home/climate/REGCM-4/RegCM-4.0/PostNc' 
make: *** [postnc] Error 2 
[...]

This seems to indicate that NetCDF library is not compiled with c++ interface, as the linker is unable to locate the NetCDF C++ API inside the lib.
Please consider recompile the NetCDF with C++ interface enabled (should be --enable-cxx).

Ciao!

Graziano.



More information about the RegCNET mailing list