fix sc-batch script --max_loops usage and starter script for generation
This commit is contained in:
parent
68a74cbf4d
commit
a9fae50bb8
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#SBATCH --ntasks=1
|
#SBATCH --ntasks=1
|
||||||
#SBATCH --time=10:00:00
|
#SBATCH --cpus-per-task=24
|
||||||
|
#SBATCH --time=24:00:00
|
||||||
|
|
||||||
./scripts/aba-generator-acyclic.py
|
./scripts/aba-generator-acyclic.py
|
||||||
|
|
|
@ -41,9 +41,10 @@ MAX_LOOPS=18446744073709551615
|
||||||
# The docker image was build using
|
# The docker image was build using
|
||||||
# > nix bundle .#validate --bundler github:NixOS/bundlers#toDockerImage
|
# > nix bundle .#validate --bundler github:NixOS/bundlers#toDockerImage
|
||||||
# on my local machine to create an agnostic package that could run on the cluster
|
# on my local machine to create an agnostic package that could run on the cluster
|
||||||
|
mkdir -p "$(pwd)/$OUTPUT_DIR"
|
||||||
singularity run \
|
singularity run \
|
||||||
--env OUTPUT_DIR=/out \
|
--env OUTPUT_DIR=/out \
|
||||||
--bind "$(pwd)/acyclic:/in:ro" \
|
--bind "$(pwd)/acyclic:/in:ro" \
|
||||||
--bind "$(pwd)/$OUTPUT_DIR:/out" \
|
--bind "$(pwd)/$OUTPUT_DIR:/out" \
|
||||||
validate.sif \
|
validate.sif \
|
||||||
validate --file "/in/$basefile" --arg "$arg" --time --problem dc-co --max_loops "$MAX_LOOPS"
|
validate --file "/in/$basefile" --arg "$arg" --time --problem dc-co --max-loops "$MAX_LOOPS"
|
||||||
|
|
Loading…
Reference in a new issue