-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Provide a first draft of the conda-forge triqs_cthyb package #11054
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
isuruf
merged 22 commits into
conda-forge:master
from
flatironinstitute:master-triqs_cthyb
Mar 20, 2020
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
b53611d
Add first version of recipe for triqs_cthyb quantum impurity solver
Wentzell c3aeea3
Incorporate requested changes
Wentzell 6c71be9
remove build requirement clangxx >=8 # [osx]
Wentzell 7ffe094
Explicitly specify Release build type
Wentzell a95bebc
Fix build- and run-time deps to list dyn libs that are explicitly lin…
Wentzell 7f176ac
Enforce identical build and host dir to fix compiler check against triqs
Wentzell f762bef
Revert "Enforce identical build and host dir to fix compiler check ag…
Wentzell b872148
trigger build
Wentzell a1ae32c
Add boost-cpp build time dependency
Wentzell 5862c09
update version to 2.2.1
Wentzell 740df76
add libblas to run-time reqs
Wentzell 91ce8d3
Add libblas to host deps
Wentzell d9c3221
Add liblapack to run/host deps
Wentzell abd3f36
Add mpi4py as run time dep
Wentzell 4c25940
Revert "Add mpi4py as run time dep"
Wentzell 6dd4b1d
Fix MPI env in final import test, c.f. github.com/conda-forge/libnetc…
Wentzell 3766fe0
Break environment vars in test commands into multiple lines
Wentzell eb887d9
Update recipes/triqs_cthyb/meta.yaml
Wentzell a380658
Update recipes/triqs_cthyb/meta.yaml
Wentzell a7f8748
Build for both openmpi and mpich
Wentzell 0a593bc
Use SPDX license identifier
Wentzell ac36897
trigger build
Wentzell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| mkdir build | ||
| cd build | ||
|
|
||
| # Openmpi Specific environment setup - Cf. https://github.com/conda-forge/libnetcdf-feedstock/pull/80 | ||
| export OMPI_MCA_btl=self,tcp | ||
| export OMPI_MCA_plm=isolated | ||
| export OMPI_MCA_rmaps_base_oversubscribe=yes | ||
| export OMPI_MCA_btl_vader_single_copy_mechanism=none | ||
| mpiexec="mpiexec --allow-run-as-root" | ||
|
|
||
| source $PREFIX/share/triqsvars.sh | ||
|
|
||
| cmake \ | ||
| -DCMAKE_INSTALL_PREFIX=$PREFIX \ | ||
| -DCMAKE_BUILD_TYPE=Release \ | ||
| .. | ||
|
|
||
| make -j${CPU_COUNT} VERBOSE=1 | ||
| CTEST_OUTPUT_ON_FAILURE=1 ctest | ||
| make install | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| mpi: | ||
| - mpich | ||
| - openmpi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| {% set version = "2.2.1" %} | ||
|
|
||
| package: | ||
| name: triqs_cthyb | ||
| version: {{ version }} | ||
|
|
||
| source: | ||
| url: https://github.com/TRIQS/cthyb/releases/download/{{ version }}/cthyb-{{ version }}.tar.gz | ||
| sha256: de78b39a354c0e1344987c26403919c23611635ab3d75620aa01bd5b06431bdc | ||
|
|
||
| build: | ||
| number: 0 | ||
| skip: True # [win or py>30] | ||
|
Wentzell marked this conversation as resolved.
|
||
|
|
||
| requirements: | ||
| build: | ||
| - cmake | ||
| - make | ||
| - {{ compiler('c') }} | ||
| - {{ compiler('cxx') }} | ||
| host: | ||
| - triqs {{ '.'.join(version.split('.')[:2]) }} | ||
| - boost-cpp | ||
| - nfft | ||
| - hdf5 | ||
| - {{ mpi }} | ||
| - libblas | ||
| - liblapack | ||
| - python | ||
| run: | ||
| - {{ pin_compatible("triqs", max_pin="x.x") }} | ||
| - nfft | ||
| - hdf5 | ||
| - {{ mpi }} | ||
| - libblas | ||
| - liblapack | ||
| - python | ||
|
|
||
| test: | ||
| commands: | ||
| - export OMPI_MCA_btl=self,tcp | ||
| - export OMPI_MCA_plm=isolated | ||
| - export OMPI_MCA_rmaps_base_oversubscribe=yes | ||
| - export OMPI_MCA_btl_vader_single_copy_mechanism=none | ||
| - export mpiexec="mpiexec --allow-run-as-root" | ||
| - python -c "import triqs_cthyb" | ||
|
|
||
| about: | ||
| home: https://triqs.github.io/cthyb | ||
| license: GPL-3.0-or-later | ||
| license_family: GPL | ||
| license_file: LICENSE.txt | ||
|
Wentzell marked this conversation as resolved.
|
||
| summary: 'A fast and generic hybridization-expansion impurity solver' | ||
|
|
||
| extra: | ||
| recipe-maintainers: | ||
| - wentzell | ||
| - pgunn | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.