Skip to content

Commit

Permalink
clear warnings, proper links in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
tkphd committed Sep 17, 2018
1 parent accf3f1 commit c08061b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ includes = -I$(MMSP_PATH)/include
# compilers/flags
compiler = g++
pcompiler = mpic++
flags = -O3 -Wall
flags = -O3 -Wall -std=c++11

# the program

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

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

# utilities

Expand Down

0 comments on commit c08061b

Please sign in to comment.