tadded diagnostics script - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit c6a424a797d75aa74e401d8ba05ad6cee526de78
(DIR) parent 6f878dae88538cdb9bf5c8ae02762a256bb1e764
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) 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 anders.damsgaard@geo.au.dk"