Revert "Removed spark implementation, use a docker-compose cluster for testing"
This reverts commit 8943eceb93
.
This commit is contained in:
parent
8943eceb93
commit
7300236791
2 changed files with 39 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -9,6 +9,9 @@ UID := $(shell id -u)
|
|||
mobileinsight.sif: mobileinsight.def
|
||||
"$(APPTAINER)" build --build-arg="NUM_THREADS=$(NUM_THREADS)" "$@" "$<"
|
||||
|
||||
mobileinsight-spark.sif: with-spark.def mobileinsight.sif
|
||||
"$(APPTAINER)" build "$@" "$<"
|
||||
|
||||
prepare:
|
||||
@mkdir -p "$(OVERLAY_DIR)"
|
||||
@lsmod | grep overlay > /dev/null || sudo modprobe overlay
|
||||
|
@ -17,6 +20,10 @@ run: mobileinsight.sif prepare
|
|||
@$(APPTAINER) run --overlay "$(OVERLAY_DIR)" \
|
||||
-B "/run/user/$(UID)" mobileinsight.sif
|
||||
|
||||
run-spark: mobileinsight-spark.sif prepare
|
||||
@$(APPTAINER) run --overlay "$(OVERLAY_DIR)" \
|
||||
-B "/run/user/$(UID)" mobileinsight-spark.sif
|
||||
|
||||
clean:
|
||||
rm -rf *.sif $(OVERLAY_DIR)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue