diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3cd1be3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +.class + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.ear + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..4d2bb51 --- /dev/null +++ b/README.md @@ -0,0 +1,50 @@ +# Java Linpack Benchmark + +Java Linpack Benchmark is a translation of the popular Linpack benchmark, originally written in Fortran. The Benchmark is a numerically intensive test that has been used for years to measure the floating point performance of computers. + +To see more about the project, visit: +http://www.netlib.org/benchmark/linpackjava/ + + +## How to use + +Compile by run: + + javac -O Linpack.java + +To run: + + java Linpack + +## Contributors + +Modified 3/3/97 by David M. Doolin (dmd) doolin[at]cs.utk.edu +Fixed error in matgen() method. Added some comments. + +Modified 1/22/97 by Paul McMahan mcmahan[at]cs.utk.edu +Added more MacOS options to form. + +Optimized by Jonathan Hardwick (jch[at]cs.cmu.edu), 3/28/96 +Compare to Linkpack.java. +Optimizations performed: + + - added "final" modifier to performance-critical methods. + - changed lines of the form "a[i] = a[i] + x" to "a[i] += x". + - minimized array references using common subexpression elimination. + - eliminated unused variables. + - undid an unrolled loop. + - added temporary 1D arrays to hold frequently-used columns of 2D arrays. + - wrote my own abs() method + +See http://www.cs.cmu.edu/~jch/java/linpack.html for more details. + + +Ported to Java by Reed Wade (wade[cs.utk.edu) 2/96 +built using JDK 1.0 on solaris +using "javac -O Linpack.java" + + +Translated to C by Bonnie Toy 5/88 + (modified on 2/25/94 to fix a problem with daxpy for + unequal increments or equal increments not equal to 1. + Jack Dongarra) \ No newline at end of file diff --git a/src/Linpack.class b/src/Linpack.class deleted file mode 100644 index 43ad299..0000000 Binary files a/src/Linpack.class and /dev/null differ diff --git a/src/README b/src/README deleted file mode 100644 index 5eb43cd..0000000 --- a/src/README +++ /dev/null @@ -1,8 +0,0 @@ - -To compile: - - javac -O Linpack.java - -To run: - - java Linpack