title: Run jobs with SLURM on two nodes on IDLE status
body: <p>I'm new with slurm and I have two nodes on IDLE status but my jobs run only on one of them, the master node (node01), while I do not understand why the second one (node02) doesn't run jobs.</p>
  <p>I created a while loop for 500 jobs to submit</p>
  <p><code>while read f1 f2; do sbatch myscript.sh ${f1} ${f2}; done &lt; list.txt</code></p>
  <p>On the header of the script &quot;myscript.sh&quot; I have</p>
  <pre><code>#SBATCH --job-name=test_jobs
  #SBATCH --nodes=2
  #SBATCH --cpus-per-task=3
  #SBATCH --mem=1G
  #SBATCH --time=00:03:00
  #SBATCH --output=sslurm_%j.log
  </code></pre>
  <p>Looking the slurm.conf file</p>
  <pre><code># Node
  NodeName=node01 CPUs=80 Boards=1 SocketsPerBoard=2 CoresPerSocket=20 ThreadsPerCore=2 RealMemory=515619
  NodeName=node02 CPUs=80 Boards=1 SocketsPerBoard=2 CoresPerSocket=20 ThreadsPerCore=2 RealMemory=515619
  # Partition
  PartitionName=base Nodes=node01,node02 Default=Yes MaxTime=7-00:00:00 Priority=1 State=U
  </code></pre>
  <p>node02 should read the script from node01 because I created an NFS shared folder where I keep the script. In the script are reported the path of the tools to use and those tools are only on node01 (some unde /usr/bin/ and other in a folder created from me). Should I also share the folders where are located the input files and tools?</p>
  <p>What is wrong here? and also how can I print in the log files with which node ran each job?
  Thanks!</p>