Skip to content

Instantly share code, notes, and snippets.

@bollig
bollig / 1_Spack_Binary_cache.md
Last active February 9, 2021 16:09 — forked from sean-smith/Spack_Binary_cache.md
Create a Cluster with Spack Binary Cache

Create a Cluster with Spack Binary Cache

This binary cache is a subset of the Exascale Computing Project's Extreme-Scale Scientific Software Stack (E4S) (https://oaciss.uoregon.edu/ecp/).

package install command working?
openfoam spack install --no-check-signature --cache-only openfoam
gromacs spack install --no-check-signature --cache-only gromacs
gromacs without SLURM/PMI support spack install --no-check-signature --cache-only gromacs ^openmpi~pmi schedulers=none
ior spack install --no-check-signature --cache-only ior
osu-micro-benchmarks spack install --no-check-signature --cache-only osu-micro-benchmarks
@sean-smith
sean-smith / pcluster_dcv_native_client.md
Last active August 15, 2022 06:32
Connect to DCV setup with AWS ParallelCluster using the Native Client

DCV Native Client w/ AWS ParallelCluster

  1. Setup a cluster with DCV
  2. Install the Native client: NICE DCV | Download
  3. Create a script pcluster-dcv-connect.py with the contents as shown below:
  4. Execute that script
# make sure you have pcluster installed
$ pcluster list --color
@sean-smith
sean-smith / multi-instance-type-pcluster.md
Last active August 24, 2021 23:10
AWS ParallelCluster Multi Instance Type

AWS ParallelCluster Multi-Instance Type

AWS ParallelCluster Architecture Diagram

This guide will help you setup a SPOT-based multi-instance type cluster. In order to accomplish this, we make a few assumptions:

a. Instances share the same number of vcpus, in this case it's all 96 vcpus:

@sean-smith
sean-smith / schedulers.md
Last active July 30, 2020 00:19
Scheduler Cheatsheet for AWS ParallelCluster

General

sge slurm torque
Submit Interactive Job qlogin srun qsub -I
Submit Batch Job qsub sbatch qsub
Number of Slots -pe mpi [n] -n [n] -l ppn=[n]
Number of Nodes -pe mpi [slots * n] -N [n] -l nodes=[n]
Cancel Job qdel scancel qdel
See Queue qstat squeue qstat