#! /bin/bash

function _gromacs_bin_dir() {
  local arch
  arch='SSE2'
  case $( sysctl -a | grep '^hw.optional\..*: 1$' ) in
    *\ avx2\ * | *avx2_0*)
      test -d "/Users/distiller/project/miniconda/conda-bld/gromacs_1631514170424/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin.AVX2_256" &&         arch='AVX2_256'
    ;;
    *\ avx\ * | *avx1_0*)
      test -d "/Users/distiller/project/miniconda/conda-bld/gromacs_1631514170424/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin.AVX_256" &&         arch='AVX_256'
  esac
  printf '%s' "/Users/distiller/project/miniconda/conda-bld/gromacs_1631514170424/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin.${arch}"
}

. "$( _gromacs_bin_dir )/GMXRC" "${@}"
