Skip to content

Instantly share code, notes, and snippets.

@PhilipVinc
Last active March 25, 2020 18:02
Show Gist options
  • Save PhilipVinc/75fee700c0a306cf21f387223d498b66 to your computer and use it in GitHub Desktop.
Save PhilipVinc/75fee700c0a306cf21f387223d498b66 to your computer and use it in GitHub Desktop.
Conda recipe for Netket
{% set name = "netket" %}
{% set version = "2.1" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
#url: https://github.com/netket/netket/tree/v2.1
#sha256: ea1506f0350a231f623e3e01cc76daaede98d0ce4d2663270975f04169b37665
git_url: https://github.com/netket/netket.git
git_tag: v2.1
build:
number: 0
features:
- nomkl [nomkl]
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv --install-option=--cmake-args='-DNETKET_USE_LAPACK=OFF -DCMAKE_BUILD_TYPE=Release'"
requirements:
host:
- pip
- python =3.7
- mpich
- openmp
- mkl [not nomkl]
- blas [nomkl]
- blis [nomkl]
- libopenblas [nomkl]
build:
- {{ compiler('cxx') }}
- {{ compiler('c') }}
- cmake >=3.12
- ninja
run:
- numpy >=1.16
- python =3.7
- scipy >=1.2.1
- matplotlib
- mpich
- mpi4py
- openmp
- tqdm
- mkl [not nomkl]
- blis [nomkl]
test:
imports:
- netket
about:
home: https://www.netket.org
license: Apache 2.0
license_family: APACHE
license_file: LICENSE
summary: "NetKet is an open-source project delivering cutting-edge methods
for the study of many-body quantum systems with artificial neural
networks and machine learning techniques. It is a Python library
built on C++ primitives."
doc_url: https://www.netket.org/documentation.html
dev_url: https://github.com/netket/netket
extra:
recipe-maintainers:
- PhilipVinc
- gcarleo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment