1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 07:17:06 +01:00

Deprecate teh PVC directory and make a PVC-OEM generic PVC target with

no queueing system dependency -- just interactive scripts
This commit is contained in:
Peter Boyle
2023-10-03 17:04:20 +00:00
parent 7786ea9921
commit 6d0c2de399
10 changed files with 0 additions and 138 deletions

View File

@ -0,0 +1,12 @@
#!/bin/bash
num_tile=2
gpu_id=$(( (MPI_LOCALRANKID / num_tile ) ))
tile_id=$((MPI_LOCALRANKID % num_tile))
export ZE_AFFINITY_MASK=$gpu_id.$tile_id
echo "local rank $MPI_LOCALRANKID ; ZE_AFFINITY_MASK=$ZE_AFFINITY_MASK"
"$@"