Skip to content
Snippets Groups Projects
Commit fc2c248b authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

SDPA-C Fix building on modern linux

parent 856e954b
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ CDEFS = -DAdd_
#Begin Optimized options
# uncomment -fopenmp in lines below to benefit from OpenMP
OPTF = -O # -fopenmp
OPTF = -fallow-argument-mismatch -O # -fopenmp
OPTL = -O # -fopenmp
OPTC = -O # -fopenmp
#End Optimized options
......
......@@ -62,7 +62,7 @@ CDEFS = -DAdd_
#Begin Optimized options
# uncomment -fopenmp in lines below to benefit from OpenMP
OPTF = -O # -fopenmp
OPTF = -fallow-argument-mismatch -O # -fopenmp
OPTL = -O # -fopenmp
OPTC = -O # -fopenmp
#End Optimized options
......
......@@ -8,6 +8,8 @@
topdir = ..
libdir = $(topdir)/lib
OPTF += -fallow-argument-mismatch
default: d
.PHONY: default s d c z mumps_lib clean
......
......@@ -15,7 +15,7 @@ FC = gfortran
# When you use OpenBLAS, you should not remove '-DOPENBLAS' from CXXFLAGS
CFLAGS = -O3 -fPIC
CXXFLAGS = -O3 -fPIC -DOPENBLAS
FCFLAGS = -O3 -fPIC
FCFLAGS = -O3 -fPIC -fallow-argument-mismatch
#########################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment