Skip to content
Snippets Groups Projects
Verified Commit d6a0d48d authored by Jayesh Badwaik's avatar Jayesh Badwaik
Browse files

+ add jedi CI

parent a5d28b19
No related branches found
No related tags found
No related merge requests found
Pipeline #203278 passed
# --------------------------------------------------------------------------------------------------
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2024 Jayesh Badwaik <j.badwaik@fz-juelich.de>
# --------------------------------------------------------------------------------------------------
jedi:
id_tokens:
SITE_ID_TOKEN:
aud: "https://gitlab.jsc.fz-juelich.de"
variables:
CUSTOM_CI_BUILDS_DIR: /p/scratch/cjsc/badwaik1.ci/exacb/examples/scaler
tags:
- jacamar
- jedi
- login
- shell
script:
- module load GCC CUDA OpenMPI CMake
- cmake -B build -S .
- cmake --build build
- cmake --install build --prefix opt
- jutil env activate --project cjsc --budget zam
- srun opt/bin/scaler --size 1024
#!/bin/bash -x
#SBATCH --job-name="scaler_execute_4"
#SBATCH --mail-user=
#SBATCH --mail-type=NONE
#SBATCH --nodes=1
#SBATCH --ntasks=4
#SBATCH --cpus-per-task=1
#SBATCH --time=00:05:00
#SBATCH --output=job.out
#SBATCH --error=job.err
#SBATCH --partition=all
#SBATCH --gres=NONE
ulimit -l unlimited
export OMP_NUM_THREADS="1"
module purge && module load Stages/2024 && module load GCC OpenMPI
JUBE_ERR_CODE=$?
if [ $JUBE_ERR_CODE -ne 0 ]; then
touch error
exit $JUBE_ERR_CODE
fi
srun --cpus-per-task=1 opt/bin/scaler --size 1024
JUBE_ERR_CODE=$?
if [ $JUBE_ERR_CODE -ne 0 ]; then
touch error
exit $JUBE_ERR_CODE
fi
JUBE_ERR_CODE=$?
if [ $JUBE_ERR_CODE -ne 0 ]; then
touch error
exit $JUBE_ERR_CODE
fi
touch ready
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment