...
Start interactive job using command
Code Block language bash title Interactive job srun -p plgrid-services --nodes=1 --ntasks=1 --mem=5GB --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
...