You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
1
LOG_LEVEL ?= info
2
+
DEFAULT_DATA_DIR ?= /data_dir
3
+
DEFAULT_SIMFILE_PATH ?= /data_dir/sim.json
2
4
3
5
build-docker:
4
6
docker build -f docker/Dockerfile -t sim-ln .
@@ -15,17 +17,18 @@ help:
15
17
@echo "stop Stops the Docker container."
16
18
@echo ""
17
19
@echo "Variables:"
18
-
@echo "SIMFILE_PATH Path to the sim.json file."
19
-
@echo "LOG_LEVEL Set the logging level (default: info) e.g. <make run LOG_LEVEL=debug>"
20
-
@echo "HELP Set to true to print the help message (default: false) e.g. <make run HELP=true>"
21
-
@echo "PRINT_BATCH_SIZE Set the batch size for printing the results e.g. <make run PRINT_BATCH_SIZE=100>"
22
-
@echo "TOTAL_TIME Set the total time for the simulation e.g. <make run TOTAL_TIME=1000>"
20
+
@echo "SIMFILE_PATH Path to the sim.json file."
21
+
@echo "LOG_LEVEL Set the logging level (default: info) e.g. <make run LOG_LEVEL=debug>."
22
+
@echo "HELP Set to true to print the help message (default: false) e.g. <make run HELP=true>."
23
+
@echo "PRINT_BATCH_SIZE Set the batch size for printing the results e.g. <make run PRINT_BATCH_SIZE=100>."
24
+
@echo "TOTAL_TIME Set the total time for the simulation e.g. <make run TOTAL_TIME=1000>."
25
+
@echo "DATA_DIR Set the data directory for the simulation containing simulation files and results e.g. <make run-docker DATA_DIR="/Users/anon/data_dir>"."
Copy file name to clipboardExpand all lines: docker/README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,7 @@ Other configurable variables include:
81
81
- `HELP`: Set to `true` to print the help message.
82
82
- `PRINT_BATCH_SIZE`: determines the number of payment results that will be written to disk at a time.
83
83
- `TOTAL_TIME`: the total runtime for the simulation expressed in seconds.
84
+
- `DATA_DIR`: Path to a directory containing simulation files, and where simulation results will be stored (default is the `/data_dir` volume directory).
0 commit comments