Run simulation in folder.
./IPIM_mpi.out&
Edit the file , changing
and
:
#!/bin/bash #SBATCH --job-name=jobName #SBATCH --output="%x.%j.log" #SBATCH --error="%x.%j.err" #SBATCH --nodes=1 #SBATCH --partition=transweb #SBATCH --ntasks-per-node=nProc srun --resv-ports ./IPIM_mpi.out
Submit to Slurm:
sbatch batch_slurm
All outputs are in folder. Log file is in
folder.