From ScientificComputing
Jump to: navigation, search

You can submit a Q-Chem job (test.inp) in batch mode with the following command:

bsub [LSF options] "rusage[scratch=4000]" "export QCLOCALSCR=\$TMPDIR; qchem test.in test.out"

Here you need to replace [LSF options] with LSF parameters for the resource requirements of the job. Please find a documentation about the parameters of bsub on the wiki page about the batch system. Here, we are requesting local scratch space from the batch system and set the variable QCLOCALSCR to $TMPDIR. This will make sure that temporary files are saved on the local hard drive of the compute node, which gives a better performance compared to using a storage system that is attached via network to the cluster.