3 #SBATCH --job-name=tf_subreddit_comments
4 ## Allocation Definition
5 #SBATCH --account=comdata-ckpt
6 #SBATCH --partition=ckpt
8 ## Nodes. This should always be 1 for parallel-sql.
10 ## Walltime (12 hours)
11 #SBATCH --time=12:00:00
14 #SBATCH --cpus-per-task=4
16 module load parallel_sql
18 #Put here commands to load other modules (e.g. matlab etc.)
19 #Below command means that parallel_sql will get tasks from the database
20 #and run them on the node (in parallel). So a 16 core node will have
21 #16 tasks running at one time.
22 parallel-sql --sql -a parallel --exit-on-term --jobs 4