Paste number 318282: trilinod scm

Index of paste annotations: 1

Paste number 318282: trilinod scm
Pasted by: emyles
When:3 years, 11 months ago
Share:Tweet this! | http://paste.lisp.org/+6TL6
Channel:None
Paste contents:
Raw Source | XML | Display As
(define-module (my-packages trilinos)
  #:use-module (guix packages)
  #:use-module (gnu packages python)
  #:use-module (gnu packages maths)
  #:use-module (gnu packages swig)
  #:use-module (gnu packages mpi)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages boost)
  #:use-module (guix download)
  #:use-module (guix build-system cmake)
  #:use-module (gnu packages gcc)
  #:use-module (guix licenses))

(define-public trilinos
  (package
   (name "trilinos")
   (version "12.6.2")
   (source
    (origin
     (method url-fetch)
     (uri (string-append
	   "https://trilinos.org/oldsite/download/files/"
	   name
	   "-"
	   version
	   "-Source.tar.bz2"))
     (sha256
      (base32
       "03mh4k304lw28hq9kjym8c6fbzgbcb0zdf37p6fj9fg83x6ngwbp"))))
   ;; md5: 4bcb91234399ada370be73d11e2df403
   (build-system cmake-build-system)
   (inputs
    `(("lapack" ,lapack)
      ("openmpi" ,openmpi)
      ("boost" ,boost)
      ("python" ,python)
      ("gfortran" ,gfortran)))
   (propagated-inputs
    `(("swig" ,swig)
      ("gcc" ,gcc)
      ("python-numpy" ,python-numpy)
      ("gcc" ,gcc)
      ;;"gcc-fortran"
      ("openmpi" ,openmpi)
      ("perl" ,perl)
      ("openblas" ,openblas)
      ("lapack" ,lapack)))
   (home-page "http://trilinos.org")
   (synopsis
    "An effort to develop algorithms and enabling technologies within an object-oriented software framework for the solution of large-scale, complex multi-physics engineering and scientific problems")
   (description
    "An effort to develop algorithms and enabling technologies within an object-oriented software framework for the solution of large-scale, complex multi-physics engineering and scientific problems")
   (arguments
    `(#:configure-flags '("-DTrilinos_ENABLE_ALL_PACKAGES:BOOL=ON"
			 "-DTrilinos_ENABLE_FEI=OFF"
			 "-DTrilinos_ENABLE_STKClassic=OFF"
			 "-DTrilinos_ENABLE_SEACAS=OFF"
			 "-DTrilinos_ENABLE_Sundance=OFF"
			 "-DTrilinos_ENABLE_TESTS=OFF"
			 "-DTrilinos_ENABLE_OpenMP:BOOL=ON"
			 "-DTPL_ENABLE_MPI:BOOL=ON"
			 "-DTrilinos_ENABLE_PyTrilinos:BOOL=OFF"
			 ;; "-DPYTHON_EXECUTABLE:PATH=/usr/bin/python"
			 "-DCMAKE_INSTALL_PREFIX:PATH=/usr"
			 "-DTPL_ENABLE_Netcdf=OFF"
			 "-DTPL_ENABLE_QT=OFF"
			 "-DTPL_ENABLE_GLM=OFF"
			 "-DBUILD_SHARED_LIBS:BOOL=ON"
			 ;; Turn off float and complex to compile faster
			 "-DTeuchos_ENABLE_FLOAT=OFF"
			 "-DTeuchos_ENABLE_COMPLEX=OFF"
			 "-DSacado_ENABLE_COMPLEX=OFF"
			 "-DThyra_ENABLE_COMPLEX=OFF"
			 "-DTpetra_INST_COMPLEX_DOUBLE=OFF"
			 "-DTpetra_INST_COMPLEX_FLOAT=OFF"
			 "-DAnasazi_ENABLE_COMPLEX=OFF")))
   (license #f)))

Annotations for this paste:

Annotation number 1: untitled
Pasted by: emyles
When:3 years, 11 months ago
Share:Tweet this! | http://paste.lisp.org/+6TL6/1
Paste contents:
Raw Source | Display As
$ guix build -L ~/guix/ trilinos                                                                                                                                                        warning: failed to install locale: Invalid argument
@ build-started /gnu/store/xscxpl7a7przd2l2mllbwwc17vr4vp7a-trilinos-12.6.2-Source.tar.bz2.drv - x86_64-linux /var/log/guix/drvs/xs//cxpl7a7przd2l2mllbwwc17vr4vp7a-trilinos-12.6.2-Source.tar.bz2.drv.bz2

Starting download of /gnu/store/7hfgzc60rk7fix3sa87s1b1b82phjbi2-trilinos-12.6.2-Source.tar.bz2
From https://trilinos.org/oldsite/download/files/trilinos-12.6.2-Source.tar.bz2...
 ...-Source.tar.bz2  79.8MiB        632KiB/s 02:09 [####################] 100.0%
@ build-succeeded /gnu/store/xscxpl7a7przd2l2mllbwwc17vr4vp7a-trilinos-12.6.2-Source.tar.bz2.drv -
@ substituter-started /gnu/store/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015 /gnu/store/3g6zn8y5sfwywr4pqiwqrab735a0x4zl-guix-0.10.0/libexec/guix/substitute

Found valid signature for /gnu/store/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015
From https://mirror.hydra.gnu.org/nar/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015
Downloading dfh9n2?-texlive-texmf-2015 (3.62GiB installed)...
guix substitute: error: download from 'https://mirror.hydra.gnu.org/nar/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015' failed: 410, "Gone"
@ substituter-failed /gnu/store/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015 256 fetching path `/gnu/store/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015' failed with exit code 1
@ build-started /gnu/store/5pg1xdc guix build -L ~/guix/ trilinos                                                                                                                                                              :(
warning: failed to install locale: Invalid argument
@ build-started /gnu/store/xscxpl7a7przd2l2mllbwwc17vr4vp7a-trilinos-12.6.2-Source.tar.bz2.drv - x86_64-linux /var/log/guix/drvs/xs//cxpl7a7przd2l2mllbwwc17vr4vp7a-trilinos-12.6.2-Source.tar.bz2.drv.bz2

Starting download of /gnu/store/7hfgzc60rk7fix3sa87s1b1b82phjbi2-trilinos-12.6.2-Source.tar.bz2
From https://trilinos.org/oldsite/download/files/trilinos-12.6.2-Source.tar.bz2...
 ...-Source.tar.bz2  79.8MiB        632KiB/s 02:09 [####################] 100.0%
@ build-succeeded /gnu/store/xscxpl7a7przd2l2mllbwwc17vr4vp7a-trilinos-12.6.2-Source.tar.bz2.drv -
@ substituter-started /gnu/store/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015 /gnu/store/3g6zn8y5sfwywr4pqiwqrab735a0x4zl-guix-0.10.0/libexec/guix/substitute

Found valid signature for /gnu/store/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015
From https://mirror.hydra.gnu.org/nar/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015
Downloading dfh9n2?-texlive-texmf-2015 (3.62GiB installed)...
guix substitute: error: download from 'https://mirror.hydra.gnu.org/nar/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015' failed: 410, "Gone"
@ substituter-failed /gnu/store/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015 256 fetching path `/gnu/store/dfh9n2qadjfnmdg91kbxd2xng6ffd95p-texlive-texmf-2015' failed with exit code 1
@ build-started /gnu/store/5pg1xdc4m6f716fmqnv4955sfji5zqm6-python-pytz-2016.3.drv - x86_64-linux /var/log/guix/drvs/5p//g1xdc4m6f716fmqnv4955sfji5zqm6-python-pytz-2016.3.drv.bz2
guix build: error: build failed: some substitutes for the outputs of derivation `/gnu/store/zzisqgz6639d5qxpx280lbsa5h7js00p-texlive-2015.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 
guix build -L ~/guix/ trilinos  13.73s user 0.47s system 9% cpu 2:27.28 total
1 myles@pluto ~ % less guix/my-packages/trilinos.scm4m6f716fmqnv4955sfji5zqm6-python-pytz-2016.3.drv - x86_64-linux /var/log/guix/drvs/5p//g1xdc4m6f716fmqnv4955sfji5zqm6-python-pytz-2016.3.drv.bz2
guix build: error: build failed: some substitutes for the outputs of derivation `/gnu/store/zzisqgz6639d5qxpx280lbsa5h7js00p-texlive-2015.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 
guix build -L ~/guix/ trilinos  13.73s user 0.47s system 9% cpu 2:27.28 total
1 myles@pluto ~ % less guix/my-packages/trilinos.scm

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.