Skip to content
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

[TEST] RISC-V bot #803

Open
wants to merge 33 commits into
base: 2023.06-software.eessi.io
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
73652d1
easystack file to test RISC-V bot
bedroge Nov 1, 2024
6411fe7
use EESSI_CVMFS_REPO
bedroge Nov 15, 2024
9af1360
add modulefile for RISC-V version 20240402
bedroge Nov 15, 2024
e4b4a8f
use EESSI_VERSION instead of hardcoding the version
bedroge Dec 3, 2024
17daa4c
add system easystack for EESSI-extend
bedroge Dec 3, 2024
74dcb6a
Merge branch '2023.06-software.eessi.io' of github.com:EESSI/software…
bedroge Dec 3, 2024
4006221
remove version from EESSI-extend easyconfig
bedroge Dec 3, 2024
251a396
use renamed easyconfig for EESSI-extend
bedroge Dec 3, 2024
cebc099
use renamed easyconfig for EESSI-extend
bedroge Dec 3, 2024
920f5fc
add riscv64 to local_arch_specific_deps_to_filter
bedroge Dec 3, 2024
6433728
renamed, remove version from filename
bedroge Dec 3, 2024
3452993
use JOB_STORAGE as parent dir for SINGULARITY_TMPDIR
bedroge Dec 4, 2024
9c32981
use JOB_STORAGE as parent dir for SINGULARITY_TMPDIR
bedroge Dec 4, 2024
0c5a4dd
skip CUDA installation for riscv.eessi.io
bedroge Dec 4, 2024
8c260c6
debug
bedroge Dec 5, 2024
9a8d0a8
dont install cuda for any repo named riscv.eessi.io*
bedroge Dec 5, 2024
aa08fc1
more debugging output
bedroge Dec 5, 2024
dfe7f79
print message when disabling CUDA for RISC-V
bedroge Dec 5, 2024
ebad04b
move code block that disables CUDA installation for RISC-V
bedroge Dec 5, 2024
de06aab
reorder code for resuming from a dir/tarball, always create job stora…
bedroge Dec 5, 2024
851fdae
fix typo in debug message
bedroge Dec 5, 2024
b602e42
use variables for repository id and name, and use the appropriate one…
bedroge Dec 5, 2024
a93a2a3
sync with main branch
bedroge Dec 7, 2024
9ea2830
readd blank line
bedroge Dec 7, 2024
02f1e1b
remove redundant line
bedroge Dec 7, 2024
e845c68
remove RISC-V module file
bedroge Dec 9, 2024
fd07072
stick to init/bash for risc-v
bedroge Dec 9, 2024
1106fad
comment RISC-V init, try another approach with the module file
bedroge Dec 9, 2024
061d4f0
switch to RISC-V dev repo for RISC-V clients
bedroge Dec 9, 2024
2b853ff
use correct check in if statement
bedroge Dec 9, 2024
53c8409
symlink 20240402 to 2023.06
bedroge Dec 9, 2024
9f22039
use EESSI_VERSION_OVERRIDE to detect RISC-V repo version, fallback to…
bedroge Dec 9, 2024
0cafae8
subprocess instead of capture
bedroge Dec 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,13 @@ module --force purge
module unuse $MODULEPATH

# Initialize the EESSI environment
module use $TOPDIR/init/modules
module load EESSI/$EESSI_VERSION
#if [[ ${EESSI_CVMFS_REPO} == "/cvmfs/riscv.eessi.io" ]]; then
# # For the RISC-V repository we don't have a module file, so stick to the bash init script
# source $TOPDIR/init/bash
#else
module use $TOPDIR/init/modules
module load EESSI/$EESSI_VERSION
#fi

# make sure we're in Prefix environment by checking $SHELL
# We can only do this after loading the EESSI module, as we need ${EPREFIX}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
easyconfigs:
- EESSI-extend-easybuild.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
easyconfigs:
- GCCcore-13.2.0.eb
7 changes: 7 additions & 0 deletions init/modules/EESSI/2023.06.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ whatis("URL: https://www.eessi.io/docs/")
conflict("EESSI")
local eessi_version = myModuleVersion()
local eessi_repo = "/cvmfs/software.eessi.io"
if (subprocess("uname -m"):gsub("\n$","") == "riscv64") then
eessi_version = os.getenv("EESSI_VERSION_OVERRIDE") or "20240402"
eessi_repo = "/cvmfs/riscv.eessi.io"
LmodMessage("RISC-V architecture detected, but there is no RISC-V support yet in the production repository.\n" ..
"Automatically switching to version " .. eessi_version .. " of the RISC-V development repository " .. eessi_repo .. ".\n" ..
"For more details about this repository, see https://www.eessi.io/docs/repositories/riscv.eessi.io/.")
end
local eessi_prefix = pathJoin(eessi_repo, "versions", eessi_version)
local eessi_os_type = "linux"
setenv("EESSI_VERSION", eessi_version)
Expand Down
1 change: 1 addition & 0 deletions init/modules/EESSI/20240402.lua
Loading