Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start interactive job using command

    Code Block
    languagebash
    titleInteractive job
    srun -p plgrid-services --nodes=1 --ntasks=1 --time=0-1 --pty bash


  2. Load cryoSPARC environment using modules

    Code Block
    languagebash
    titleLoad cryoSPARC environment
    module add plgrid/apps/cryosparc/3.2


  3. Copy cluster config cluster_info.json  and script template cluster_script.sh from $CRYOSPARC_ADDITIONAL_FILES_DIR directory  to your working directory

    Code Block
    languagebash
    titleCopy files
    cp $CRYOSPARC_ADDITIONAL_FILES_DIR/cluster_info.json .
    cp $CRYOSPARC_ADDITIONAL_FILES_DIR/cluster_script.sh .


  4. Modify files accordingly
    1. in config cluster_info.json change name of lane/cluster to avoid overwriting default prometheus* lanes
    2. in cluster_script.sh change --time, --partition or other parts of script template accordingly
  5. Start  cryoSPARC master

    Code Block
    languagebash
    titlerun cryoSPARC master
    cryosparcm restart


  6. run command cryosparcm cluster connect <name-of-cluster-form-cluster_info.json> to add lane/cluster

    Code Block
    languagebash
    titleadd line
    cryosparcm cluster connect <name-of-cluster-form-cluster_info.json>


  7. Repeat above points to create another lane if necessary
  8. Stop cryoSPARC master

    Code Block
    languagebash
    titlerun cryoSPARC master
    cryosparcm stop


  9. End interactive job

    Code Block
    languagebash
    titleend interactive job
    exit


...