Versions Compared

Key

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

...

After changing cryoSPARC master version (i.e. by changing module that you load) cluster lanes are still pointing to previous version of cryoSPARC workers. It could show as error:

Code Block
languagepy
titleVersion mismatch
File "cryosparc_worker/cryosparc_compute/run.py", line 46, in cryosparc_compute.run.main 
AssertionError: Version mismatch! Worker version (v3.2.0+210629) and Master version (v3.2.0+210413) are not the same. Please update.

You have to update cluster lanes.

  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


  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