Skip to content

Commit

Permalink
Merge pull request #24 from NOAA-EMC/feature/cleanup
Browse files Browse the repository at this point in the history
cleanup grib_util
  • Loading branch information
kgerheiser authored Aug 18, 2020
2 parents e7c39a8 + 0f5d796 commit 57c8107
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 519 deletions.
18 changes: 12 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)

file(STRINGS "VERSION" pVersion)

project(grib_util VERSION ${pVersion} LANGUAGES C Fortran)
project(gributil VERSION ${pVersion} LANGUAGES C Fortran)

option(OPENMP "use OpenMP threading" OFF)

Expand All @@ -19,6 +19,12 @@ if(NOT CMAKE_C_COMPILER_ID MATCHES "^(Intel|GNU|Clang|AppleClang)$")
message(WARNING "Compiler not officially supported: ${CMAKE_C_COMPILER_ID}")
endif()

if(NOT CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel|GNU)$")
message(WARNING "Compiler not officially supported: ${CMAKE_Fortran_COMPILER_ID}")
endif()

include(GNUInstallDirs)

if(OPENMP)
find_package(OpenMP REQUIRED COMPONENTS Fortran)
endif()
Expand All @@ -27,10 +33,10 @@ find_package(Jasper REQUIRED)
find_package(PNG REQUIRED)
find_package(ZLIB REQUIRED)

find_package(w3nco CONFIG REQUIRED)
find_package(g2 CONFIG REQUIRED)
find_package(bacio CONFIG REQUIRED)
find_package(ip CONFIG REQUIRED)
find_package(sp CONFIG REQUIRED)
find_package(w3nco REQUIRED)
find_package(g2 REQUIRED)
find_package(bacio REQUIRED)
find_package(ip REQUIRED)
find_package(sp REQUIRED)

add_subdirectory(sorc)
Empty file modified README.install
100755 → 100644
Empty file.
35 changes: 0 additions & 35 deletions modulefiles/build_grib_util/cray/1.1.0

This file was deleted.

27 changes: 0 additions & 27 deletions modulefiles/build_grib_util/dell/1.1.0

This file was deleted.

27 changes: 0 additions & 27 deletions modulefiles/build_grib_util/ibm/1.1.0

This file was deleted.

27 changes: 0 additions & 27 deletions modulefiles/build_grib_util/theia/1.1.0

This file was deleted.

41 changes: 0 additions & 41 deletions modulefiles/build_wgrib2/cray/2.0.7

This file was deleted.

23 changes: 0 additions & 23 deletions modulefiles/build_wgrib2/dell/2.0.7

This file was deleted.

28 changes: 0 additions & 28 deletions modulefiles/build_wgrib2/ibm/2.0.7

This file was deleted.

27 changes: 0 additions & 27 deletions modulefiles/build_wgrib2/theia/2.0.7

This file was deleted.

34 changes: 0 additions & 34 deletions modulefiles/grib_util/cray/1.1.1

This file was deleted.

35 changes: 0 additions & 35 deletions modulefiles/grib_util/cray/1.1.1_nceplibs

This file was deleted.

36 changes: 0 additions & 36 deletions modulefiles/grib_util/dell/1.1.1

This file was deleted.

Loading

0 comments on commit 57c8107

Please sign in to comment.