Forum - netCDF-C 4.9.1

Jump to navigation Jump to search
Overview > Topics > Porting > netCDF-C 4.9.1
[#127]

Hello,

I confirmed that "make check" of netcdf-c-4.9.1 was passed by NEC C/C++ compiler version 4.0.0 with the attached patch. This patch is necessary to suppress side effect of vectorization.

$ tar xzf netcdf-c-4.9.1.tar.gz
$ cd netcdf-c-4.9.1
$ patch -p0 < ncx-4.9.1.patch
$ export CC=ncc-4.0.0
$ export LDFLAGS="-L<library directory path of zlib and hdf5>"
$ export CPPFLAGS="-I<include directory path of zlib and hdf5>"
$ export VE_LD_LIBRARY_PATH=<library path of zlib, hdf5 and netcdf-c>
$ ./configure --disable-dap --disable-byterange --prefix=<netcdf-c install path>
$ make install
$ make check
Posted by Mit-niki on 16 February 2023 at 08:38.
Edited by Mit-niki on 16 February 2023 at 09:29.