Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoicon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2w
autoicon
Commits
89d90093
Commit
89d90093
authored
1 year ago
by
Oriol Tintó
Browse files
Options
Downloads
Patches
Plain Diff
Putting the spack cache and config to $SCRATCH instead of the WORKDIR.
parent
d5b337b6
Loading
Loading
No related merge requests found
Pipeline
#18711
failed
1 year ago
Stage: everything
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/01_real-from-ideal.sh
+3
-29
3 additions, 29 deletions
examples/01_real-from-ideal.sh
with
3 additions
and
29 deletions
examples/01_real-from-ideal.sh
+
3
−
29
View file @
89d90093
...
@@ -93,42 +93,16 @@ GIT:
...
@@ -93,42 +93,16 @@ GIT:
FETCH_SINGLE_BRANCH: True
FETCH_SINGLE_BRANCH: True
EOF
EOF
cat
>
autosubmit/
${
EXPID
}
/conf/myplatforms.yml
<<
EOF
#Platforms:
# LMU:
# TYPE: slurm
# HOST:
$HOSTNAME
# PROJECT:
$PROJECTNAME
# USER:
$(
whoami
)
# SCRATCH_DIR:
$WORKDIR
# ADD_PROJECT_TO_HOST: False
# MAX_WALLCLOCK: '48:00'
# TEMP_DIR: ''
# CUSTOM_DIRECTIVES: "#SBATCH --export=ALL,OMPI_MCA_btl_tcp_if_include=10.0.0.0/8"
#
# LRZ:
# # TYPE: slurm
# TYPE: ps
# HOST: LRZ-kcs
# PROJECT: lxcusers
# USER: ra57nun
# SCRATCH_DIR: /dss/dssfs02/lwp-dss-0001/uh211/uh211-dss-0000/ra57nun
# ADD_PROJECT_TO_HOST: False
# MAX_WALLCLOCK: '48:00'
# TEMP_DIR: ''
EOF
cat
>
autosubmit/
${
EXPID
}
/conf/myconf.yml
<<
EOF
cat
>
autosubmit/
${
EXPID
}
/conf/myconf.yml
<<
EOF
spack:
spack:
init: "" # command to load spack environment, e.g. module load spack, use spack/setup-env.sh if empty
init: "" # command to load spack environment, e.g. module load spack, use spack/setup-env.sh if empty
url: https://github.com/spack/spack.git # url to download spack if necessary
url: https://github.com/spack/spack.git # url to download spack if necessary
branch: develop # if downloaded, branch name to use
branch: develop # if downloaded, branch name to use
compiler: "gcc@11.3.0" # desired compiler for spack
compiler: "gcc@11.3.0" # desired compiler for spack
root: "
%HPCROOTDIR%/../
spack" # path to a spack install, will be downloaded to if not present
root: "
$SCRATCH
/autoicon-
spack" # path to a spack install, will be downloaded to if not present
externals: "slurm"
externals: "slurm"
user_cache_path: "
%HPCROOTDIR%/../
spackcache" # spack puts data here when bootstrapping, leave empty to use home folder
user_cache_path: "
$SCRATCH
/autoicon-
spackcache" # spack puts data here when bootstrapping, leave empty to use home folder
user_config_path: "
%HPCROOTDIR%/../
spackconfig" # spack puts data here when bootstrapping, leave empty to use home folder
user_config_path: "
$SCRATCH
/autoicon-
spackconfig" # spack puts data here when bootstrapping, leave empty to use home folder
disable_local_config: false # if true, spack installs into spack source dir
disable_local_config: false # if true, spack installs into spack source dir
upstreams: "/software/opt/focal/x86_64/spack/2023.02"
upstreams: "/software/opt/focal/x86_64/spack/2023.02"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment