Benchmark / test report

Container name: Singularity.SageMath-9.5-foss-2021b.sif

test script

#!/bin/bash
#SBATCH -N1
#SBATCH --ntasks-per-node=1
#SBATCH --mem=180gb
#SBATCH -J plcr-sagemath-cpu-test
#SBATCH -t 30:00

PLCR=${PLCR:-/net/pr2/plcr}
CONT=${1:-Singularity.SageMath-9.5-foss-2021b.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

export SAGE_NUM_THREADS=$SLURM_NTASKS

echo -e  'import sage.matrix.benchmark as b\nb.MatrixVector_QQ(2e4)' | $PLCR/images/$CONT sage
RC=$?

echo  "Test completed, rc=$RC"

test results

PLCR test: plcr-sagemath-cpu-test
PLCR jobid: 395940
PLCR path: /net/pr2/plcr
Test performed on: Fri May 13 11:30:13 CEST 2022
Testing container: Singularity.SageMath-9.5-foss-2021b.sif
Container checksum: ebc6dbaa2a919dabb525c745f52a5fc6401f23ac016877359e38c6f2fdc30f35
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.5, Release Date: 2022-01-30                     │
│ Using Python 3.9.6. Type "help()" for help.                        │
└────────────────────────────────────────────────────────────────────┘
sage: sage: 282.63052600000003
sage: Exiting Sage (CPU time 5m25.88s, Wall time 5m29.02s).
Test completed, rc=0