Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Ãœberarbeitung
Nächste Überarbeitung
Vorhergehende Ãœberarbeitung
Nächste Überarbeitung Beide Seiten der Revision
hlr:phoenix:nutzeranleitung [2020/04/09 15:00]
raskrato [Ansys Job starten]
hlr:phoenix:nutzeranleitung [2020/05/05 12:25]
raskrato [Lehre]
Zeile 375: Zeile 375:
 file.close file.close
 </​code>​ </​code>​
 +
 +===== Lehre =====
 +
 +Für die Lehre existiert eine Queue: teaching und in Zukunft teaching_gpu. Diese Knoten verfügen nicht über eine funktionierende Infinity Band Verbindung sondern nutzen klassisches Ethernet für die MPI Kommunikation. Daher muss in der Jobfile angegeben werden, dass Ethernet genutzt werden soll.
 +
 +<​code>​NUMBER_OF_CPU_CORES_TO_USE=16
 +mpirun -n $NUMBER_OF_CPU_CORES_TO_USE --mca btl tcp,sm,self --mca btl_tcp_if_include eth0  /​home/​your_name/​your_binary
 +</​code>​
 +
 +Beispiel Jobfile:
 +
 +<​code>#​!/​bin/​bash -l
 +
 +#SBATCH --partition=visalt
 +#SBATCH --nodes=2
 +#SBATCH --time=1:​00:​00
 +#SBATCH --job-name=nearest
 +#SBATCH --ntasks-per-node=8
 +#SBATCH --exclude=visalt01
 +
 +module load mpi/​openmpi/​2.1.0/​gcc comp/​gcc/​6.3.0
 +mpirun -n 16  --mca btl tcp,sm,self --mca btl_tcp_if_include eth0  /​home/​raskrato/​alt/​visalt/​ptest</​code>​
 +
  
  
Zeile 615: Zeile 638:
 ==== Starting Ansys jobs ==== ==== Starting Ansys jobs ====
  
-We recommend use our new script, which converts your jobfile automaticly. Just write a normal jobfile and call this script and use > to save the output to a new file:+We recommend use our new script, which converts your jobfile automaticly. Just write a normal jobfile and call this script and use > to save the output to a new file. Here is an example for normal ansys file without any license checks: 
 + 
 +<​code>#​!/​bin/​bash -l 
 + 
 +#SBATCH --partition=standard 
 +#SBATCH --nodes=1 
 +#SBATCH --time=3:​00:​00 
 +#SBATCH --job-name=TCTM 
 +#SBATCH --ntasks-per-node=20 
 + 
 +module load software/​ansys/​18.0 
 + 
 + 
 +#######################​ 
 +#### HIER VARIABEL #### 
 +#######################​ 
 +NUMPROCS=60 
 +module load software/​ansys/​18.0 
 + 
 +cfx5solve -batch -chdir $working_dir -double -verbose -def $working_dir/​Heater_pt_Loss.def -start-method 'IBM MPI Distributed Parallel'​ -par -part $NUMPROCS -par-host-list $ALLMACHINES -part-coupled -part-large -part-mode orcb -priority 0 -size 1.4 -size-part 1.4</​code>​ 
 + 
 +Here is the code to add an license check:
  
 <​code>/​cluster/​share/​make_ansys_job_check_for_license.sh Script.sh NumberOfLicences1 LicenceType1 NumberOfLicences2 LincenceType2 ...</​code>​ <​code>/​cluster/​share/​make_ansys_job_check_for_license.sh Script.sh NumberOfLicences1 LicenceType1 NumberOfLicences2 LincenceType2 ...</​code>​
hlr/phoenix/nutzeranleitung.txt · Zuletzt geändert: 2023/09/05 18:08 von matfranz
Gauß-IT-Zentrum