This OnDemand CryoSPARC app launches CryoSPARC (both master and worker processes) on a single compute node.
The CryoSPARC master can be accessed via a web browser in an OOD Remote Desktop, or local web browser with SSH port forwarding.
- Slurm cluster
- Apptainer or SingularityCE
- CryoSPARC license
- After obtaining a CryoSPARC license, download the master and worker tarballs:
version=4.7.1
license_id=...CRYOSPARC_LICENSE_ID...
curl -o cryosparc-master_v${version}.tar.gz -L https://get.cryosparc.com/download/master-v${version}/${license_id}
curl -o cryosparc-worker_v${version}.tar.gz -L https://get.cryosparc.com/download/worker-v${version}/${license_id}
-
Build the SIF image (from the same working directory as the CryoSPARC master/worker tarballs):
singularity build --fakeroot cryosparc.sif Singularity.def
- form.yml.erb - replace
odyssey3with a valid cluster OOD cluster configuration name - template/script.sh.erb - replace
${HOME}/cryosparc.sifwith the path to the cryosparc.sif built in Install step 2 - template/before.sh.erb - (if necessary) replace
find_port localhost 7000 11000with valid port range in your environment
- Download the test data set to a filesystem accessible from all compute nodes:
singularity exec --env CRYOSPARC_DB_PATH=/ --env CRYOSPARC_BASE_PORT=1 cryosparc.sif cryosparcm downloadtest
tar -xf empiar_10025_subset.tar
-
Launch the CryoSPARC OOD batch app.
- The CryoSPARC database path should be on a shared filesystem for persistence after the OOD job terminates.
- Many CryoSPARC jobs require least 1 GPU.
-
After CryoSPARC is ready, instructions on connecting to the CryoSPARC master from an OOD Remote Desktop or local web browser (with SSH tunneling) will be shown.
-
Verify the CryoSPARC Installation with the Extensive Validation Job
- In the "Path to Dataset Data" textbox, enter the absolute path to the empiar_10025_subset directory extracted in step 1
Kevin Dalton, Milson Munakami, Nathan Weeks