|
@ -41,6 +41,7 @@ IMAGE_origin="hub.swarmlab.io:5480/hybrid-mpi:latest" |
|
|
bootstrap="sec_bootstrap" |
|
|
bootstrap="sec_bootstrap" |
|
|
hostnames="auto_update_hosts" |
|
|
hostnames="auto_update_hosts" |
|
|
hostnames_get="get_hosts" |
|
|
hostnames_get="get_hosts" |
|
|
|
|
|
NODENAME=${HYBRID_NETWORK}_master_1.${HYBRID_NETWORK}_${HYBRID_NETWORK} |
|
|
# shellcheck disable=SC1091 |
|
|
# shellcheck disable=SC1091 |
|
|
#. ./.env |
|
|
#. ./.env |
|
|
|
|
|
|
|
@ -310,6 +311,8 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/bin/mkdir -p $Wdir/project |
|
|
/bin/mkdir -p $Wdir/project |
|
|
|
|
|
/bin/mkdir -p $Wdir/project/bin |
|
|
|
|
|
/bin/cp -f $DIR/project/swarmlab-nmap $Wdir/project/bin |
|
|
/bin/cp -f $DIR/project/mpich-3.2.tar.gz $Wdir |
|
|
/bin/cp -f $DIR/project/mpich-3.2.tar.gz $Wdir |
|
|
/bin/cp -f $DIR/project/examples $Wdir/project |
|
|
/bin/cp -f $DIR/project/examples $Wdir/project |
|
|
/bin/cp -f $DIR/project/hello_world.sh $Wdir/project |
|
|
/bin/cp -f $DIR/project/hello_world.sh $Wdir/project |
|
@ -333,6 +336,8 @@ services: |
|
|
master: |
|
|
master: |
|
|
image: $REGISTRY_ADDR:$REGISTRY_PORT/$IMAGE_NAME |
|
|
image: $REGISTRY_ADDR:$REGISTRY_PORT/$IMAGE_NAME |
|
|
privileged: true |
|
|
privileged: true |
|
|
|
|
|
environment: |
|
|
|
|
|
- NODENAME=${NODENAME} |
|
|
cap_add: |
|
|
cap_add: |
|
|
- NET_ADMIN |
|
|
- NET_ADMIN |
|
|
user: root |
|
|
user: root |
|
@ -348,6 +353,8 @@ services: |
|
|
worker: |
|
|
worker: |
|
|
image: $REGISTRY_ADDR:$REGISTRY_PORT/$IMAGE_NAME |
|
|
image: $REGISTRY_ADDR:$REGISTRY_PORT/$IMAGE_NAME |
|
|
privileged: true |
|
|
privileged: true |
|
|
|
|
|
environment: |
|
|
|
|
|
- NODENAME=${NODENAME} |
|
|
cap_add: |
|
|
cap_add: |
|
|
- NET_ADMIN |
|
|
- NET_ADMIN |
|
|
user: root |
|
|
user: root |
|
|