How to fix error “sub: Command not found. **** DRC runs finished with exit code 1 ****"
Viewing & Interfaces
The article explains why the users get and how to fix error
sub: Command not found.
**** DRC runs finished with exit code 1 ****
If the MGC_CALIBRE_VIEWER_MENU_CMDS environmental variable is set up with an old GUI drc.ci.custom file: % setenv MGC_CALIBRE_VIEWER_MENU_CMDS drc.ci.custom
and you opened the new gui with the existing runset file (runset created with the new Calibre Interactive GUI), you will most probably get the error as follows: bsub -I –R …. **** DRC runs finished with exit code 1 ****
If you check your runset file after this, you will notice that one keyword was changed automatically: From: cmn.cmnRunControl.runWhere.value = "local" To: cmn.cmnRunControl.runWhere.value = "lsf"
To fix this issue you can try the following steps: % unsetenv MGC_CALIBRE_VIEWER_MENU_CMDS % gvim runset_file
Edit the line to: cmn.cmnRunControl.runWhere.value = "local"