Skip to content

Commit c08061b

Browse files
committed
clear warnings, proper links in parallel
1 parent accf3f1 commit c08061b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ includes = -I$(MMSP_PATH)/include
77
# compilers/flags
88
compiler = g++
99
pcompiler = mpic++
10-
flags = -O3 -Wall
10+
flags = -O3 -Wall -std=c++11
1111

1212
# the program
1313

@@ -18,7 +18,7 @@ gKKS: KKS.cpp
1818
$(compiler) $(flags) $(includes) $< -o $@ -lz -lgsl -lgslcblas
1919

2020
parallel: KKS.cpp
21-
$(pcompiler) $(flags) $(includes) -include mpi.h $< -o $@ -lz
21+
$(pcompiler) $(flags) $(includes) -include mpi.h $< -o $@ -lz -lgsl -lgslcblas
2222

2323
# utilities
2424

0 commit comments

Comments
 (0)