-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make gfs-utils compile on CSPs with Rocky 8 #81
Conversation
prepend_path("PATH", "/contrib/EPIC/bin") | ||
load("gnu") | ||
load("stack-intel") | ||
load("stack-intel-oneapi-mpi") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2021.10.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
|
||
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.10.0" | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
unload("gnu") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what is going on here.
loading gnu, intel and impi, then loading a specific version of the intel and impi, and finally unloading gnu?
also, why is PATH being updated here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I feel that it is strange to load unload "gnu", but it seems that without load "gnu", we won't be able to load stack-intel properly.
The PATH update is not needed, check with SI team, and then tested to remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the error without loading GNU?
f4209e7
to
008794d
Compare
could some one review this PR please? |
This is because in " detect_machine.sh" we did not check if MACHINE_ID is
"noaacloud".
Do you want add it there?
…On Thu, Oct 17, 2024 at 10:57 AM Rahul Mahajan ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In modulefiles/gfsutils_noaacloud.intel.lua
<#81 (comment)>:
> @@ -2,15 +2,15 @@ help([[
Build environment for GFS utilities on NOAA Cloud
]])
-prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core")
-prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core")
+prepend_path("MODULEPATH", "/contrib/spack-stack-rocky8/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core")
+prepend_path("MODULEPATH", "/apps/modules/modulefiles")
+load("gnu")
+load("stack-intel")
+load("stack-intel-oneapi-mpi")
+unload("gnu")
Why is it returning WARNING: UNKNOWN PLATFORM? It should have detected
noaacloud, no?
—
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASMCH67YHS2WERZBWSGNPZ3Z37T77AVCNFSM6AAAAABNNFMMXGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNZVG44TAMBZG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It should. Are you setting |
PW_CSP is an ParallelWork env. var. we detect MACHINE_ID based on PW_CSP if
it is on CSPs.
Modified ush/module-setup to check PW_CSP and if it is on CSPs, get rid of
the warning message.
Code has push to branch.
On Thu, Oct 17, 2024 at 12:07 PM Rahul Mahajan ***@***.***>
wrote:
… This is because in " detect_machine.sh" we did not check if MACHINE_ID is
"noaacloud". Do you want add it there?
… <#m_3216837295982062920_>
On Thu, Oct 17, 2024 at 10:57 AM Rahul Mahajan *@*.*> wrote: @.**
commented on this pull request. ------------------------------ In
modulefiles/gfsutils_noaacloud.intel.lua <#81 (comment)
<#81 (comment)>>:
> @@ -2,15 +2,15 @@ help([[ Build environment for GFS utilities on NOAA
Cloud ]]) -prepend_path("MODULEPATH",
"/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core")
-prepend_path("MODULEPATH",
"/contrib/spack-stack/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core")
+prepend_path("MODULEPATH",
"/contrib/spack-stack-rocky8/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core")
+prepend_path("MODULEPATH", "/apps/modules/modulefiles") +load("gnu")
+load("stack-intel") +load("stack-intel-oneapi-mpi") +unload("gnu") Why is
it returning WARNING: UNKNOWN PLATFORM? It should have detected noaacloud,
no? — Reply to this email directly, view it on GitHub <#81 (comment)
<#81 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASMCH67YHS2WERZBWSGNPZ3Z37T77AVCNFSM6AAAAABNNFMMXGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNZVG44TAMBZG4
. You are receiving this because you authored the thread.Message ID: *@*
.***>
It should. Are you setting PW_CSP? Based on PW_CSP, MACHINE_ID is set to
noaacloud
—
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASMCH66UWT4VZ3TLQ43RW73Z374ERAVCNFSM6AAAAABNNFMMXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRQGIYDMOBYGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
stack_intel_ver=os.getenv("stack_intel_ver") or "2021.10.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.10.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stack_intel_ver=os.getenv("stack_intel_ver") or "2021.10.0" | |
load(pathJoin("stack-intel", stack_intel_ver)) | |
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.10.0" | |
local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.10.0" | |
load(pathJoin("stack-intel", stack_intel_ver)) | |
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.10.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happened to the local
change?
8f3a3b9
to
37624c1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
Support Rocky 8 on CSPs.
Description
Make gfs-utils compile on CSPs using Rocky 8.
Resolves #80
Type of change
Change characteristics
How has this been tested?
Checklist