if(NOT QMC_COMPLEX)
  #
  # LiH molecule gaussian tests, all electron using PySCF
  # Also check results for different number of mpi tasks and threads keeping total constant
  # Energy from PySCF: E=-7.9873236457148
  #
  #   "kinetic" "7.991344  0.000065") # kinetic energy
  #   "totenergy" "-7.9873125  0.0000086 ") # total energy
  #   "eeenergy" "3.488827 0.000010") # e-e energy
  #   "samples" "80117760000 0.0") # samples

  list(APPEND LIH_SHORT "kinetic" "7.991344 0.01") # kinetic energy
  list(APPEND LIH_SHORT "totenergy" "-7.9873125 0.002") # total energy
  list(APPEND LIH_SHORT "eeenergy" "3.488827 0.001") # e-e energy
  list(APPEND LIH_SHORT "samples" "9600000 0.0") # samples
  qmc_run_and_check(
    short-LiH_ae_pyscf-vmc_hf_noj
    "${qmcpack_SOURCE_DIR}/tests/molecules/LiH_ae_pyscf"
    vmc_short_noj
    vmc_short_noj.in.xml
    1
    16
    TRUE
    0
    LIH_SHORT # VMC
  )

  list(APPEND LIH_LONG "kinetic" "7.991344 0.0022") # kinetic energy
  list(APPEND LIH_LONG "totenergy" "-7.9873125 0.00024") # total energy
  list(APPEND LIH_LONG "eeenergy" "3.488827 0.00029") # e-e energy
  list(APPEND LIH_LONG "samples" "96000000 0.0") # samples
  qmc_run_and_check(
    long-LiH_ae_pyscf-vmc_hf_noj
    "${qmcpack_SOURCE_DIR}/tests/molecules/LiH_ae_pyscf"
    vmc_long_noj
    vmc_long_noj.in.xml
    1
    16
    TRUE
    0
    LIH_LONG # VMC
  )

else()
  message(VERBOSE
          "Skipping LiH_ae tests because gaussian basis sets are not supported by complex build (QMC_COMPLEX=1)")
endif()
