CNS v.1.2 understands multithreading, and will automatically spawn four threads on a four-core machine. This means that you are better-off asking directly for -n4
cores (ie. a node) and avoid complications. To submit a job
-rw-r--r-- 1 glykos glykos 39938 Mar 20 16:46 anneal2.inp -rw-r--r-- 1 glykos glykos 282584 Apr 17 2008 bindividual8.pdb -rw-r--r-- 1 glykos glykos 1318953 Apr 17 2008 data.cv -rw-r--r-- 1 glykos glykos 360248 Apr 17 2008 generate_easy.mtf
cns_solve < anneal2.inp
anneal.sh
containing the following:#!/bin/tcsh -f cns_solve < anneal2.inp > /dev/null exit
sbatch -p fast -n4 anneal.sh
sbatch -n4 anneal.sh
Results will appear in the current directory, possible error messages in the file slurm-*.out