修改项目架构,增加docker封装
This commit is contained in:
parent
53fc57de45
commit
4b6201757b
1
aws-batch-comp-infrastructure-sample
Submodule
1
aws-batch-comp-infrastructure-sample
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 7ce41ac33c32c6221b754c1a385380028f635a70
|
5633
docker/files/class_1_easy_10_0.cnf
Normal file
5633
docker/files/class_1_easy_10_0.cnf
Normal file
File diff suppressed because it is too large
Load Diff
3
docker/init_leader.sh
Executable file
3
docker/init_leader.sh
Executable 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
3
docker/init_worker.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/sbin/sshd -D -f /home/ecs-user/.ssh/sshd_config &
|
6
docker/leader.dockerfile
Normal file
6
docker/leader.dockerfile
Normal 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
BIN
docker/light
Executable file
Binary file not shown.
3
docker/run_solver.sh
Executable file
3
docker/run_solver.sh
Executable 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
5
docker/worker.dockerfile
Normal 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
|
@ -1 +0,0 @@
|
||||
./src-light-master/build/light-master
|
@ -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
Loading…
x
Reference in New Issue
Block a user