-
Notifications
You must be signed in to change notification settings - Fork 48
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
Update spack submodule from spack/develop as of 2024/01/26 #977
Changes from all commits
3066b6b
2366a91
8987394
f55f74c
7f4fb06
064ea42
da87ff5
a521bd0
edc602a
3e568fd
7bc5302
11fdc06
f57dd8c
60fa515
3aa0f62
ff91325
5c94aba
15f5dab
8bd29c7
0c40292
290ff2b
0ade34d
1247e9b
05d44b4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,9 @@ jobs: | |
export SPACK_SYSTEM_CONFIG_PATH="${ENVDIR}/site" | ||
|
||
# Find external packages | ||
spack external find --scope system --exclude bison --exclude openssl | ||
spack external find --scope system \ | ||
--exclude bison --exclude openssl \ | ||
--exclude python | ||
spack external find --scope system perl | ||
spack external find --scope system wget | ||
PATH="/opt/homebrew/opt/curl/bin:$PATH" \ | ||
|
@@ -77,7 +79,7 @@ jobs: | |
# *DH | ||
|
||
# Set compiler and MPI | ||
spack config add "packages:all:providers:mpi:[openmpi@4.1.6]" | ||
spack config add "packages:all:providers:mpi:[openmpi@5.0.1]" | ||
spack config add "packages:all:compiler:[[email protected]]" | ||
sed -i '' "s/\['\%aocc', '\%apple-clang', '\%gcc', '\%intel'\]/\['\%apple-clang'\]/g" $ENVDIR/spack.yaml | ||
|
||
|
@@ -136,7 +138,7 @@ jobs: | |
|
||
module use ${ENVDIR}/install/modulefiles/Core | ||
module load stack-apple-clang/14.0.3 | ||
module load stack-openmpi/4.1.6 | ||
module load stack-openmpi/5.0.1 | ||
module load stack-python/3.10.13 | ||
module available | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,11 @@ jobs: | |
export SPACK_SYSTEM_CONFIG_PATH="${ENVDIR}/site" | ||
|
||
# Find external packages | ||
spack external find --scope system --exclude bison --exclude openssl | ||
spack external find --scope system \ | ||
--exclude bison --exclude openssl \ | ||
--exclude python --exclude gettext | ||
# Need to find gettext outside of default (presumed to be a system) path for krb5 | ||
spack external find --path=/usr/local/Cellar/gettext/0.21.1 gettext | ||
spack external find --scope system perl | ||
spack external find --scope system wget | ||
PATH="/usr/local/opt/curl/bin:$PATH" \ | ||
|
@@ -70,7 +74,7 @@ jobs: | |
# *DH | ||
|
||
# Set compiler and MPI | ||
spack config add "packages:all:providers:mpi:[openmpi@4.1.6]" | ||
spack config add "packages:all:providers:mpi:[openmpi@5.0.1]" | ||
spack config add "packages:all:compiler:[[email protected]]" | ||
sed -i '' "s/\['\%aocc', '\%apple-clang', '\%gcc', '\%intel'\]/\['\%apple-clang'\]/g" $ENVDIR/spack.yaml | ||
|
||
|
@@ -127,7 +131,7 @@ jobs: | |
|
||
module use ${ENVDIR}/install/modulefiles/Core | ||
module load stack-apple-clang/14.0.0 | ||
module load stack-openmpi/4.1.6 | ||
module load stack-openmpi/5.0.1 | ||
module load stack-python/3.10.13 | ||
module available | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -285,5 +285,3 @@ modules: | |
- PKG_CONFIG_PATH | ||
lib64/pkgconfig: | ||
- PKG_CONFIG_PATH | ||
'': | ||
- CMAKE_PREFIX_PATH | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -284,5 +284,3 @@ modules: | |
- PKG_CONFIG_PATH | ||
lib64/pkgconfig: | ||
- PKG_CONFIG_PATH | ||
'': | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
- CMAKE_PREFIX_PATH |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -206,7 +206,9 @@ Remember to activate the ``lua`` module environment and have MacTeX in your sear | |
|
||
.. code-block:: console | ||
|
||
spack external find --scope system --exclude bison --exclude openssl | ||
spack external find --scope system \ | ||
--exclude bison --exclude openssl \ | ||
--exclude python | ||
spack external find --scope system libiconv | ||
spack external find --scope system perl | ||
spack external find --scope system wget | ||
|
@@ -249,7 +251,7 @@ Remember to activate the ``lua`` module environment and have MacTeX in your sear | |
# Check your clang version then add it to your site compiler config. | ||
clang --version | ||
spack config add "packages:all:compiler:[apple-clang@YOUR-VERSION]" | ||
spack config add "packages:all:providers:mpi:[openmpi@4.1.6]" | ||
spack config add "packages:all:providers:mpi:[openmpi@5.0.1]" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks like a good update too. Perhaps this will help with the MacOS build issue #971? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe |
||
|
||
8. If applicable (depends on the environment), edit the main config file for the environment and adjust the compiler matrix to match the compilers for macOS, as above: | ||
|
||
|
@@ -449,7 +451,7 @@ It is recommended to increase the stacksize limit by using ``ulimit -S -s unlimi | |
spack external find --scope system \ | ||
--exclude bison --exclude cmake \ | ||
--exclude curl --exclude openssl \ | ||
--exclude openssh | ||
--exclude openssh --exclude python | ||
spack external find --scope system wget | ||
spack external find --scope system mysql | ||
spack external find --scope system texlive | ||
|
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.
This was a duplicate, spack sets this variable automatically