#!/bin/bash
export ACCEL_INFO=1
case $OMPI_COMM_WORLD_LOCAL_RANK in
"0"|"1"|"2"|"3")
CUDA_VISIBLE_DEVICES=0 <executable_path>/hifun_exe_cb_gpu_man;;
"4"|"5"|"6"|"7")
CUDA_VISIBLE_DEVICES=1 <executable_path>/hifun_exe_cb_gpu_man;;
esac
SUPERCOMPUTER EDUCATION AND RESEARCH CENTRE
WELCOME TO SERC
#!/bin/bash
export ACCEL_INFO=1
case $OMPI_COMM_WORLD_LOCAL_RANK in
"0"|"1"|"2"|"3")
CUDA_VISIBLE_DEVICES=0 <executable_path>/hifun_exe_cb_gpu_man;;
"4"|"5"|"6"|"7")
CUDA_VISIBLE_DEVICES=1 <executable_path>/hifun_exe_cb_gpu_man;;
esac