netlib-java icon indicating copy to clipboard operation
netlib-java copied to clipboard

bundle self-built f2j jars

Open fommil opened this issue 12 years ago • 1 comments

(from Keith Seymour)

The general build procedure is outlined here:

http://icl.cs.utk.edu/f2j/faq/index.html#322

But in your case, there are a few changes required.

Since you want to include the full blas/lapack with your jar file, you would first build jlapack: cd jlapack-3.1.1 make lib

Then build jarpack first using the default subset of blas/lapack: cd jarpack make arpack_lib

Copy the full blas/lapack jars to the appropriate arpack directories: cp ../jlapack-3.1.1/src/blas/blas.jar BLAS/ cp ../jlapack-3.1.1/src/lapack/lapack.jar LAPACK/ cp ../jlapack-3.1.1/src/util/f2jutil.jar .

Then make the jar file: make combined_jar

The jar file should be in the "jar_temp" subdirectory.

I just ran a quick test and this procedure seemed to work, but let me know if you hit a snag.

fommil avatar Jul 30 '13 20:07 fommil

it would be great if we included some of the test routines like random matrix generation.

fommil avatar Aug 31 '13 19:08 fommil