Versions Compared

Key

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

...

You could run additional helper script called cryosparc_idle_watcher.sh to check whether there are any cryoSPARC worker jobs running and finish cryoSPARC master job when there aren't any jobs for some time. 


Code Block
titledatabase logidle watcher
cryosparc_idle_watcher <timeout>

...

  1. Start interactive job

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


  2. Load cryoSPARC environment using module (remember to use correct version of cryoSPARC)

    Code Block
    languagebash
    titleLoad cryoSPARC environment
    module add plgrid/apps/cryosparc/<version>


    Warning
    titlecryoSPARC 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


  3. Run script that update cluster lanes 

    Code Block
    languagebash
    titleLoad cryoSPARC environment
    cryosparc_lanes_updater


  4. Stop cryoSPARC master

    Code Block
    languagebash
    titlerun cryoSPARC master
    cryosparcm stop


  5. End interactive job

    Code Block
    languagebash
    titleend interactive job
    exit