修改项目架构,增加docker封装

This commit is contained in:
YuhangQ 2023-03-28 08:45:04 +00:00
parent 53fc57de45
commit 4b6201757b
245 changed files with 5709 additions and 123 deletions

@ -0,0 +1 @@
Subproject commit 7ce41ac33c32c6221b754c1a385380028f635a70

File diff suppressed because it is too large Load Diff

3
docker/init_leader.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
/usr/sbin/sshd -D -f /home/ecs-user/.ssh/sshd_config &

3
docker/init_worker.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
/usr/sbin/sshd -D -f /home/ecs-user/.ssh/sshd_config &

6
docker/leader.dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM satcomp-infrastructure:leader
COPY --chown=ecs-user ./light /competition/light
COPY --chown=ecs-user ./init_leader.sh /competition/init_solver.sh
COPY --chown=ecs-user ./run_solver.sh /competition/run_solver.sh
COPY --chown=ecs-user ./files /competition/files

BIN
docker/light Executable file

Binary file not shown.

3
docker/run_solver.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
mpirun --host worker1,worker2,worker3 light -i ./files/class_1_easy_10_0.cnf

5
docker/worker.dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM satcomp-infrastructure:worker
COPY --chown=ecs-user ./light /competition/light
COPY --chown=ecs-user ./init_worker.sh /competition/init_solver.sh
COPY --chown=ecs-user ./files /competition/files

BIN
light Executable file

Binary file not shown.

View File

@ -1 +0,0 @@
./src-light-master/build/light-master

View File

@ -1 +0,0 @@
./src-light-solver/build/light-solver

Some files were not shown because too many files have changed in this diff Show More