Skip to content

Commit

Permalink
Add comment for manual path prepend
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanBryan51 committed Jan 25, 2024
1 parent 56954e3 commit 9de1c10
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/offline/build3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ host_gadi()
module add intel-compiler/2019.5.281
module add netcdf/4.6.3
# This is required so that the netcdf-fortran library is discoverable by
# pkg-config:
PKG_CONFIG_PATH=${NETCDF_BASE}/lib/Intel/pkgconfig/:$PKG_CONFIG_PATH
# pkg-config (Note, we manually prepend to PKG_CONFIG_PATH instead of
# using `module prepend-path` so that we can invoke this script successfully
# in benchcab):
export PKG_CONFIG_PATH=${NETCDF_BASE}/lib/Intel/pkgconfig/:$PKG_CONFIG_PATH

if ! pkg-config --exists netcdf-fortran; then
echo ''
Expand Down

0 comments on commit 9de1c10

Please sign in to comment.