...
Start interactive job using command
Code Block language bash title Interactive job srun -p plgrid-services --nodes=1 --ntasks=1 --time=0-1 --pty bash
Load cryoSPARC environment using modules
Code Block language bash title Load cryoSPARC environment module add plgrid/apps/cryosparc
Copy cluster config
cluster_info.json
and script templatecluster_script.sh
from$CRYOSPARC_ADDITIONAL_FILES_DIR
directory to your working directoryCode Block language bash title Copy files cp $CRYOSPARC_ADDITIONAL_FILES_DIR/cluster_info.json . cp $CRYOSPARC_ADDITIONAL_FILES_DIR/cluster_script.sh .
- Modify files accordingly
- in config
cluster_info.json
change name of lane/cluster to avoid overwriting default prometheus* lanes - in
cluster_script.sh
change--time
,--partition
or other parts of script template accordingly
- in config
Start cryoSPARC master
Warning title cryoSPARC master job There should be only one job which run cryoSPARC master per user. Therefore you should stop job with cryoSPARC master before this step.
Code Block language bash title run cryoSPARC master cryosparcm restart
run command
cryosparcm cluster connect <name-of-cluster-form-cluster_info.json>
to add lane/clusterCode Block language bash title add line cryosparcm cluster connect <name-of-cluster-form-cluster_info.json>
- Repeat above points to create another lane if necessary
Stop cryoSPARC master
Code Block language bash title run cryoSPARC master cryosparcm stop
End interactive job
Code Block language bash title end interactive job exit
Upgrading do newer version
cryoSPARC is updated frequently with updates and patches (see https://cryosparc.com/updates). For each new version new module in plgrid/apps/cryosparc
is created, which is made default after testing (among other test also with standard benchmark). To upgrade to new version one has to
- End all running cryoSPARC jobs.
- Update
cryosparc-master.slurm
script (or check that it uses default cryoSPARC module). - Manually update all lanes created (both those created during configuration and added later). Script described in Known problems and issues section could used to automate this process.
- Restart cryoSPARC master server.
Known problems and issues
...