Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37477017
en ru br
Репозитории ALT
S:5.3.5-alt3
5.1: 4.8.4-alt3
www.altlinux.org/Changes

Группа :: Науки/Математика
Пакет: mumps

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

#
# This file is part of MUMPS 4.8.4, built on Mon Dec 15 15:31:38 UTC 2008
#
#Begin orderings

# NOTE that PORD is distributed within MUMPS by default. If you would like to
# use other orderings, you need to obtain the corresponding package and modify
# the variables below accordingly.
# For example, to have Metis available within MUMPS:
# 1/ download Metis and compile it
# 2/ uncomment (suppress # in first column) lines
# starting with LMETISDIR, LMETIS
# 3/ add -Dmetis in line ORDERINGSF
# ORDERINGSF = -Dpord -Dmetis
# 4/ Compile and install MUMPS
# make clean; make (to clean up previous installation)
#
# Metis is now available as an internal ordering for MUMPS.
#

LSCOTCHDIR = ${LIBEXECDIR}/pastix/lib
LSCOTCH = -L$(LSCOTCHDIR) -lesmumps -lscotch -lscotcherr #-lm

LPORDDIR = $(topdir)/PORD/lib/
IPORD = -I$(topdir)/PORD/include/
LPORD = -L$(LPORDDIR) -lpord

LMETISDIR = ${MPIDIR}/lib
#IMETIS = # Metis doesn't need include files (Fortran interface avail.)
LMETIS = -L$(LMETISDIR) -Wl,-R$(LMETISDIR) -lparmetis

# The following variables will be used in the compilation process.
ORDERINGSF = -Dscotch -Dmetis -Dpord
#ORDERINGSF = -Dpord
ORDERINGSC = $(ORDERINGSF)
LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH)
IORDERINGS = $(IMETIS) $(IPORD) $(ISCOTCH)

#End orderings
########################################################################
################################################################################

PLAT =
RM = /bin/rm -f
CC = gcc
FC = gfortran
FL = gfortran
AR = ar vr
RANLIB = ranlib
#RANLIB = echo
# See point 17 in the FAQ to have more details on the compilation of mpich with gfortran
INCSEQ = -I$(topdir)/libseq -I@TOPDIR@/PORD/include
LIBSEQ = -L$(topdir)/libseq -lmpiseq
LIBBLAS = -lopenblas
#LIBBLAS = -L/local/BLAS -lblas
LIBOTHERS = -lpthread
#Preprocessor defs for calling Fortran from C (-DAdd_ or -DAdd__ or -DUPPER)
CDEFS = -DAdd_

#Begin Optimized options
OPTF = -g -pipe -O2 -Wall -fPIC -DPIC -Dintel_ -DALLOW_NON_INIT
OPTL = -g -pipe -O2 -Wall -fPIC -DPIC
OPTC = -g -pipe -O2 -Wall -fPIC -DPIC
#End Optimized options
INC = $(INCSEQ)
LIB = $(LIBSEQ)
LIBSEQNEEDED = libseqneeded
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin