NERSC logo National Energy Research Scientific Computing Center
  A DOE Office of Science User Facility
  at Lawrence Berkeley National Laboratory
 
PackagePlatformVersionModule Docs
(*) Denotes limited support

WSMP Math Library

The Watson Sparse Matrix Package (WSMP), is a high-performance, robust, easy to use software package for solving both symmetric and unsymmetric large sparse systems of linear equations using a direct method. It can be used as a serial package, or in a shared-memory multiprocessor environment, or as a scalable parallel solver in a message-passing environment, where each node can either be a uniprocessor or a shared-memory multiprocessor.

WSMP replaces the older software called WSSMP. WSMP is developed by Anshul Gupta of IBM T. J. Watson Research Center.

The version on the IBM SP is 1.9.4 and supports double precision.

NOTE: Both 32-bit and 64-bit address space WSMP libraries are available on the IBM SP.

How to use

32-bit library

Serial Version
% module load wsmp 
% xlf_r   $WSMP  ... 
% cc_r   $WSMP  ... 
Parallel Version
% module load wsmp_par 
% mpxlf_r $WSMP  ... 
% mpcc_r $WSMP  ... 

For 64-bit library

Serial Version
% module load wsmp_64 
% setenv OBJECT_MODE 64 
% xlf_r   -q64 $WSMP  ... 
% cc_r   -q64 $WSMP  ... 
Parallel Version
% module load wsmp_par_64 
% setenv OBJECT_MODE 64 
% mpxlf_r -q64 $WSMP  ... 
% mpcc_r -q64 $WSMP  ... 

NOTE 1: Although WSMP libraries contains multithreaded code, the libraries are not thread-safe. Therefore, the calling program cannot invoke multiple instances of the routines contained in WSMP libraries from different threads at the same time.

NOTE 2: Currently, WSMP does not support the solution of unsymmetric sparse systems in a message passing environment.

Example Programs

WSMP examples are located in the directories $WSMP_EXAMPLES/mpi for message-passing symmetric solver,$WSMP_EXAMPLES/sym for symmetric solver and $WSMP_EXAMPLES/unsym for unsymmetric solvers.

You can copy example programs from these directories, and also a Makefile to run the examples. Please modify Makefiles if you are using 64-bit address space WSMP libraries.

To easily build and run symmetric solver example one program e.g. wssmp_ex1.f do the following:

%make  run_wssmp_ex1

It will compile, link, and execute the example program wssmp_ex1.f and write output to the file wssmp_ex1.out into the current directory.

More Information


LBNL Home
Page last modified: Tue, 11 May 2004 16:27:22 GMT
Page URL: http://www.nersc.gov/nusers/resources/software/libs/math/lineq/wsmp/
Web contact: webmaster@nersc.gov
Computing questions: consult@nersc.gov

Privacy and Security Notice
DOE Office of Science