From d5f8f14bbf617c8960e5c125681666119c2c3074 Mon Sep 17 00:00:00 2001 From: Ed Safford <62339196+EdwardSafford-NOAA@users.noreply.github.com> Date: Thu, 21 Nov 2024 12:44:49 -0500 Subject: [PATCH] Update obs-monitor wcoss2 module. (#54) I ran into some problems updating the obs-mon ve on wcoss2 due mostly to existing issues. These are fixed and I've updated the python version as well. Small changes were required in the `wcoss2.lua` module to complete the ve update. The issue that prompted this fix was that plotting logos still didn't work on wcoss2 despite the recent update to eva. With this change and the rebuilt ve logos (and tight layout) now work on wcoss2. Closes #53 --- modulefiles/obs-monitor/wcoss2.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modulefiles/obs-monitor/wcoss2.lua b/modulefiles/obs-monitor/wcoss2.lua index 1e9587e..a90f3a1 100644 --- a/modulefiles/obs-monitor/wcoss2.lua +++ b/modulefiles/obs-monitor/wcoss2.lua @@ -9,7 +9,7 @@ local pkgNameVer = myModuleFullName() conflict(pkgName) -load ("python/3.10.4") +load ("python/3.12.0") local pyenvpath = "/lfs/h2/emc/da/noscrub/edward.safford/python/envs/" local pyenvname = "obs-mon" @@ -20,7 +20,7 @@ if (mode() == "load") then local activate_cmd = "source "..pyenvactivate execute{cmd=activate_cmd, modeA={"load"}} prepend_path("PATH", "/lfs/h2/emc/da/noscrub/edward.safford/python/envs/obs-mon/bin") - prepend_path("PYTHONPATH", "/lfs/h2/emc/da/noscrub/edward.safford/python/envs/obs-mon") + setenv("PYTHONPATH","/lfs/h2/emc/da/noscrub/edward.safford/python/envs/obs-mon/lib/python3.12/site-packages") else if (mode() == "unload") then