Commit 67c93797 authored by Margret A. Riegert's avatar Margret A. Riegert
Browse files

Improve applications for clean builds without any artifacts


Former-commit-id: 6a9d576190126e5e4efddfb21654fbb723e268cd [formerly 7d2e61ff74f22b20a9746c0c748ed9a95f675e22]
Former-commit-id: a83874541c02036e4f1b5a514601d2b3ca437419
parent ddd870d7
*.o
*.d
*.a
**/*/bin
__pycache__
*.tmp
*.log
**/*/output
*.json
hadianeh.parroto.data
\ No newline at end of file
__pycache__
\ No newline at end of file
*
!.gitignore
!scripts
!src
!src.nn
!test.data/input
!train.data/input
!Makefile
!Makefile_nn
!run_NN.sh
!run_observation.sh
\ No newline at end of file
......@@ -45,7 +45,8 @@ clean:
@rm -rf fann.config
@rm -rf fann.data
@rm -rf log
@rm -rf nn.configs
@rm -rf test.data
@rm -rf train.data
@rm -rf *.json *.data
\ No newline at end of file
@rm -rf nn.configs
@rm -rf test.data/output
@rm -rf train.data/output
@rm -rf *.json
@rm -rf hadianeh.parroto.data
\ No newline at end of file
#!/bin/bash
set -e
benchmark=blackscholes
mkdir -p test.data/output
for f in test.data/input/*.data
do
filename=$(basename "$f")
......
#!/bin/bash
set -e
rm -rf train.data/output/bin
mkdir train.data/output/bin
mkdir -p train.data/output/bin
benchmark=blackscholes
for f in train.data/input/*.data
......
*
!.gitignore
!scripts
!src
!src.nn
!Makefile
!Makefile_nn
!run_NN.sh
!run_observation.sh
\ No newline at end of file
......@@ -45,7 +45,8 @@ clean:
@rm -rf fann.config
@rm -rf fann.data
@rm -rf log
@rm -rf nn.configs
@rm -rf test.data
@rm -rf nn.configs
@rm -rf test.data
@rm -rf train.data
@rm -rf *.json *.data
\ No newline at end of file
@rm -rf *.json
@rm -rf hadianeh.parroto.data
\ No newline at end of file
#!/bin/bash
set -e
benchmark=fft
red='\033[0;31m'
......@@ -7,6 +9,7 @@ blue='\033[0;34m'
green='\033[0;32m'
nc='\033[0m' # No Color
mkdir -p test.data/output
./bin/${benchmark}.nn.out 32768 test.data/output/${benchmark}_nn.data
./bin/${benchmark}.out 32768 test.data/output/${benchmark}_orig.data
......
#!/bin/bash
set -e
rm -rf train.data/output/bin
mkdir train.data/output/bin
mkdir -p train.data/output/bin
benchmark=fft
......
This diff is collapsed.
*
!.gitignore
!scripts
!src
!src.nn
!test.data/input/theta_1000K.data
!test.data/output/theta_1000K_inversek2j_orig.data
!train.data/input
!Makefile
!Makefile_nn
!run_NN.sh
!run_observation.sh
\ No newline at end of file
......@@ -45,7 +45,8 @@ clean:
@rm -rf fann.config
@rm -rf fann.data
@rm -rf log
@rm -rf nn.configs
@rm -rf test.data
@rm -rf train.data
@rm -rf *.json *.data
@rm -rf nn.configs
@rm -rf test.data/output
@rm -rf train.data/output
@rm -rf *.json
@rm -rf hadianeh.parroto.data
#!/bin/bash
set -e
benchmark=inversek2j
red='\033[0;31m'
......@@ -7,6 +9,8 @@ blue='\033[0;34m'
green='\033[0;32m'
nc='\033[0m' # No Color
mkdir -p test.data/output
for f in test.data/input/*.data
do
filename=$(basename "$f")
......@@ -16,7 +20,7 @@ do
./bin/${benchmark}.nn.out ${f} test.data/output/${filename}_${benchmark}_nn.data
./bin/${benchmark}.out ${f} test.data/output/${filename}_${benchmark}_orig.data
echo -ne "${red}- ${f}${nc} "
echo -ne " ${red}- ${f}${nc} "
python ./scripts/qos.py test.data/output/${filename}_${benchmark}_orig.data test.data/output/${filename}_${benchmark}_nn.data
done
\ No newline at end of file
#!/bin/bash
set -e
rm -rf train.data/output/bin
mkdir train.data/output/bin
mkdir -p train.data/output/bin
benchmark=inversek2j
for f in train.data/input/*.data
......
......@@ -62,5 +62,4 @@ for i in range(len(origLines)):
absError += e
print(bcolors.FAIL + "*** Error: %1.8f" % (absError/len(origLines)) + bcolors.ENDC)
/bin
/fann.config
/log
/nn.configs
/obj
/test.data/input/jmeint_1000K.data
/test.data/output
/train.data/output
/hadianeh.parroto.data
/jmeint.json
\ No newline at end of file
......@@ -46,6 +46,7 @@ clean:
@rm -rf fann.data
@rm -rf log
@rm -rf nn.configs
@rm -rf test.data
@rm -rf train.data
@rm -rf *.json *.data
@rm -rf test.data/output
@rm -rf train.data/output
@rm -rf *.json
@rm -rf hadianeh.parroto.data
#!/bin/bash
set -e
benchmark=jmeint
red='\033[0;31m'
......@@ -7,6 +9,13 @@ blue='\033[0;34m'
green='\033[0;32m'
nc='\033[0m' # No Color
mkdir -p test.data/output
for f in test.data/input/*.gz
do
$(cd $(dirname "$f") && gunzip -k $(basename "$f"))
done
for f in test.data/input/*.data
do
filename=$(basename "$f")
......@@ -16,7 +25,7 @@ do
./bin/${benchmark}.nn.out ${f} test.data/output/${filename}_${benchmark}_nn.data
./bin/${benchmark}.out ${f} test.data/output/${filename}_${benchmark}_orig.data
echo -ne "${red}- ${f}${nc} "
echo -ne " ${red}- ${f}${nc} "
python ./scripts/qos.py test.data/output/${filename}_${benchmark}_orig.data test.data/output/${filename}_${benchmark}_nn.data
done
\ No newline at end of file
#!/bin/bash
set -e
rm -rf train.data/output/bin
mkdir -p train.data/output/bin
benchmark=jmeint
mkdir -p train.data/output
for f in train.data/input/*.data
do
filename=$(basename "$f")
......
4314cba15cf47bb110acbcc92fb4894b9f1d0fd4
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment