Skip to content

Commit

Permalink
Merge pull request #4 from TACC/dev
Browse files Browse the repository at this point in the history
Minor update
  • Loading branch information
mrcawood authored Jul 21, 2021
2 parents 81dbc00 + 9c739c6 commit 988c0e2
Show file tree
Hide file tree
Showing 301 changed files with 1,330 additions and 26,328 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ __pycache__/
*.so

# Distribution / packaging
hw_reporting/hw_report*
auth/*
.Python
build/*
!build/modulefiles/builder.lua
results/*
.history
.outputs
.validated
develop-eggs/
build/
dist/
downloads/
eggs/
Expand Down
4 changes: 2 additions & 2 deletions .version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
benchtool v0.9.9
Mon May 17 11:32:18 CDT 2021
benchtool v1.0.1
Tue Jul 20 18:32:00 CDT 2021
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
recursive-include src *
262 changes: 147 additions & 115 deletions README.md

Large diffs are not rendered by default.

13 changes: 0 additions & 13 deletions build/modulefiles/builder.lua

This file was deleted.

7 changes: 7 additions & 0 deletions dev/clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# Clean build files
rm -rf benchtool.egg-info
rm -rf build
rm -rf dist

22 changes: 22 additions & 0 deletions dev/reinstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

# Clean user files
benchtool --uninstall

# Remove python package
pip uninstall -y benchtool

# Clean build files
rm -rf benchtool.egg-info
rm -rf build
rm -rf dist

# Install python package
python3 setup.py install

# Install user files
benchtool --install
benchtool --validate

# Check version
benchtool --version
3 changes: 3 additions & 0 deletions dev/test.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[sect]
wget = something, something else, last
cp = another
21 changes: 21 additions & 0 deletions dev/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import configparser as cp
import os

ini_parser = cp.ConfigParser( strict=False )
ini_parser.optionxform=str
ini_parser.read("test.ini")

stage_dict = dict(ini_parser.items('sect'))

for op in stage_dict:
print("This op:", op)
for loc in stage_dict[op].split(","):
if os.path.isfile(loc.strip()):
print("src", loc)
else:
print("File not found")





7 changes: 0 additions & 7 deletions dev/tmp.default.lua

This file was deleted.

2 changes: 0 additions & 2 deletions dev/unit_test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

source sourceme

APP=lammps
BENCH=ljmelt

Expand Down
19 changes: 15 additions & 4 deletions dev/version.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
#!/bin/bash

if [ -z $1 ]; then
if [ -z ${1} ]; then
echo "Provide version label"
exit 1
fi

echo "benchtool v$1" > $BENCHTOOL/.version
date >> $BENCHTOOL/.version
# Update module filename
mv src/data/modulefiles/benchtool/*.lua src/data/modulefiles/benchtool/${1}.lua

echo "Version file updated."
# Update version in settings.ini
sed -i "/version =/c\version = ${1}" src/data/settings.ini


# Update version in setup.py
sed -i "/version=/c\ version=\'${1}\'," setup.py

# Update version file
echo "benchtool v${1}" > src/data/.version
date >> src/data/.version

echo "Version info updated."
20 changes: 0 additions & 20 deletions doc/Makefile

This file was deleted.

Binary file removed doc/build/doctrees/bencher.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/builder.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/cfg_handler.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/common.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/environment.pickle
Binary file not shown.
Binary file removed doc/build/doctrees/exception.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/global_settings.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/index.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/input_handler.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/logger.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/math_handler.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/module_handler.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/modules.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/result_handler.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/splash.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/template_handler.doctree
Binary file not shown.
Binary file removed doc/build/doctrees/validate_setup.doctree
Binary file not shown.
4 changes: 0 additions & 4 deletions doc/build/html/.buildinfo

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/bencher.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/builder.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/cfg_handler.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/common.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/exception.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/global_settings.rst.txt

This file was deleted.

20 changes: 0 additions & 20 deletions doc/build/html/_sources/index.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/input_handler.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/logger.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/math_handler.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/module_handler.rst.txt

This file was deleted.

20 changes: 0 additions & 20 deletions doc/build/html/_sources/modules.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/result_handler.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/splash.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/template_handler.rst.txt

This file was deleted.

7 changes: 0 additions & 7 deletions doc/build/html/_sources/validate_setup.rst.txt

This file was deleted.

Loading

0 comments on commit 988c0e2

Please sign in to comment.