-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
201 changed files
with
43,272 additions
and
33,225 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
.SUFFIXES: .h .cpp | ||
#----------------------------------------------- | ||
# Makefile for the program 'ALM'. | ||
# Please modify the variables properly. | ||
# We recommend to use Intel c++ compiler. | ||
#----------------------------------------------- | ||
|
||
# Use clang++ to use hdf5 installed via homebrew | ||
CXX = g++ | ||
CXXFLAGS = -O2 -std=c++11 | ||
INCLUDE = -I../include -I$(HOME)/include -I$(SPGLIB_ROOT)/include | ||
|
||
CXXL = ${CXX} | ||
LDFLAGS = -L$(SPGLIB_ROOT)/lib -lsymspg | ||
#LDFLAGS = -L/usr/local/lib -lhdf5_cpp -lhdf5 -lsymspg | ||
|
||
LAPACK = -llapack -lblas | ||
LIBS = ${LAPACK} | ||
|
||
#----------------------------------------------- | ||
# General rules | ||
#----------------------------------------------- | ||
|
||
.cpp.o: | ||
${CXX} ${CXXFLAGS} ${INCLUDE} -c $< | ||
|
||
PROG = alm | ||
|
||
CXXSRC= alm.cpp alm_cui.cpp input_parser.cpp input_setter.cpp constraint.cpp fcs.cpp files.cpp \ | ||
optimize.cpp cluster.cpp main.cpp rref.cpp \ | ||
patterndisp.cpp symmetry.cpp system.cpp timer.cpp writer.cpp | ||
|
||
OBJS= ${CXXSRC:.cpp=.o} | ||
|
||
default: alm | ||
|
||
all: ${PROG} | ||
|
||
alm: ${OBJS} | ||
${CXXL} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} | ||
|
||
clean: | ||
rm -f ${OBJS} | ||
|
||
.PHONY: clean | ||
|
||
depend: | ||
gcc -MM *.cpp > .depend | ||
|
||
-include .depend |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.