-
Notifications
You must be signed in to change notification settings - Fork 1
/
Apptainer_template
71 lines (58 loc) · 1.99 KB
/
Apptainer_template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Stage 1: Compile the planner
Bootstrap: docker
From: ubuntu:22.04
Stage: build
%files
. /planner
%post
## Install all necessary dependencies.
apt-get update
apt-get -y install --no-install-recommends cmake pypy3 make g++
## Clear build directory.
rm -rf /planner/builds
## Build the planner
cd /planner
pypy3 build.py -j4
strip --strip-all builds/release/bin/downward
# Stage 2: Run the planner
Bootstrap: docker
From: ubuntu:22.04
Stage: run
# Copy planner binary and required files from Stage 1.
%files from build
/planner/fast-downward.py
/planner/builds/ipc23/bin/
/planner/driver
%post
## Install only dependencies for running the planner.
apt-get update
apt-get -y install --no-install-recommends pypy3
## Remove unnecessary files to keep the image small.
rm -rf /var/lib/apt/lists/*
# The runscript is called whenever the container is used to solve an instance.
%runscript
DOMAINFILE="$1"
PROBLEMFILE="$2"
PLANFILE="$3"
pypy3 /fast-downward.py \
--build "ipc23" \
--plan-file "$PLANFILE" \
--alias "TODO"
"$DOMAINFILE" \
"$PROBLEMFILE" \
## Define meta data
%labels
Name TODO
Description TODO
Authors Clemens Büchner <[email protected]>, Remo Christen <[email protected]>, Salomé Eriksson <[email protected]>, Thomas Keller <[email protected]>
License GPL 3
Tracks TODO
SupportsDerivedPredicates no
SupportsUniversallyQuantifiedPreconditions yes
SupportsExistentiallyQuantifiedPreconditions partially, only quantification over static predicates (demo example of a description of partial support)
SupportsUniversallyQuantifiedEffects yes
SupportsNegativePreconditions yes
SupportsEqualityPreconditions yes
SupportsInequalityPreconditions yes
SupportsConditionalEffects yes
SupportsImplyPreconditions yes