Skip to content
Snippets Groups Projects
Commit 00788bd6 authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Adding a dummy run_icon to check if we can actually use the binary.

parent 3d56f23a
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,11 @@ JOBS: ...@@ -60,6 +60,11 @@ JOBS:
FILE: templates/build_icon.sh FILE: templates/build_icon.sh
WALLCLOCK: 01:00 WALLCLOCK: 01:00
RUN_ICON:
FILE: templates/run_icon.sh
DEPENDENCIES: BUILD_ICON
WALLCLOCK: 01:00
# INI: # INI:
# FILE: INI.sh # FILE: INI.sh
# DEPENDENCIES: REMOTE_SETUP # DEPENDENCIES: REMOTE_SETUP
......
# Get some variables provided by autosubmit.
WORKDIR=%HPCROOTDIR%
ICON_VERSION=%ICON_VERSION%
# Go to the working directory
cd ${WORKDIR}
# Activate spack
SPACK_ENV=spack/share/spack/setup-env.sh
source ${SPACK_ENV}
# Load icon module
spack load icon-nwp@%ICON_VERSION%
# Check if icon is in the proper place
which icon
# Try to run it
icon --help
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment