Adam Povey
Adam Povey
I have had an equivalent issue compiling v4.5.3, receiving the following error when I use `CMAKE_PREFIX_PATH` ``` CMake Error at /data/ifort_scratch/netcdf-fortran/build/CMakeFiles/CMakeTmp/CMakeLists.txt:18 (add_executable): Target "cmTC_ea817" links to target "hdf5::hdf5_hl-shared" but the...
Just confirming that this is still an issue for v4.9.0, with cmake ignoring the prefix provided and linking against system versions of the libraries (I'm at a university and don't...
I've tried cmake 3.22.0 (installed natively) and 3.23.2 (installed within a conda environment).
I encountered a similar error when attempting to build with gfortran 11 installed via a conda environment (such that libraries aren't necessarily in the default locations). A successful workaround was...
@zexhan07 The following worked for me, ``` git clone [email protected]:Unidata/netcdf-fortran.git cd netcdf-fortran git checkout v4.5.3 mkdir build cd build cmake -DCMAKE_PREFIX_PATH="$LIB_DIR" \ -DnetCDF_LIBRARIES="$LIB_DIR/lib/libnetcdf.so" \ -DnetCDF_INCLUDE_DIR="$LIB_DIR/include" \ -DCMAKE_BUILD_TYPE="Release" \ -DBUILD_SHARED_LIBS=ON \...
I wouldn't say it's massively urgent as I've added the necessary variable to my outputs, but until I can add attributes it won't be CF-compliant, which will be a problem...
CIS does not automatically know how to open every type of file; it needs a plugin to explain the format. DARDAR data is not covered by the basic release of...
It looks like the easiest fix is to replace float division / with integer division // in those lines. Any obvious reason why that wouldn't work?
Trying it in my own code doesn't work as you end up with a 2030x1350 coordinate and a 2030x1354 data field. It appears some rounding was being done somewhere.
Could you provide a minimal example of the collocation you're running? I haven't encountered this problem but have a suspicion what it might be.