Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions conveyorlc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# conveyorlc

This is an attempt to create a base environment and we need.
Nix just has one version, so we have to use that.

- openmpi
- [email protected] (with mpi bindings)
- [email protected] +hdf5
- [email protected] ~python ~gui

Note that we are just missing conduit (@vsoch is going to make a nix package).
13 changes: 13 additions & 0 deletions conveyorlc/devbox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"packages": [
"boost172",
"openbabel",
"python3",
"openmpi",
"hdf5",
"hdf5-mpi"
],
"shell": {
"init_hook": null
}
}
26 changes: 26 additions & 0 deletions conveyorlc/devenv.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ pkgs, ... }:

{
# https://devenv.sh/basics/
env.GREET = "devenv";

# https://devenv.sh/packages/
packages = [ pkgs.openmpi pkgs.boost172 pkgs.openbabel pkgs.python3, pkgs.hdf5, pkgs.hdf5-mpi ];

enterShell = ''
hello
git --version
'';

# https://devenv.sh/languages/
languages.nix.enable = true;

# https://devenv.sh/scripts/
scripts.hello.exec = "echo hello from $GREET";

# https://devenv.sh/pre-commit-hooks/
# pre-commit.hooks.shellcheck.enable = true;

# https://devenv.sh/processes/
# processes.ping.exec = "ping example.com";
}
3 changes: 3 additions & 0 deletions conveyorlc/devenv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
inputs:
nixpkgs:
url: github:NixOS/nixpkgs/master
11 changes: 11 additions & 0 deletions conveyorlc/shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [
pkgs.openmpi
pkgs.boost172
pkgs.openbabel
pkgs.python3
pkgs.hdf5
pkgs.hdf5-mpi
];
}
7 changes: 7 additions & 0 deletions conveyorlc/uptodate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dockerbuild:

build_args:
boost_version:
key: boost
versions:
- "172"