This is an automated email from the ASF dual-hosted git repository.
baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/main by this push:
new a2def8c16f [MINOR] Set default tutorial to CNN Long
a2def8c16f is described below
commit a2def8c16f488dd5e310055e9db333bb77d3771f
Author: Sebastian Baunsgaard <[email protected]>
AuthorDate: Sun Oct 8 21:25:34 2023 +0200
[MINOR] Set default tutorial to CNN Long
---
scripts/tutorials/federated/install.sh | 2 +-
scripts/tutorials/federated/parameters.sh | 4 ++--
scripts/tutorials/federated/run.sh | 8 ++++----
scripts/tutorials/federated/scripts/stopMonitoring.sh | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/scripts/tutorials/federated/install.sh
b/scripts/tutorials/federated/install.sh
index d69a14dba3..c2ee1b5dac 100755
--- a/scripts/tutorials/federated/install.sh
+++ b/scripts/tutorials/federated/install.sh
@@ -46,7 +46,7 @@ for index in ${!address[*]}; do
cd github;
if [[ ! -d 'systemds' ]]; then git clone
https://github.com/apache/systemds.git > /dev/null 2>&1; fi;
cd systemds;
- git reset --hard origin/master > /dev/null 2>&1;
+ git reset --hard origin/main > /dev/null 2>&1;
git pull > /dev/null 2>&1;
mvn clean package -P distribution | grep -E 'BUILD';
echo 'Installed Systemds on' \$HOSTNAME;
diff --git a/scripts/tutorials/federated/parameters.sh
b/scripts/tutorials/federated/parameters.sh
index 57dbd6af4b..24cf073ded 100755
--- a/scripts/tutorials/federated/parameters.sh
+++ b/scripts/tutorials/federated/parameters.sh
@@ -39,8 +39,8 @@ export SYSDS_QUIET=1
# export COMMAND='java -Xmx8g -Xms8g -cp "./lib/*;./SystemDS_old.jar"
org.apache.sysds.api.DMLScript -f'
# Set the addresses of your federated workers.
-# address=("so007" "so004" "so005" "so006")
-address=("localhost" "localhost" "localhost" "localhost")
+address=("so007" "so004" "so005" "so006")
+# address=("localhost" "localhost" "localhost" "localhost")
# We assume for the scripts to work that each worker have a unique port
ports=("8001" "8002" "8003" "8004")
diff --git a/scripts/tutorials/federated/run.sh
b/scripts/tutorials/federated/run.sh
index ec4e48e3b0..b4f64dc051 100755
--- a/scripts/tutorials/federated/run.sh
+++ b/scripts/tutorials/federated/run.sh
@@ -55,10 +55,10 @@ source parameters.sh
# -args $x $y_hot $xt $yt_hot \
# -fedMonitoringAddress "http://localhost:8080"
-# systemds code/exp/CNNLong.dml \
-# -stats \
-# -args $x $y_hot $xt $yt_hot \
-# -fedMonitoringAddress "http://localhost:8080"
+systemds code/exp/CNNLong.dml \
+ -stats \
+ -args $x $y_hot $xt $yt_hot \
+ -fedMonitoringAddress "http://localhost:8080"
# systemds code/exp/sumRepeat.dml \
# -config conf/$conf.xml \
diff --git a/scripts/tutorials/federated/scripts/stopMonitoring.sh
b/scripts/tutorials/federated/scripts/stopMonitoring.sh
index 59f35c72b9..c5528350da 100755
--- a/scripts/tutorials/federated/scripts/stopMonitoring.sh
+++ b/scripts/tutorials/federated/scripts/stopMonitoring.sh
@@ -27,7 +27,7 @@ if [[ -d "tmp/monitoring" ]]; then
rm -f "tmp/monitoring/monitoringProcessID"
fi
if [[ -f "tmp/monitoring/UIProcessID" ]]; then
- echo "STOP NPM manually!! Process ID:"
+ echo "STOP NPM manually!! search for 'ng serve' at Process ID:"
cat "tmp/monitoring/UIProcessID"
fi