Hi,

I've written the following Easyconfig for Dakota:

  homepage = 'https://dakota.sandia.gov/'
  description = """"A Multilevel Parallel Object-Oriented Framework for
  Design Optimization, Parameter Estimation, Uncertainty
  Quantification, and Sensitivity Analysis."""

  toolchain = {'name': 'foss', 'version': '2018b'}
  toolchainopts = {'usempi': True, 'openmp': True}

  source_urls = 
['https://dakota.sandia.gov/sites/default/files/distributions/public/']
  sources = ['%(namelower)s-%(version)s-release-public.src.tar.gz']
  checksums = ['1691a5272a5d2f7ae817c27e66adf9d0']

  builddependencies = [
      ('CMake', '3.12.1'),
      ('pkg-config', '0.29.2'),
      ('Boost', '1.67.0'),
      ('GSL', '2.5'),
  ]

  dependencies = [
      ('Python', '3.6.6'),
      ('Perl', '5.28.0'),
  ]

  separate_build_dir = True

  configopts = "-DMPI_ENABLE=ON -DOPENMP_ENABLE=ON"

  sanity_check_paths = {
      'files': ['bin/dakota'],
      'dirs': ['bin', 'share'],
  }

  modextrapaths = {'PYTHONPATH': 'share/%(namelower)s/Python'}

  moduleclass = 'math'

But I am getting the error:

  CMake Error at CMakeLists.txt:298 (find_package):
    Could not find a package configuration file provided by "LAPACK" with any
    of the following names:

      LAPACKConfig.cmake
      lapack-config.cmake

    Add the installation prefix of "LAPACK" to CMAKE_PREFIX_PATH or set
    "LAPACK_DIR" to a directory containing one of the above files.  If "LAPACK"
    provides a separate development package or SDK, be sure it has been
    installed.

What am I doing wrong?

Cheers,

Loris


-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to