module purge
module load intel/2022.0.2
module unload openmpi4
module load phdf5/1.10.8
module load netcdf/4.7.4
module load netcdf-fortran/4.5.3
module load mpich
module load hwloc
module list

export OMP_NUM_THREADS=1
export OMPI_MCA_btl_openib_allow_ib=1
export OMPI_MCA_btl_openib_if_include="mlx5_0:1"
export PMIX_MCA_gds=hash

export NETCDF=/mnt/beegfs/monan/libs/netcdf
#export PNETCDF=/mnt/beegfs/monan/libs/PnetCDF

MPI_PARAMS="-iface ib0 -bind-to core -map-by core"
export MKL_NUM_THREADS=1
export I_MPI_DEBUG=5
export MKL_DEBUG_CPU_TYPE=5
export I_MPI_ADJUST_BCAST=12 ## NUMA aware SHM-Based (AVX512)

