Skip to content
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

[WIP] xSDK initialize libraries for the exascale computing project #59714

Closed
wants to merge 3 commits into from

Conversation

costrouc
Copy link
Member

Motivation for this change

I want to make nixos/nixpkgs the place to go for hpc. Currently many scientists with these libraries use https://spack.readthedocs.io/en/latest/ and these are the important core libraries. More to come listed in https://xsdk.info/packages/.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

meta = with stdenv.lib; {
homepage = https://github.com/dealii/dealii;
description = "Computational solution of partial differential equations using adaptive finite elements";
license = licenses.lgpl3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
license = licenses.lgpl3;
license = licenses.lgpl21Plus;

meta = with stdenv.lib; {
homepage = https://github.com/hypre-space/hypre;
description = "Library for preconditioners and solvers featuring multigrid methods for the solution of large, sparse linear systems of equations";
license = licenses.lgpl2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
license = licenses.lgpl2;
license = licenses.lgpl21;

Copy link
Member Author

@costrouc costrouc Apr 16, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a tool that you use for analyzing licenses? Or do you do this work manually? Often times I find license do not explicitly say what they are. Thinking this might be a useful tool to have.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I usually just look at github repo, it has automatic detection that works most of the times. This time I had to actually look in the README files. So, yes, it is a manual process for me. I think debian might have some tooling to do this automatically.


preConfigure = ''
cd src
asdfasdfasdfasdf # intentionally fail build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
asdfasdfasdfasdf # intentionally fail build
false # intentionally fail build

@veprbl
Copy link
Member

veprbl commented Dec 27, 2019

@costrouc Are you still interested in working on this?

@costrouc
Copy link
Member Author

Likely not. This can be closed. I'd I were to move the PR forward I'll make a PR for each separate package

@costrouc costrouc closed this Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants