Hi,
I am using HADDOCK local version 2.4 successfully and now I want to start running HADDCOK using slurm. I read the tutorial online but did not understand it. Is this what I should do?
This it what I have now:
in run.cns
{===>} queue_1=“/bin/tcsh”;
{===>} cns_exe_1=“/home/qnt/drorimi2/software/cns_solve_1.3/intel-x86_64bit-linux/source/cns_solve-2305211622.exe”;
{===>} cpunumber_1=18;
and in config.local
set CNSTMP=/home/qnt/drorimi2/software/cns_solve_1.3/intel-x86_64bit-linux/source/cns_solve-2305211622.exe
set QUEUETMP=/bin/tcsh
set NUMJOB=4
set QUEUESUB=QueueSubmit_concat.py
Should I change in run.cns to {===>} queue_1=“sbatch”;
My script for slurm is:
#!/bin/bash
#SBATCH -p prod # Submit to ‘stdmemq’ Partitiion or queue
#SBATCH -J HADDOCK_4_4_5_f_6_1 # Name the job as ‘MPItest’
#SBATCH -o MCSA1test-%j.out # Write the standard output to file named ‘jMPItest-<job_number>.out’
#SBATCH -e MCSA1test-%j.err # Write the standard error to file named ‘jMPItest-<job_number>.err’
#SBATCH -t 0-10:00:00 # Run for a maximum time of 0 days, 12 hours, 00 mins, 00 secs
#SBATCH --nodes=1 # Request N nodes
#SBATCH --ntasks-per-node=18 # Request n cores or task per node
#SBATCH --mem-per-cpu=1GB # Request 4GB RAM per core
pwd # prints current working directory
date # prints the date and time
/usr/lib64/mpich/bin/mpirun -np --ntasks-per-node ??? <run_HADDOCK_slurm.sh> run_HADDOCK_slurm.out #run the MPI job
What should I have the executable file be? (instead of ???) and did I change run.cns correctly? is there any other file I should change? Where should I put the code provided in HADDOCK2.4 manual - Frequently Asked Questions – Bonvin Lab?
Thank you