Hi people,
I want to convert my wrfout files from NetCDF to GRIB. While reading the options available to perform this task, I saw some people recommending the UPP software. However, I am struggling to install/compile the program. I followed the user guide, by I'm getting this error.
cd UPP/tests
./compile_upp.sh
Machine: unknown
-- The Fortran compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran - works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 - yes
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
-- Found MPI_C: /usr/lib64/mpi/gcc/mpich/lib64/libmpi.so (found version "3.1")
-- Found MPI_CXX: /usr/lib64/mpi/gcc/mpich/lib64/libmpicxx.so (found version "3.1")
-- Found MPI_Fortran: /usr/lib64/mpi/gcc/mpich/lib64/libmpifort.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
CMake Error at cmake/FindNetCDF.cmake:210 (message):
Unable to properly find NetCDF. Found static libraries at:
/home/ykaore/wrf/upp/UPP/NetCDF_C_LIBRARY-NOTFOUND but could not run nc-config: Call Stack (most recent call first): CMakeLists.txt:37 (find_package)
CMake Error at cmake/FindNetCDF.cmake:210 (message): Unable to properly find NetCDF. Found static libraries at: /home/ykaore/wrf/upp/UPP/NetCDF_Fortran_LIBRARY-NOTFOUND but could not run nc-config: Call Stack (most recent call first): CMakeLists.txt:37 (find_package)
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find NetCDF (missing: NetCDF_INCLUDE_DIRS NetCDF_LIBRARIES Fortran)
Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
cmake/FindNetCDF.cmake:284 (find_package_handle_standard_args) CMakeLists.txt:37 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ykaore/wrf/upp/UPP/tests/build/CMakeFiles/CMakeOutput.log".
See also "/home/ykaore/wrf/upp/UPP/tests/build/CMakeFiles/CMakeError.log".
Can someone help me? Thanks in advance.
I want to convert my wrfout files from NetCDF to GRIB. While reading the options available to perform this task, I saw some people recommending the UPP software. However, I am struggling to install/compile the program. I followed the user guide, by I'm getting this error.
cd UPP/tests
./compile_upp.sh
Machine: unknown
-- The Fortran compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran - works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 - yes
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
-- Found MPI_C: /usr/lib64/mpi/gcc/mpich/lib64/libmpi.so (found version "3.1")
-- Found MPI_CXX: /usr/lib64/mpi/gcc/mpich/lib64/libmpicxx.so (found version "3.1")
-- Found MPI_Fortran: /usr/lib64/mpi/gcc/mpich/lib64/libmpifort.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
CMake Error at cmake/FindNetCDF.cmake:210 (message):
Unable to properly find NetCDF. Found static libraries at:
/home/ykaore/wrf/upp/UPP/NetCDF_C_LIBRARY-NOTFOUND but could not run nc-config: Call Stack (most recent call first): CMakeLists.txt:37 (find_package)
CMake Error at cmake/FindNetCDF.cmake:210 (message): Unable to properly find NetCDF. Found static libraries at: /home/ykaore/wrf/upp/UPP/NetCDF_Fortran_LIBRARY-NOTFOUND but could not run nc-config: Call Stack (most recent call first): CMakeLists.txt:37 (find_package)
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find NetCDF (missing: NetCDF_INCLUDE_DIRS NetCDF_LIBRARIES Fortran)
Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
cmake/FindNetCDF.cmake:284 (find_package_handle_standard_args) CMakeLists.txt:37 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ykaore/wrf/upp/UPP/tests/build/CMakeFiles/CMakeOutput.log".
See also "/home/ykaore/wrf/upp/UPP/tests/build/CMakeFiles/CMakeError.log".
Can someone help me? Thanks in advance.