Calibre
How to fix error “sub: Command not found. **** DRC runs finished with exit code 1 ****"
2023-07-12T12:36:54.000-0400
Viewing & Interfaces
Summary
The article explains why the users get and how to fix error
sub: Command not found.
**** DRC runs finished with exit code 1 ****
Details
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"