mirror of
https://gitlab.com/manzerbredes/paper-lowrate-iot.git
synced 2025-06-23 14:37:41 +00:00
Debug+Add g5k logs
This commit is contained in:
parent
f9d8e59ebb
commit
9305e544d3
1166 changed files with 11848461 additions and 24045 deletions
ns3-simulations
|
@ -147,10 +147,9 @@
|
|||
[ "$1" == "deploy" ] && deploy=1 || deploy=0
|
||||
[ "$1" == "-p" ] && progress=1 || progress=0
|
||||
|
||||
|
||||
|
||||
handleSim () {
|
||||
outF="$simArgsLoc/$(uuidgen).sh" # Args file based on host name (avoid conflict)
|
||||
[ -z "${argId}" ] && argId=1 || argId=$(( argId + 1 ))
|
||||
outF="$simArgsLoc/${argId}.sh" # Args file based on host name (avoid conflict)
|
||||
|
||||
# Add Shebang
|
||||
echo '#!/bin/bash' > $outF
|
||||
|
@ -232,6 +231,7 @@
|
|||
*** Worker Node Script
|
||||
Almost like the [[microBenchmarksSingle][single run script]] but with additionnal code to handle g5k simulation platform (arguments,logs etc..).
|
||||
#+BEGIN_SRC sh :tangle ./g5k-worker.sh :shebang "#!/bin/bash" :noweb yes
|
||||
export NS3_PATH=~/.bin/ns-3/ns-3.29/
|
||||
g5kLogFolder="/tmp/logs/"
|
||||
mkdir -p $g5kLogFolder # Create log folder just in case
|
||||
rm -rf $g5kLogFolder/* # Clean previous logs just in case
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue