forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from abacusmodeling/master
Merge recent changes on master
- Loading branch information
Showing
140 changed files
with
4,753 additions
and
3,682 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ mixing_beta 0.4 | |
out_band 0 | ||
out_descriptor 1 | ||
lmax_descriptor 2 | ||
newdm 1 |
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 |
---|---|---|
@@ -1,29 +1,5 @@ | ||
|
||
Currently we are working on optimizing the code structure of ABACUS, | ||
implementing new functions, and adding more autotests. | ||
|
||
-- mohan 2021-02-11 | ||
|
||
URGENT: | ||
|
||
Ask Xiaohui Liu: all functions named with 'after_vc' should be reconstructed. | ||
The 'FINAL_SCF' global varialble should be removed. | ||
(condition: need to reconstruct these codes within a given time) | ||
|
||
Ask Xiaohui Liu and Daye Zheng: We need test examples. | ||
|
||
Ask Fuxiang He: we need to remove all TDDFT-related global variables | ||
in global_variable.h, we need TDDFT examples. | ||
(condition: need to reconstruct these codes within a given time) | ||
|
||
Ask Daye Zheng: MD, force, stress modules need reconstruction | ||
|
||
NEED TO DO: | ||
|
||
Ask Xiaohui: we need to remove DQ and NQX in global_variable.h, | ||
but the NQX is computed in ./src_pw/pseudopot_cell_vnl.cpp | ||
|
||
Ask Peize: exx_lip.h and related Exx codes | ||
|
||
QUESTION: | ||
|
||
* in pw_basis.cpp, why ggwfc2=ggwfc if gamma_only is used? |
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,63 @@ | ||
# This is the Makefile of ABACUS-ORB API | ||
|
||
include Makefile.system | ||
include Makefile.Objects | ||
|
||
VPATH=../../src_global\ | ||
:../../src_lcao\ | ||
:./\ | ||
|
||
#========================== | ||
# Define HONG | ||
#========================== | ||
HONG= -DMETIS -DMKL_ILP64 | ||
|
||
#========================== | ||
# OPTIMIZE OPTIONS | ||
#========================== | ||
OPTS_GDB = -g -W | ||
|
||
#========================== | ||
# OBJECTS NEEDED | ||
#========================== | ||
#FP_OBJS_0=$(OBJS_ORBITAL)\ | ||
#$(OBJS_GLOBAL)\ | ||
#main.o\ | ||
FP_OBJS_0=main.o\ | ||
$(OBJS_TRY)\ | ||
$(OBJS_ORBITAL)\ | ||
|
||
FP_OBJS=$(patsubst %.o, ${OBJ_DIR}/%.o, ${FP_OBJS_0}) | ||
PDIAG_OBJS=$(patsubst %.o, ${OBJ_DIR}/%.o, ${OBJS_PDIAG}) | ||
PDIAG_MR=$(patsubst %.o, ${OBJ_DIR}/%.o, ${PDIAG_MR_0}) | ||
|
||
#========================== | ||
# MAKING OPTIONS | ||
#========================== | ||
fp_mpi : | ||
@ make init | ||
@ make -j $(NP) serial2 | ||
|
||
init : | ||
@ if [ ! -d $(OBJ_DIR) ]; then mkdir $(OBJ_DIR); fi | ||
@ if [ ! -d $(OBJ_DIR)/README ]; then echo "This directory contains all of the .o files" > $(OBJ_DIR)/README; fi | ||
@ if [ ! -d ../bin ]; then mkdir ../bin; fi | ||
|
||
serial : ${FP_OBJS} ${HEADERS} | ||
${CPLUSPLUS} ${OPTS} $(FP_OBJS) ${LIBS} -o ${VERSION}.x | ||
|
||
serial2 : ${FP_OBJS} | ||
${CPLUSPLUS} ${OPTS} $(FP_OBJS) ${LIBS} -o ${VERSION}.x | ||
|
||
#========================== | ||
# rules | ||
#========================== | ||
${OBJ_DIR}/%.o:%.cpp | ||
${CPLUSPLUS_MPI} ${OPTS} ${OPTS_MPI} -c ${HONG} $< -o $@ | ||
${OBJ_DIR}/%.o:%.f | ||
${FORTRAN} -c ${HONG} $< -o $@ | ||
|
||
.PHONY:clean | ||
clean: | ||
@ if [ -d $(OBJ_DIR) ]; then rm -rf $(OBJ_DIR); fi |
26 changes: 26 additions & 0 deletions
26
ABACUS.develop/source/src_external/GRID_api/Makefile.Objects
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,26 @@ | ||
# | ||
# This is a test makefile for Electronic-structure | ||
# | ||
# This particular makefile defines all the executables and objects | ||
# files needed, who they depend on, and the compilation defaults.# | ||
# The file makefile.local is included below. | ||
# That file defines the actual commands to use to run the C++ | ||
# compiler, library options and directories, etc., all of which are | ||
# machine specific and depend on the local installation. Hence the name. | ||
# | ||
|
||
VERSION= ABACUS-GRID | ||
HEADERS= *.h | ||
|
||
OBJS_TRY=math_integral.o\ | ||
complexarray.o\ | ||
complexmatrix.o\ | ||
matrix.o\ | ||
|
||
OBJS_GRID=grid_base.o\ | ||
grid_base_beta.o\ | ||
grid_bigcell.o\ | ||
grid_meshball.o\ | ||
grid_meshk.o\ | ||
grid_technique.o\ | ||
|
14 changes: 14 additions & 0 deletions
14
ABACUS.develop/source/src_external/GRID_api/Makefile.system
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,14 @@ | ||
include Makefile.vars | ||
|
||
#========================== | ||
# LIBS and INCLUDES | ||
#========================== | ||
LIBS = -lifcore -lm -lpthread | ||
|
||
INCLUDES = -I. -Icommands | ||
|
||
#========================== | ||
# OPTIMIZE OPTIONS | ||
#========================== | ||
OPTS = ${INCLUDES} -Ofast -std=c++11 -simd -march=native -m64 -Werror -Wall -pedantic -g | ||
#OPTS_MPI = -cxx=${CPLUSPLUS} |
Oops, something went wrong.