Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
#!/bin/bash
#SBATCH --job-name=metashape_server
#SBATCH --output=%x-%j.out
#SBATCH --error=%x-%j.out
#SBATCH --nodes=1
#SBATCH --time=1:00:00

module load gcc

master_addr=$(scontrol show hostnames "$SLURM_JOB_NODELIST" | head -n 1)
echo ${master_addr} > master_addr.ip

cd <path-to-metashape-directory-on-ibex>
./metashape.sh --server --host ${master_addr} -platform offscreen

use watch squeue -u your-username to monitor the job, once a compute node is allocated as show below you can now start adding worker nodes

...