-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Xiaoye Li
committed
Apr 9, 2016
1 parent
892d677
commit 84fe616
Showing
5 changed files
with
58 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
############################################################################ | ||
# | ||
# Program: SuperLU_DIST | ||
# | ||
# Module: make.inc | ||
# | ||
# Purpose: Top-level Definitions | ||
# | ||
# Creation date: March 1, 2016 version 5.0.0 | ||
# | ||
# Modified: | ||
# | ||
# | ||
############################################################################ | ||
# | ||
# The name of the libraries to be created/linked to | ||
# | ||
VERSION = 5.0.0 | ||
SuperLUroot = /home/xiaoye/Dropbox/Codes/SuperLU/SuperLU_DIST_${VERSION} | ||
DSUPERLULIB = $(SuperLUroot)/lib/libsuperlu_dist.a | ||
|
||
# BLASDEF = -DUSE_VENDOR_BLAS | ||
|
||
PARMETIS_DIR := ${HOME}/lib/static/parmetis-4.0.3 | ||
I_PARMETIS := -I${PARMETIS_DIR}/include -I${PARMETIS_DIR}/metis/include | ||
METISLIB := -L${PARMETIS_DIR}/build/Linux-x86_64/libmetis -lmetis | ||
PARMETISLIB := -L${PARMETIS_DIR}/build/Linux-x86_64/libparmetis -lparmetis | ||
|
||
LIBS = $(DSUPERLULIB) /usr/lib/libf77blas.so /usr/lib/libatlas.so \ | ||
${PARMETISLIB} ${METISLIB} | ||
|
||
# | ||
# The archiver and the flag(s) to use when building archive (library) | ||
# If your system has no ranlib, set RANLIB = echo. | ||
# | ||
ARCH = /usr/bin/ar | ||
ARCHFLAGS = cr | ||
RANLIB = /usr/bin/ranlib | ||
|
||
CC = /home/xiaoye/mpich-install/bin/mpicc | ||
CFLAGS = -DNDEBUG -DUSE_VENDOR_BLAS -DAdd_ -DDEBUGlevel=0 -DPRNTlevel=0 -std=c99 -fPIC -g ${I_PARMETIS} | ||
# CFLAGS += -D | ||
# CFLAGS += | ||
NOOPTS = -O0 | ||
FORTRAN = /usr/bin/gfortran | ||
|
||
LOADER = $(CC) | ||
LOADOPTS = -Wl,-rpath=/home/xiaoye/Dropbox/Codes/SuperLU/SuperLU_DIST_${VERSION}/lib -g # -Wl,-Bdynamic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,6 @@ | ||
SuperLU_DIST (version 5.0.0) | ||
============================ | ||
|
||
Copyright (c) 2003, The Regents of the University of California, through | ||
Lawrence 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 without | ||
modification, 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 documentation | ||
and/or other materials provided with the distribution. | ||
(3) Neither the name of Lawrence Berkeley National Laboratory, U.S. Dept. of | ||
Energy nor the names of its contributors may be used to endorse or promote | ||
products derived from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | ||
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | ||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
CONTRIBUTORS 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, OR | ||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, 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 of | ||
|
@@ -256,4 +225,4 @@ Ichitaro Yamazaki Univ. of Tennessee, [email protected] | |
July 15, 2014 Version 4.1 | ||
September 25, 2015 Version 4.2 | ||
December 31, 2015 Version 4.3 | ||
March 1, 2016 Version 5.0.0 | ||
April 8, 2016 Version 5.0.0 |