Created
September 18, 2018 13:14
-
-
Save v0dro/fde613526889c6e53c24dd01b730f81b to your computer and use it in GitHub Desktop.
SLATE makefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CXX = /usr/bin/mpicxx -g -Wall -fPIC -std=c++11 -O0 -fopenmp -lm -I/home/sameer/gitrepos/slate/blaspp/include -I/home/sameer/gitrepos/slate/lapackpp/include -I/home/sameer/gitrepos/slate/ -I /usr/include/mpi/ | |
SOURCES = ../bin/libslate.a | |
.PHONY: clean | |
.cpp.o: | |
$(CXX) -c $? -o $@ | |
slate_lu: slate_lu.o $(SOURCES) | |
$(CXX) $(CXXFLAGS) $? -lblas -lgfortran | |
/usr/bin/mpirun -np 4 xterm -e gdb ./a.out | |
clean: | |
rm -f *.o *.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment