I cloned the repository but I am not succeeded to compile with cmake (which I am not used to use)
CC=mpicc FC=mpif90 cmake -DNetCDF_C_PATH=/usr/local/ -DNetCDF_Fortran_PATH=/usr/local/ -DPnetCDF_PATH=/usr/local -DPIO_ENABLE_TIMING=OFF src/
I have the following message:
CMake Error at clib/CMakeLists.txt:158 (message):
Must have PnetCDF and/or NetCDF C libraries
However netcdf and pnetcdf are installed and present in /usr/local/lib .
Thanks for insight about what I am doing wrong
I misunderstood the src part.
CC=mpicc FC=mpif90 cmake -DNetCDF_C_PATH=/usr/local/ -DNetCDF_Fortran_PATH=/usr/local/ -DPnetCDF_PATH=/usr/local -DPIO_ENABLE_TIMING=OFF . works fine
Hello,
I cloned the repository but I am not succeeded to compile with cmake (which I am not used to use) CC=mpicc FC=mpif90 cmake -DNetCDF_C_PATH=/usr/local/ -DNetCDF_Fortran_PATH=/usr/local/ -DPnetCDF_PATH=/usr/local -DPIO_ENABLE_TIMING=OFF src/ I have the following message: CMake Error at clib/CMakeLists.txt:158 (message): Must have PnetCDF and/or NetCDF C libraries However netcdf and pnetcdf are installed and present in /usr/local/lib . Thanks for insight about what I am doing wrong