📄 readme
字号:
SuperLU_DIST (version 2.1) ==========================Copyright (c) 2003, The Regents of the University of California, throughLawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy) All rights reserved. Redistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditions are met: (1) Redistributions of source code must retain the above copyright notice,this list of conditions and the following disclaimer. (2) Redistributions in binary form must reproduce the above copyright notice,this list of conditions and the following disclaimer in the documentationand/or other materials provided with the distribution. (3) Neither the name of Lawrence Berkeley National Laboratory, U.S. Dept. ofEnergy nor the names of its contributors may be used to endorse or promoteproducts derived from this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "ASIS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULARPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER ORCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OFLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDINGNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THISSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SuperLU_DIST contains a set of subroutines to solve a sparse linear system A*X=B. It uses Gaussian elimination with static pivoting (GESP). Static pivoting is a technique that combines the numerical stability ofpartial pivoting with the scalability of Cholesky (no pivoting),to run accurately and efficiently on large numbers of processors. SuperLU_DIST is a parallel extension to the serial SuperLU library.It is targeted for the distributed memory parallel machines.SuperLU_DIST is implemented in ANSI C, and MPI for communications.Currently, the LU factorization and triangular solution routines,which are the most time-consuming part of the solution process,are parallelized. The other routines, such as static pivoting and column preordering for sparsity are performed sequentially. This "alpha" release contains double-precision real and double-precisioncomplex data types.The distribution contains the following directory structure: SuperLU_DIST/README instructions on installation SuperLU_DIST/CBLAS/ needed BLAS routines in C, not necessarily fast SuperLU_DIST/DOC/ the Users' Guide SuperLU_DIST/EXAMPLE/ example programs SuperLU_DIST/INSTALL/ test machine dependent parameters SuperLU_DIST/SRC/ C source code, to be compiled into libsuperlu_dist.a SuperLU_DIST/lib/ contains library archive libsuperlu_dist.a SuperLU_DIST/Makefile top level Makefile that does installation and testing SuperLU_DIST/make.inc compiler, compiler flags, library definitions and C preprocessor definitions, included in all Makefiles. (You may need to edit it to suit for your system before compiling the whole package.) SuperLU_DIST/MAKE_INC/ sample machine-specific make.inc filesBefore installing the package, please examine the three things dependent on your system setup:1. Edit the make.inc include file. This make include file is referenced inside each of the Makefiles in the various subdirectories. As a result, there is no need to edit the Makefiles in the subdirectories. All information that is machine specific has been defined in this include file. Sample machine-specific {\tt make.inc} are provided in the MAKE_INC/ directory for several platforms, such as Cray T3E and IBM SP. When you have selected the machine to which you wish to install SuperLU_DIST, copy the appropriate sample include file (if one is present) into make.inc. For example, if you wish to run SuperLU_DIST on a Cray T3E, you can do cp MAKE_INC/make.t3e make.inc For the systems other than listed above, some porting effort is needed for parallel factorization routines. Please refer to the Users' Guide for detailed instructions on porting. 2. The BLAS library. The parallel routines in SuperLU_DIST uses some sequential BLAS routines on each process. If there is BLAS library available on your machine, you may define the following in the file make.inc: BLASDEF = -DUSE_VENDOR_BLAS BLASLIB = <BLAS library you wish to link with> The CBLAS/ subdirectory contains the part of the C BLAS needed by SuperLU_DIST package. However, these codes are intended for use only if there is no faster implementation of the BLAS already available on your machine. In this case, you should go to the top-level SuperLU_DIST/ directory and do the following: 1) In make.inc, undefine (comment out) BLASDEF, and define: BLASLIB = ../lib/libblas$(PLAT).a 2) Type: make blaslib to make the BLAS library from the routines in the CBLAS/ subdirectory.3. External libraries: Metis and ParMetis. If you will use Metis or ParMetis ordering, or parallel symbolic factorization (which depends on ParMetis), you will need to install them yourself. Since ParMetis package already contains the source code for the Metis library, you can just download ParMetis at: http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download After you have installed it, you should define the following in make.inc: METISLIB = -L<metis directory> -lmetis PARMETISLIB = -L<parmetis directory> -lparmetis4. C preprocessor definition CDEFS. In the header file SRC/Cnames.h, we use macros to determine how C routines should be named so that they are callable by Fortran. (Some vendor-supplied BLAS libraries do not have C interfaces. So the re-naming is needed in order for the SuperLU BLAS calls (in C) to interface with the Fortran-style BLAS.) The possible options for CDEFS are: o -DAdd_: Fortran expects a C routine to have an underscore postfixed to the name; o -DNoChange: Fortran expects a C routine name to be identical to that compiled by C; o -DUpCase: Fortran expects a C routine name to be all uppercase. A Makefile is provided in each subdirectory. The installation can be donecompletely automatically by simply typing "make" at the top level.REFERENCES[1] SuperLU_DIST: A Scalable Distributed-Memory Sparse Direct Solver for Unsymmetric Linear Systems. Xiaoye S. Li and James W. Demmel. ACM Trans. on Math. Solftware, Vol. 29, No. 2, June 2003, pp. 110-140.[2] Parallel Symbolic Factorization for Sparse LU with Static Pivoting. L. Grigori, J. Demmel and X.S. Li. SIAM J. Sci. Comp., Vol. 29, Issue 3, 1289-1314, 2007. Xiaoye S. Li Lawrence Berkeley National Lab, xsli@lbl.govJames Demmel Univ. of California Berkeley, demmel@cs.berkeley.eduLaura Grigori INRIA, France, Laura.Grigori@inria.fr-----------------| RELEASE NOTES |-----------------* Version 2.0, 10-15-2003 - "set_default_options" is renamed to "set_default_options_dist", because sequential SuperLU now uses set_default_options. - add a field in input "options" argument to control whether to print the solver's statistics. - add Fortran 90 wrapper in FORTRAN/ directory. - fixed a bug in triangular solve, which is related to the unfreed MPI_Irecv request handles. * Version 2.1, 10-01-2007 - include parallel symbolic factorization capability. - include Metis or ParMetis ordering algorithms.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -