Forum - netcdf-cxx4-4.3.1

Jump to navigation Jump to search
Overview > Topics > Porting > netcdf-cxx4-4.3.1
[#25]

Dear all,

I confirmed that "make check" of netcdf-cxx4-4.3.1 was passed by NEC C/C++ compiler version 2.5.1, 3.0.8.

$ tar xzf netcdf-cxx4-4.3.1.tar.gz
$ cd netcdf-cxx4-4.3.1
$ export CC=ncc-3.0.8
$ export CXX=nc++-3.0.8
$ export LIBS="-lz -lhdf5 -lhdf5_hl -lnetcdf -ldl"
$ export LDFLAGS="-L<library directory path of zlib, hdf5 and netcdf-c>"
$ export CPPFLAGS="-I<include directory path of zlib, hdf5 and netcdf-c>"
$ export VE_LD_LIBRARY_PATH=<library path of zlib, hdf5, netcdf-c and netcdf-cxx>
$ ./configure --prefix=<netcdf-cxx install path>
$ make install
$ make check
Posted by NEC admin (administrator) on 17 June 2022 at 01:58.