#! /bin/bash
. /opt/intel/oneapi/setvars.sh
mpirun -genv I_MPI_DEBUG 3 -genv I_MPI_OFI_PROVIDER=mlx -genv UCX_IB_TRAFFIC_CLASS=106 -genv UCX_TLS=self,shm,rc_x,ud_x -f mf -np 64 -ppn 2 ./runme
#!/bin/bash
# For Mvapich
if [ -n "${MPIRUN_RANK}" ]
then PMI_RANK=${MPIRUN_RANK}
fi
# For OpenMPI
if [ -n "${OMPI_COMM_WORLD_RANK}" ]
then PMI_RANK=${OMPI_COMM_WORLD_RANK}
fi
export HPL_HOST_NODE=$((PMI_RANK % 2))
echo RANK=${PMI_RANK}, NODE=${HPL_HOST_NODE}
./xhpl_intel64_dynamic "$@"