-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- dagbin - Added dag binary file format, as alternative to protobuf. - updated input/output file and format options to include dagbin (also, formats can now be inferred by file extension). - maintenance - moved `sample_dag.hpp` to `test_common_dag.hpp`, now contains frequently used dag utilities in addition to sample dags. - run_larch_usher function added to `test_common.hpp`. - added `data/_ignore` folder, and redirected all test files to that location. - updated all timing to use Benchmark class - updated CLI options for larch-usher, merge, dag2dot to be more consistent across tools. - updated README to clarify changes to CLI. - added options to larch-usher to set random seed and number of threads.
- Loading branch information
1 parent
f6fbb9f
commit f2c5388
Showing
39 changed files
with
1,761 additions
and
410 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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 @@ | ||
FROM ubuntu:22.04 | ||
# FROM continuumio/miniconda3:latest | ||
|
||
# OPTIONS | ||
ARG NUM_THREADS="8" | ||
|
||
RUN apt -y update \ | ||
&& apt -y upgrade | ||
|
||
# Install required/recommended programs | ||
RUN apt -y install --no-install-recommends \ | ||
wget \ | ||
ssh \ | ||
git \ | ||
vim \ | ||
nano \ | ||
perl \ | ||
black \ | ||
clang-format \ | ||
clang-tidy \ | ||
less | ||
RUN apt -y install --no-install-recommends \ | ||
cmake \ | ||
protobuf-compiler \ | ||
automake \ | ||
autoconf \ | ||
libtool \ | ||
nasm \ | ||
yasm | ||
RUN apt -y install --no-install-recommends \ | ||
wget \ | ||
git \ | ||
ca-certificates \ | ||
make \ | ||
g++ \ | ||
mpi-default-dev \ | ||
libboost-dev \ | ||
libboost-program-options-dev \ | ||
libboost-filesystem-dev \ | ||
libboost-date-time-dev \ | ||
libboost-iostreams-dev | ||
|
||
# Copy repo | ||
WORKDIR /app | ||
COPY . /app | ||
|
||
# Install larch | ||
WORKDIR /app | ||
RUN rm -rf /app/build | ||
WORKDIR /app/build | ||
RUN cmake -DCMAKE_BUILD_TYPE=Debug .. | ||
RUN make -j${NUM_THREADS} | ||
|
||
# Working directory | ||
WORKDIR /data | ||
|
||
# Start a bash shell when the container launches | ||
CMD ["/bin/bash"] |
This file contains 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
This file contains 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,4 @@ | ||
# Ignore all files in this directory | ||
* | ||
# But do not ignore this .gitignore file | ||
!/.gitignore |
Binary file not shown.
This file contains 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
Oops, something went wrong.