Hello
I have just started using Radioss 2017 in HPc Cluster. For the SLURM File I use the syntax like that
#!/bin/bash #SBATCH --nodes=1 #SBATCH --ntasks-per-node=1 #SBATCH --time=01:00:00 #SBATCH --job-name=altair-radioss #SBATCH --mem=1G # Setup input file(s) following your case INPUT1=v14_run_0000.rad INPUT2=v14_run_0001.rad # Setup custom library path if necessary export LD_LIBRARY_PATH='$HOME/my_user_library:$LD_LIBRARY_PATH' # Load Altair module module load altair/2017.2 # Run Radioss on single core if [[ ($SLURM_JOB_NUM_NODES == 1) && ($SLURM_NTASKS_PER_NODE == 1) ]]; then radioss '$INPUT1' # Run Radioss on many core elif [[ $$SLURM_JOB_NUM_NODES == 1 ]]; then radioss -nthread $SLURM_NTASKS_PER_NODE '$INPUT1' # Run Radioss on many core of many nodes else module load intel/2013/intel-mpi $ALTAIR_HOME/hwsolvers/radioss/bin/linux64/s_2017.2_linux64 -i '$INPUT1' -nt 1 -np $SLURM_JOB_NUM_NODES mpiexec $ALTAIR_HOME/hwsolvers/radioss/bin/linux64/e_2017.2_linux64_impi -i '$INPUT2' -nt 1 fi
It worked. But when I changed
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=2
It did not work.
Could you please explain me why?
Thank you