*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 0a0fb135 authored by Singh, Atul's avatar Singh, Atul
Browse files

corrected node_list

parent a58b1b50
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
#SBATCH -J pipe
#SBATCH -N 1
#SBATCH --ntasks-per-node=128 # Upper limit of VSC5 1 node.
#SBATCH -o res%j.out # The fluent output commands (that are visible on the fluent console).
###SBATCH -e err%j.out # Error message if debugging is require
#SBATCH --partition=zen3_0512 ##_a100x2 # zen3_0512, zen3_1024, zen3_2048, cascadelake_0384, zen2_0256_a40x2, zen3_0512_a100x2
#SBATCH --qos=admin ##_a100x2 # zen3_0512, zen3_1024, zen3_2048, cascadelake_0384, zen2_0256_a40x2, zen3_0512_a100x2, zen3_0512_devel
#SBATCH --time=01:00:00 # time limit (<72h / <10m for devel)
#SBATCH -J mixelbow
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=128 # Upper limit of VSC5 1 node.
####SBATCH -o res%j.out # The fluent output commands (that are visible on the fluent console).
###SBATCH -e err%j.out # Error message if debugging is required
#SBATCH --partition=zen3_0512 ##_a100x2 # zen3_0512, zen3_1024, zen3_2048, cascadelake_0384, zen2_0256_a40x2, zen3_0512_a100x2
#SBATCH --qos=zen3_0512 ##_a100x2 # zen3_0512, zen3_1024, zen3_2048, cascadelake_0384, zen2_0256_a40x2, zen3_0512_a100x2, zen3_0512_devel
#SBATCH --time=01:00:00 # time limit (<72h / <10m for devel)
module purge
module load ANSYS/2023R1 # The existing mesh_n_run.jou file is valid only for Ansys 2023R1
module load ANSYS/2023R1 # Load the correct version of Ansys
echo "#######################################################################" >> out.txt
echo No of tasks: $SLURM_NTASKS >> out.txt
echo "#######################################################################" >> out.txt
echo
node_list=$(scontrol show hostname ${SLURM_NODELIST} | sort -u) #finds the details of the acquired node
echo $node_list >> out.txt
echo >> out.txt
echo "fluent commands start from here!!!" >> out.txt
echo >> out.txt
node_list=$(scontrol show hostname ${SLURM_NODELIST} | sort -u)
## The master fluent command that opens fluent in no-gui format on HPC system.
fluent 3ddp -ssh -meshing -platform=intel -cnf=$node_list -gu -driver null -t $SLURM_NTASKS -i mesh_n_run.jou >> out.txt
fluent 3ddp -ssh -meshing -platform=intel -gu -driver null -t $SLURM_NTASKS -i mesh_n_run.jou
## Release booked resources if completed before --time
scontrol release $SLURM_JOB_ID
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment