mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Bug fix in script
This commit is contained in:
parent
d93eac7b1c
commit
7786ea9921
@ -1,9 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
num_tile=2
|
num_tile=2
|
||||||
|
gpu_id=$(( (MPI_LOCALRANKID / num_tile ) ))
|
||||||
gpu_id=$(( (MPI_LOCAL_RANKID % num_tile ) ))
|
tile_id=$((MPI_LOCALRANKID % num_tile))
|
||||||
tile_id=$((MPI_LOCAL_RANKID / num_tile))
|
|
||||||
|
|
||||||
export ZE_AFFINITY_MASK=$gpu_id.$tile_id
|
export ZE_AFFINITY_MASK=$gpu_id.$tile_id
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user