Skip to content

Commit 45ccdad

Browse files
Merge pull request #29 from dftfeDevelopers/publicGithubDevelop
0.6.0 Release PR
2 parents f030cef + ccc3a50 commit 45ccdad

File tree

158 files changed

+13555
-6118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+13555
-6118
lines changed

CMakeLists.txt

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
##
44

55
# Set the name of the project and target:
6-
SET(TARGET "main")
7-
SET(TARGETLIB "dftfe")
6+
SET(TARGET "dftfe")
7+
SET(TARGETLIB "dftfem")
88

99
INCLUDE_DIRECTORIES(
1010
${CMAKE_SOURCE_DIR}/include
@@ -256,6 +256,26 @@ ELSE()
256256
MESSAGE(FATAL_ERROR "-- Provide path to prefix of SPGLIB: -DSPGLIB_DIR=/path/to/prefix")
257257
ENDIF (DEFINED SPGLIB_DIR)
258258

259+
260+
#
261+
# Custom "debug" and "release" make targets:
262+
#
263+
ADD_CUSTOM_TARGET(debug
264+
COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Debug ${CMAKE_SOURCE_DIR}
265+
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target all
266+
COMMENT "Switch CMAKE_BUILD_TYPE to Debug"
267+
)
268+
269+
ADD_CUSTOM_TARGET(release
270+
COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Release ${CMAKE_SOURCE_DIR}
271+
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target all
272+
COMMENT "Switch CMAKE_BUILD_TYPE to Release"
273+
)
274+
275+
276+
#
277+
# FIXME: that will not play well with installation
278+
#
259279
ADD_DEFINITIONS(-DDFT_PATH="${CMAKE_CURRENT_SOURCE_DIR}")
260280

261281
# Enable testing and descent into tests/ subdirectory:
@@ -274,3 +294,19 @@ ELSE()
274294
ADD_SUBDIRECTORY(tests/dft/pseudopotential/real)
275295
ADD_SUBDIRECTORY(tests/dft/allElectron/real)
276296
ENDIF()
297+
298+
299+
#
300+
# installation target.
301+
# use with -DCMAKE_INSTALL_PREFIX=/path/to/
302+
#
303+
SET(TARGETLIBEXPORT "femdftTargets")
304+
# 1. Install defined library target
305+
install (TARGETS ${TARGETLIB} EXPORT ${TARGETLIBEXPORT}
306+
LIBRARY DESTINATION lib)
307+
# 2. Install the binary
308+
install (TARGETS ${TARGET}
309+
RUNTIME DESTINATION bin)
310+
# 3. Install content of include dir
311+
install (DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/"
312+
DESTINATION include)

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "DFT-FE"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = "0.5.2"
41+
PROJECT_NUMBER = "0.6.0"
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DFT-FE : Density Functional Theory With Finite-Elements
55
About
66
-----
77

8-
DFT-FE is a C++ code for materials modeling from first principles using Kohn-Sham density functional theory.
8+
DFT-FE is a C++ code for materials modeling from first principles using Kohn-Sham density functional theory, developed by the [Computational Materials Physics Group](http://www-personal.umich.edu/~vikramg) at University of Michigan.
99
It is based on adaptive finite-element discretization that handles all-electron and pseudopotential calculations in the
1010
same framework, and incorporates scalable and efficient solvers for the solution of the Kohn-Sham equations. Importantly, DFT-FE can handle general geometries and boundary conditions, including periodic, semi-periodic and non-periodic systems. DFT-FE code builds on top of the deal.II library for everything
1111
that has to do with finite elements, geometries, meshes, etc., and, through deal.II on p4est for parallel adaptive mesh handling.
@@ -32,11 +32,9 @@ Learn more about contributing to DFT-FE's development [here](https://github.com/
3232
More information
3333
----------------
3434

35-
For more information see:
36-
37-
- The official [website](https://sites.google.com/umich.edu/dftfe).
35+
- See the official [website](https://sites.google.com/umich.edu/dftfe) for information on code capabilities, appropriate referencing of the code, acknowledgements, and news related to DFT-FE.
3836

39-
- Doxygen generated [documentation](https://dftfedevelopers.github.io/dftfe/).
37+
- See Doxygen generated [documentation](https://dftfedevelopers.github.io/dftfe/).
4038

4139
- For questions about DFT-FE, installation, bugs, etc., use the [DFT-FE discussion forum](https://groups.google.com/forum/#!forum/dftfe-user-group).
4240

data/electronicStructure/pseudoPotential/z29/oncv/pseudoAtomData/PseudoAtomDat

Lines changed: 0 additions & 26 deletions
This file was deleted.

data/electronicStructure/pseudoPotential/z29/oncv/pseudoAtomData/denom.dat

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)