Skip to content

Commit

Permalink
Merge pull request #104 from mkandes/sdsc-0.17.3
Browse files Browse the repository at this point in the history
Complete inital synchronization of tscc/0.17.3/cpu and tscc/0.17.3/gpu deployments with sdsc/spack
  • Loading branch information
mkandes authored Sep 13, 2023
2 parents c14e1b7 + f1c6806 commit 0cf7ba9
Show file tree
Hide file tree
Showing 864 changed files with 1,561,855 additions and 0 deletions.
615 changes: 615 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

731 changes: 731 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

670 changes: 670 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

966 changes: 966 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

648 changes: 648 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

697 changes: 697 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

657 changes: 657 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

649 changes: 649 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

651 changes: 651 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

698 changes: 698 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

857 changes: 857 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,886 changes: 1,886 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]/[email protected]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

24,755 changes: 24,755 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]/[email protected]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

5,786 changes: 5,786 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]/[email protected]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,874 changes: 1,874 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]/[email protected]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

7,313 changes: 7,313 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]/[email protected]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,189 changes: 1,189 additions & 0 deletions etc/spack/sdsc/tscc/0.17.3/cpu/specs/[email protected]/[email protected]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

123,185 changes: 123,185 additions & 0 deletions .../sdsc/tscc/0.17.3/cpu/specs/[email protected]/[email protected]/[email protected]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
#!/usr/bin/env bash

#SBATCH [email protected]
#SBATCH --account=use300
#SBATCH --partition=hotel
#SBATCH --nodes=1
#SBATCH --qos hotel
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=8
#SBATCH --time=00:30:00
#SBATCH --output=%x.o%j.%N

declare -xr LOCAL_TIME="$(date +'%Y%m%dT%H%M%S%z')"
declare -xir UNIX_TIME="$(date +'%s')"

declare -xr SYSTEM_NAME='tscc'

declare -xr SPACK_VERSION='0.17.3'
declare -xr SPACK_INSTANCE_NAME='cpu'
declare -xr SPACK_INSTANCE_DIR="/cm/shared/apps/spack/${SPACK_VERSION}/${SPACK_INSTANCE_NAME}"

declare -xr SLURM_JOB_SCRIPT="$(scontrol show job ${SLURM_JOB_ID} | awk -F= '/Command=/{print $2}')"
declare -xr SLURM_JOB_MD5SUM="$(md5sum ${SLURM_JOB_SCRIPT})"

declare -xr SCHEDULER_MODULE='slurm'

echo "${UNIX_TIME} ${SLURM_JOB_ID} ${SLURM_JOB_MD5SUM} ${SLURM_JOB_DEPENDENCY}"
echo ""

cat "${SLURM_JOB_SCRIPT}"

module purge
module load "${SCHEDULER_MODULE}"
module list
. "${SPACK_INSTANCE_DIR}/share/spack/setup-env.sh"

declare -xr SPACK_PACKAGE='[email protected]'
declare -xr SPACK_COMPILER='[email protected]'
declare -xr SPACK_VARIANTS="mathlib=openblas"
declare -xr SPACK_DEPENDENCIES="^[email protected]/$(spack find --format '{hash:7}' [email protected] % ${SPACK_COMPILER}) ^[email protected]/$(spack find --format '{hash:7}' [email protected] % ${SPACK_COMPILER} +ilp64 threads=none)"
declare -xr SPACK_SPEC="${SPACK_PACKAGE}%${SPACK_COMPILER} ${SPACK_VARIANTS} ${SPACK_DEPENDENCIES}"

printenv

spack config get compilers
spack config get config
spack config get mirrors
spack config get modules
spack config get packages
spack config get repos
spack config get upstreams

#spack spec --long --namespaces --types "${SPACK_SPEC}"

if [[ "${?}" -ne 0 ]]; then
echo 'ERROR: spack concretization failed.'
exit 1
fi

time -p spack install -v --jobs "${SLURM_CPUS_PER_TASK}" --fail-fast --yes-to-all ${SPACK_SPEC}
if [[ "${?}" -ne 0 ]]; then
echo 'ERROR: spack install failed.'
exit 1
fi

spack module lmod refresh --delete-tree -y

sbatch --dependency="afterok:${SLURM_JOB_ID}" ''

sleep 20
Loading

0 comments on commit 0cf7ba9

Please sign in to comment.