tadded diagnostics script - sphere - GPU-based 3D discrete element method algor… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit c6a424a797d75aa74e401d8ba05ad6cee526de78 | |
parent 6f878dae88538cdb9bf5c8ae02762a256bb1e764 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 26 Aug 2014 10:25:03 +0200 | |
added diagnostics script | |
Diffstat: | |
A run_diagnostics.sh | 23 +++++++++++++++++++++++ | |
1 file changed, 23 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/run_diagnostics.sh b/run_diagnostics.sh | |
t@@ -0,0 +1,23 @@ | |
+#!/bin/bash | |
+ | |
+OUTFILE=diagnostics.txt | |
+ | |
+function report { | |
+ echo "\n### $@ ###" >> $OUTFILE | |
+ $@ >> $OUTFILE 2>&1 | |
+} | |
+ | |
+report ls -lhR . | |
+report git show | |
+report git status | |
+report lspci | |
+report uname -a | |
+report cmake --version | |
+report cmake . | |
+report make | |
+report make test | |
+report cat Testing/Temporary/LastTestsFailed.log | |
+report cat Testing/Temporary/LastTest.log | |
+ | |
+echo "### Diagnostics complete ###" | |
+echo "Report bugs and unusual behavior to [email protected]" |