diff --git a/Make.inc b/Make.inc index 4ee173be..c671470f 100644 --- a/Make.inc +++ b/Make.inc @@ -10,9 +10,9 @@ F90=/usr/local/gcc42/bin/gfortran FC=/usr/local/gcc42/bin/gfortran F77=$(FC) CC=/usr/local/gcc42/bin/gcc -F90COPT=-O3 -FCOPT=-O3 -CCOPT=-O3 +F90COPT=-O3 -pg +FCOPT=-O3 -pg +CCOPT=-O3 -pg # # Which flag does your compiler use for module inclusion? # Most compilers use -I but Sun uses -M diff --git a/Make.inc.ifc9 b/Make.inc.ifc9 index efc4adbd..ed726796 100644 --- a/Make.inc.ifc9 +++ b/Make.inc.ifc9 @@ -51,7 +51,9 @@ BLACS=-lmpiblacs-intel -L$(HOME)/NUMERICAL/LIB ########################################################## #SLUDIR=/usr/local/SuperLU_3.0 #SLU=-lslu_lx_ifc9 -L$(SLUDIR) -#SLUDEF=-DHave_SLU_ -I$(SLUDIR) +#SLUDistDIR=/usr/local/SLUDist_2.0 +#SLUDist=-lslud-ifc9 -L$(SLUDistDIR) -L $(HOME)/LIB +#SLUDEF=-DHave_SLU_ -I$(SLUDIR) -DHave_SLUDist_ -I$(SLUDistDIR) #UMFDIR=$(HOME)/LIB/Umfpack_gcc41 #UMF=-lumfpack -lamd -L$(UMFDIR) diff --git a/Make.inc.sp5 b/Make.inc.sp5 index bf455118..4561d0db 100644 --- a/Make.inc.sp5 +++ b/Make.inc.sp5 @@ -49,7 +49,9 @@ BLACS=-lblacssmp ########################################################## #SLUDIR=/usr/local/SuperLU_3.0 #SLU=-lslu -L$(SLUDIR) -#SLUDEF=-DHave_SLU_ -I$(SLUDIR) +#SLUDistDIR=/usr/local/SLUDist_2.0 +#SLUDist=-lslud -L$(SLUDistDIR) -L $(HOME)/LIB +#SLUDEF=-DHave_SLU_ -I$(SLUDIR) -DHave_SLUDist_ -I$(SLUDistDIR) #UMFDIR=$(HOME)/LIB/Umfpack #UMF=-lumfpack -lamd -L$(UMFDIR) diff --git a/Make.inc.sun-6.2 b/Make.inc.sun-6.2 index 61f5f651..8feecffc 100644 --- a/Make.inc.sun-6.2 +++ b/Make.inc.sun-6.2 @@ -50,6 +50,9 @@ BLACS=$(HOME)/LIB/libblacs_MPI-SUN4SOL2-0.a $(HOME)/LIB/libblacsCinit_MPI-SUN4SO SLUDIR= SLU= SLUDEF= +#SLUDistDIR=/usr/local/SLUDist_2.0 +#SLUDist=-lslud-gcc42 -L$(SLUDistDIR) -L $(HOME)/LIB +#SLUDEF=-DHave_SLU_ -I$(SLUDIR) -DHave_SLUDist_ -I$(SLUDistDIR) UMFDIR= UMF= diff --git a/Makefile b/Makefile index 6390ae09..66079666 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ include Make.inc -#PREC=../mld2p4 -PREC=prec +PREC=../mld2p4 +#PREC=prec library: diff --git a/README b/README index 21a0b394..a2d6e2bb 100644 --- a/README +++ b/README @@ -9,9 +9,9 @@ ACM Trans. on Math. Software, 26(4), Dec. 2000, pp. 527-550. PLATFORMS: The compilation process relies on the choice of an appropriate -Make.inc file; we have tested with AIX XLF, Intel ifc/Linux, Lahey -F95/Linux, Nag f95/Linux, GNU Fortran/Linux. If you succeed in compiling with -other compiler/operating systems please let us know. +Make.inc file; we have tested with AIX XLF, Intel ifort/Linux, Nag +f95/Linux, GNU Fortran/Linux, Sun Forte 6.2. If you succeed in +compiling with other compiler/operating systems please let us know. LINUX: @@ -20,17 +20,14 @@ On Linux we work with the GCC compiler; note that we require version 4.2.0 (or later) as it contains support for ALLOCATABLEs (as specified in TR15581). -The Lahey version we got access to (6.0 and 6.1) seems to suffer from -spurious extra copies problem; this is most apparent in the matrix -build process. - For the Intel compilers, we recommend version 9.1; previous versions of the library have been compiled with version 7 and 8 of ifort. IBM SP. -The library has been tested on an IBM SP2, SP4 and SP5, with XLC and XLF -compilers, and a version of the BLACS based on MPI. +The library has been tested on an IBM SP5, with XLC and XLF +version 10.1 and the IBM ESSL/PESSL versions of the BLAS and the +BLACS. The setting F90=xlf90 -qsuffix=f=f90 in Make.inc.sp5 takes care of the f90 extension. @@ -82,13 +79,6 @@ prerequisites (see also SERIAL below): This is not necessary to compile our library, but the test program in test/Fileread assumes you have it installed. -5. For the multilevel preconditioners we include interfaces to the following - software packages: - -- SuperLU 3.0 http://crd.lbl.gov/~xiaoye/SuperLU/ - -- UMFPACK 4.4 http://www.cise.ufl.edu/research/sparse/umfpack/ - These are optional, you only need to install them if you actually - want to use them. - To install, choose a Make.inc.XXX file for your compilers, modify the paths to libraries to match your installation and copy it to Make.inc. Then a make will compile the library; go to the test @@ -116,11 +106,19 @@ Credits for version 2.0: Salvatore Filippone Alfredo Buttari -The MD2P4 multilevel parallel preconditioners contained in directory -src/prec were developed with the contribution of: + +In a sister package we are going to provide a library of multilevel +parallel preconditioners that were developed with the contribution of: Pasqua D'Ambra Daniela di Serafino -They are still in an early experimental stage, use at your own risk! + +In that package we will provide interfaces to the following software +packages: + -- SuperLU 3.0 http://crd.lbl.gov/~xiaoye/SuperLU/ + -- UMFPACK 4.4 http://www.cise.ufl.edu/research/sparse/umfpack/ +These are optional, you only need to install them if you actually want +to use them. +The MLD2P4 package will be published soon, watch this space!. Credits for version 1.0: Salvatore Filippone