Skip to content

Commit

Permalink
Update build_nceplibs.sh
Browse files Browse the repository at this point in the history
Add a fix to allow for the crtm-2.4.0 serial build
  • Loading branch information
natalie-perlin authored Nov 9, 2022
1 parent c680449 commit 6c7e754
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libs/build_nceplibs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,12 @@ fi

cd ${HPC_STACK_ROOT}/${PKGDIR:-"pkg"}

# Download CRTM fix files
if [[ "$name" == "crtm" ]]; then
# Correction to allow for the crtm-2.4.0 serial build:
if [[ "${version}" == "v2.4.0" ]]; then
sed -i'.orig' -e 's/ find_package(MPI REQUIRED)/\# find_package(MPI REQUIRED)/g' ./cmake/FindNetCDF.cmake
fi
# Download CRTM fix files
if [[ ${STACK_crtm_install_fix:-} =~ [yYtT] ]]; then
if [[ ! -d crtm_fix-${install_as} ]]; then
crtm_tarball=fix_REL-${install_as}_emc.tgz
Expand Down

0 comments on commit 6c7e754

Please sign in to comment.