Added pyspark version
This commit is contained in:
parent
424d294997
commit
27b7683be9
3 changed files with 53 additions and 5 deletions
17
Makefile
17
Makefile
|
@ -9,13 +9,22 @@ UID := $(shell id -u)
|
|||
mobileinsight.sif: mobileinsight.def
|
||||
"$(APPTAINER)" build --build-arg="NUM_THREADS=$(NUM_THREADS)" "$@" "$<"
|
||||
|
||||
run: mobileinsight.sif
|
||||
mobileinsight-spark.sif: with-spark.def mobileinsight.sif
|
||||
"$(APPTAINER)" build "$@" "$<"
|
||||
|
||||
prepare:
|
||||
@mkdir -p "$(OVERLAY_DIR)"
|
||||
@lsmod | grep overlay > /dev/null || sudo modprobe overlay
|
||||
|
||||
run: mobileinsight.sif prepare
|
||||
@$(APPTAINER) run --overlay "$(OVERLAY_DIR)" \
|
||||
-B "/run/user/$(UID)" mobileinsight.sif
|
||||
|
||||
clean:
|
||||
rm -f mobileinsight.sif $(OVERLAY_DIR)
|
||||
run-spark: mobileinsight-spark.sif prepare
|
||||
@$(APPTAINER) run --overlay "$(OVERLAY_DIR)" \
|
||||
-B "/run/user/$(UID)" mobileinsight-spark.sif
|
||||
|
||||
.PHONY: run clean
|
||||
clean:
|
||||
rm -rf *.sif $(OVERLAY_DIR)
|
||||
|
||||
.PHONY: prepare run run-spark clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue