# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/coin-mumps/hotfix-make.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- ThirdParty-Mumps-releases-3.0.12/MUMPS/Make.inc/Makefile.FREEBSD10.PAR.vanilla 2026-04-29 20:41:22.912622964 +0300 +++ ThirdParty-Mumps-releases-3.0.12/MUMPS/Make.inc/Makefile.FREEBSD10.PAR 2026-04-29 20:42:22.236310676 +0300 @@ -19,8 +19,8 @@ # Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 6.0 and later) orderings are recommended. # -#SCOTCHDIR = ${HOME}/scotch_6.0 -#ISCOTCH = -I$(SCOTCHDIR)/include +SCOTCHDIR = /usr +ISCOTCH = -I/usr/include # # You have to choose one among the following two lines depending on # the type of analysis you want to perform. If you want to perform only @@ -29,7 +29,7 @@ # line (remember to add -Dptscotch in the ORDERINGSF variable below) #LSCOTCH = -L$(SCOTCHDIR)/lib -lesmumps -lscotch -lscotcherr -#LSCOTCH = -L$(SCOTCHDIR)/lib -lptesmumps -lptscotch -lptscotcherr +LSCOTCH = -L$(SCOTCHDIR)/lib64 -lptesmumps -lptscotch -lptscotcherr LPORDDIR = $(topdir)/PORD/lib/ @@ -36,8 +36,8 @@ IPORD = -I$(topdir)/PORD/include/ LPORD = -L$(LPORDDIR) -lpord$(PLAT) -#LMETISDIR = /opt/metis-5.1.0/build/Linux-x86_64/libmetis -#IMETIS = /opt/metis-5.1.0/include +LMETISDIR = /usr/lib +IMETIS = /usr/include # You have to choose one among the following two lines depending on # the type of analysis you want to perform. If you want to perform only @@ -46,14 +46,14 @@ # line (remember to add -Dparmetis in the ORDERINGSF variable below) #LMETIS = -L$(LMETISDIR) -lmetis -#LMETIS = -L$(LMETISDIR) -lparmetis -lmetis +LMETIS = -L$(LMETISDIR) -lparmetis -lmetis # 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 +ORDERINGSF = -Dpord -Dptscotch -Dparmetis ORDERINGSC = $(ORDERINGSF) LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH) @@ -85,8 +85,8 @@ LAPACK = -llapack SCALAP = -lscalapack -lblacs -INCPAR = -I/usr/local/include -LIBPAR = $(SCALAP) $(LAPACK) -L/usr/local/lib -lmpi +INCPAR = -I/usr/include +LIBPAR = $(SCALAP) $(LAPACK) -L/usr/lib -L/usr/lib64 -lmpi INCSEQ = -I$(topdir)/libseq LIBSEQ = $(LAPACK) -L$(topdir)/libseq -lmpiseq$(PLAT) @@ -98,9 +98,9 @@ #Begin Optimized options # uncomment -fopenmp in lines below to benefit from OpenMP -OPTF = -O #-fopenmp -OPTL = -O #-fopenmp -OPTC = -O -I. #-fopenmp +OPTF = -O -fopenmp +OPTL = -O -fopenmp +OPTC = -O -I. -fopenmp #End Optimized options