Skip to content

Commit

Permalink
add logic to handle missing gnu binary on Azure
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardSnyder-NOAA committed Jun 11, 2024
1 parent bd481a4 commit 95d72b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modulefiles/wflow_noaacloud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ setenv("OPT","/contrib/EPIC/hpc-modules")
append_path("PATH","/contrib/EPIC/miniconda3/4.12.0/envs/regional_workflow/bin")
prepend_path("PATH","/contrib/EPIC/bin")

-- Add missing libstdc binary for Azure
if os.getenv("PW_CSP") == "azure" then
setenv("LD_PRELOAD","/opt/nvidia/nsight-systems/2023.1.2/host-linux-x64/libstdc++.so.6")
end

if mode() == "load" then
LmodMsgRaw([===[Please do the following to activate conda:
> conda activate srw_app
Expand Down

0 comments on commit 95d72b4

Please sign in to comment.