Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

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

#LMETISDIR = /local/metis/
#IMETIS = # should be provided if you use parmetis, to access parmetis.h
Expand All @@ -50,6 +50,8 @@ LPORD = -L$(LPORDDIR) -lpord

# The following variables will be used in the compilation process.
# Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively.
# If you want to use Metis 4.X or an older version, you should use -Dmetis4 instead of -Dmetis
# or in addition with -Dparmetis (if you are using parmetis 3.X or older).
#ORDERINGSF = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis
ORDERINGSF = -Dpord
ORDERINGSC = $(ORDERINGSF)
Expand All @@ -60,18 +62,38 @@ IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH)

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

PLAT =
########################################################################
# DEFINE HERE SOME COMMON COMMANDS, THE COMPILER NAMES, ETC...

# PLAT : use it to add a default suffix to the generated libraries
PLAT =
# Suffix for libraries, -soname and -fPIC options, C and Fortran "-o" option
# may be adapted
LIBEXT_SHARED = .so
SONAME = -soname
SHARED_OPT = -shared
FPIC_OPT = -fPIC
# Adapt/uncomment RPATH_OPT to avoid modifying
# LD_LIBRARY_PATH in case of shared libraries
# RPATH_OPT = -Wl,-rpath,/path/to/MUMPS_x.y.z/lib/
LIBEXT = .a
OUTC = -o
OUTF = -o
RM = /bin/rm -f
# RM : remove files
RM = /bin/rm -f
# CC : C compiler
CC = mpicc
# CC : C compiler
FC = mpif77
# FL : Fortran linker
FL = mpif77
AR = ar vr
#RANLIB = ranlib
# AR : Archive object in a library
# keep a space at the end if options have to be separated from lib name
AR = ar vr
# RANLIB : generate index of an archive file
# (optionnal use "RANLIB = echo" in case of problem)
#RANLIB = ranlib
RANLIB = echo
SCALAP = -L$(SCALAPACK_LIB) -lscalapack
INCPAR = -I$(MPI_DIR)/include
Expand Down
97 changes: 0 additions & 97 deletions components/parallel-libs/mumps/SOURCES/Makefile.arm.openmpi.inc

This file was deleted.

97 changes: 0 additions & 97 deletions components/parallel-libs/mumps/SOURCES/Makefile.gnu.impi.inc

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

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

#LMETISDIR = /local/metis/
#IMETIS = # should be provided if you use parmetis, to access parmetis.h
Expand All @@ -50,6 +50,8 @@ LPORD = -L$(LPORDDIR) -lpord

# The following variables will be used in the compilation process.
# Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively.
# If you want to use Metis 4.X or an older version, you should use -Dmetis4 instead of -Dmetis
# or in addition with -Dparmetis (if you are using parmetis 3.X or older).
#ORDERINGSF = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis
ORDERINGSF = -Dpord
ORDERINGSC = $(ORDERINGSF)
Expand All @@ -60,18 +62,38 @@ IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH)

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

PLAT =
########################################################################
# DEFINE HERE SOME COMMON COMMANDS, THE COMPILER NAMES, ETC...

# PLAT : use it to add a default suffix to the generated libraries
PLAT =
# Suffix for libraries, -soname and -fPIC options, C and Fortran "-o" option
# may be adapted
LIBEXT_SHARED = .so
SONAME = -soname
SHARED_OPT = -shared
FPIC_OPT = -fPIC
# Adapt/uncomment RPATH_OPT to avoid modifying
# LD_LIBRARY_PATH in case of shared libraries
# RPATH_OPT = -Wl,-rpath,/path/to/MUMPS_x.y.z/lib/
LIBEXT = .a
OUTC = -o
OUTF = -o
RM = /bin/rm -f
# RM : remove files
RM = /bin/rm -f
# CC : C compiler
CC = mpicc
# CC : C compiler
FC = mpif77
# FL : Fortran linker
FL = mpif77
AR = ar vr
#RANLIB = ranlib
# AR : Archive object in a library
# keep a space at the end if options have to be separated from lib name
AR = ar vr
# RANLIB : generate index of an archive file
# (optionnal use "RANLIB = echo" in case of problem)
#RANLIB = ranlib
RANLIB = echo
SCALAP = -L$(SCALAPACK_LIB) -L$(OPENBLAS_LIB) -lscalapack -lopenblas
INCPAR = -I$(MPI_DIR)/include
Expand Down
Loading
Loading