Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

JuliaSparse/WSMP.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interface to the Watson Sparse Matrix Package from IBM

The Watson Sparse Matrix Package is proprietary software. Use of this Julia interface requires that the library libwsmp64.a be downloaded and installed in the directory

Pkg.dir("WSMP","deps","usr","lib")

and that a valid wsmp.lic license file be available in the same directory.

The library is shipped as a static library. It must be converted to a dynamic library before use. A rudimentary build.jl file is available to accomplish this.

Note that libwsmp.so must be linked against a BLAS compiled with the environment variable USE_BLAS set to 0. An easy way to accomplish this is to add the line

USE_BLAS64=0

in the Make.user file in the Julia home directory and run

make cleanall
make
make testall

Check that BLAS are compiled to use 32-bit integers with

julia> Base.LinAlg.BlasInt
Int32

WSMP types

The Wssmp type represents a symmetric sparse matrix. A constructor that takes a symmetric SparseMatrixCSC is available.

By default the Wssmp type uses a CSC (compressed sparse column) representation of the lower triangle of the original matrix. The MSC (modified compressed sparse column) representation, in which the diagonal is stored separately from the strict lower triangle in CSC format, is also available.

About

Interface to the Watson Sparse Matrix Package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages