To scratch or not to scratch ?

By default QCG will use $HOME as the place where the job sandboxes (i.e. directories that provides separation between different jobs and where input/output files are staged) will be created. If you wish you can configure it to use other partition than the home file system. However the partition must have a subdirectory for every user, e.g.

ls -1 /mnt/qcg
/mnt/qcg/user1
/mnt/qcg/user2
...
  • edit /etc/sysconfig/qcg-compd and set root directory of the job dirs.
    QCG_SCRATCH_DIR_ROOT=/mnt/qcg
    
  • set UseScratch option (put it above <FactoryAttributes>) in qcg-compd.xml:
    <UseScratch>true</UseScratch>
    <FactoryAttributes>
    ...