|
|
@ -47,14 +47,15 @@ BLACS=-lmpiblacs-intel -L$(HOME)/NUMERICAL/LIB
|
|
|
|
|
|
|
|
|
|
|
|
####################### Section 4 #######################
|
|
|
|
####################### Section 4 #######################
|
|
|
|
# Other useful tools&defines #
|
|
|
|
# Other useful tools&defines #
|
|
|
|
|
|
|
|
# SLU and UMF need only be set when using MLD2P4 #
|
|
|
|
##########################################################
|
|
|
|
##########################################################
|
|
|
|
SLUDIR=/usr/local/SuperLU_3.0
|
|
|
|
#SLUDIR=/usr/local/SuperLU_3.0
|
|
|
|
SLU=-lslu_lx_ifc9 -L$(SLUDIR)
|
|
|
|
#SLU=-lslu_lx_ifc9 -L$(SLUDIR)
|
|
|
|
SLUDEF=-DHave_SLU_ -I$(SLUDIR)
|
|
|
|
#SLUDEF=-DHave_SLU_ -I$(SLUDIR)
|
|
|
|
|
|
|
|
|
|
|
|
UMFDIR=$(HOME)/LIB/Umfpack_gcc41
|
|
|
|
#UMFDIR=$(HOME)/LIB/Umfpack_gcc41
|
|
|
|
UMF=-lumfpack -lamd -L$(UMFDIR)
|
|
|
|
#UMF=-lumfpack -lamd -L$(UMFDIR)
|
|
|
|
UMFDEF=-DHave_UMF_ -I$(UMFDIR)
|
|
|
|
#UMFDEF=-DHave_UMF_ -I$(UMFDIR)
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# We are using the public domain tool METIS from U. Minnesota. To get it
|
|
|
|
# We are using the public domain tool METIS from U. Minnesota. To get it
|
|
|
|
# check URL http://www.cs.umn.edu:~karypis
|
|
|
|
# check URL http://www.cs.umn.edu:~karypis
|
|
|
@ -62,7 +63,8 @@ UMFDEF=-DHave_UMF_ -I$(UMFDIR)
|
|
|
|
METIS_LIB = -L$(HOME)/NUMERICAL/metis-4.0 -lmetis
|
|
|
|
METIS_LIB = -L$(HOME)/NUMERICAL/metis-4.0 -lmetis
|
|
|
|
LDLIBS=$(BLACS) $(SLU) $(UMF) $(BLAS) $(METIS_LIB)
|
|
|
|
LDLIBS=$(BLACS) $(SLU) $(UMF) $(BLAS) $(METIS_LIB)
|
|
|
|
|
|
|
|
|
|
|
|
# Add -DLargeFptr for 64-bit addresses
|
|
|
|
# Add -DLargeFptr for 64-bit addresses
|
|
|
|
|
|
|
|
# Note: MOVE_ALLOC is only on Intel Fortran 9.1, NOT on 9.0
|
|
|
|
CDEFINES=-DAdd_ $(SLUDEF) $(UMFDEF)
|
|
|
|
CDEFINES=-DAdd_ $(SLUDEF) $(UMFDEF)
|
|
|
|
FDEFINES=-DNETLIB_BLACS $(MPI_FINC) -DHAVE_MOVE_ALLOC
|
|
|
|
FDEFINES=-DNETLIB_BLACS $(MPI_FINC) -DHAVE_MOVE_ALLOC
|
|
|
|
|
|
|
|
|
|
|
|