Benchmark / test report

Container name: Singularity.julia-1.7.2.localimage.sif

test script

#!/bin/bash
#SBATCH -N1
#SBATCH --ntasks-per-node=48
#SBATCH -J plcr-julia-cpu-test

PLCR=${PLCR:-/net/pr2/plcr}
CONT=${1:-Singularity.julia-1.7.2.localimage.sif}

echo "PLCR test: $SLURM_JOB_NAME"
echo "PLCR jobid: $SLURM_JOBID"
echo "PLCR path: $PLCR"

echo "Test performed on: "`date`
echo "Testing container: $CONT"
SHA=`dd bs=1M if=$PLCR/images/$CONT 2>/dev/null | sha256sum | cut -d' ' -f1`
echo "Container checksum: $SHA"

cd $TMPDIR

echo -e 'using Pkg;\nPkg.add("LinearAlgebra");\nusing LinearAlgebra;\nw = LinearAlgebra.peakflops(40000); println(w);' > j.jl

singularity -s run -B $TMPDIR -B $PWD:/host_pwd --pwd /host_pwd $PLCR/images/$CONT julia -t $SLURM_NTASKS j.jl
RC=$?

echo  "Test completed, rc=$RC"

test results

PLCR test: plcr-julia-cpu-test
PLCR jobid: 395925
PLCR path: /net/pr2/plcr
Test performed on: Fri May 13 11:08:00 CEST 2022
Testing container: Singularity.julia-1.7.2.localimage.sif
Container checksum: 5633c2e63ee748e8e6c06c49a06f237ef5b47d614a7e7c45d6cd59e9ad38a22a
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
  No Changes to `~/.julia/environments/v1.7/Project.toml`
  No Changes to `~/.julia/environments/v1.7/Manifest.toml`
6.354548073695247e11
Test completed, rc=0