File tree Expand file tree Collapse file tree 3 files changed +27
-11
lines changed Expand file tree Collapse file tree 3 files changed +27
-11
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ rm -rf /gpu4pyscf/put4pyscf/lib/*.so
23
23
24
24
setup_dir=$( dirname $0 )
25
25
26
- cmake -S /gpu4pyscf/gpu4pyscf/lib -B build/temp.gpu4pyscf-libxc -DBUILD_DFTD3 =OFF -DBUILD_DFTD4 =OFF -DBUILD_GINT =OFF -DBUILD_GVHF =OFF -DBUILD_GDFT =OFF -DBUILD_CUPY_HELPER =OFF -DBUILD_SOLVENT =OFF
27
- cmake --build build/temp.gpu4pyscf-libxc -j 4
26
+ cmake -S /gpu4pyscf/gpu4pyscf/lib -B build/temp.gpu4pyscf-libxc -DBUILD_GINT =OFF -DBUILD_GVHF =OFF -DBUILD_GDFT =OFF -DBUILD_CUPY_HELPER =OFF -DBUILD_SOLVENT =OFF -DBUILD_GVHF_RYS =OFF -DBUILD_GVHF_MD =OFF -DBUILD_PBC=OFF -DCUDA_ARCHITECTURES= " 70-real "
27
+ cmake --build build/temp.gpu4pyscf-libxc -j 1
28
28
29
29
mkdir -p build/lib.gpu4pyscf-libxc/gpu4pyscf/lib/deps/lib
30
30
cp /gpu4pyscf/gpu4pyscf/lib/deps/lib/libxc.so build/lib.gpu4pyscf-libxc/gpu4pyscf/lib/deps/lib/
Original file line number Diff line number Diff line change 27
27
from distutils .util import get_platform
28
28
29
29
NAME = 'gpu4pyscf-libxc'
30
- AUTHOR = 'Qiming Sun '
31
- AUTHOR_EMAIL = '[email protected] '
32
- DESCRIPTION = 'GPU extensions for PySCF '
33
- LICENSE = 'GPLv3 '
30
+ AUTHOR = 'PySCF developers '
31
+ AUTHOR_EMAIL = None
32
+ DESCRIPTION = 'Customized LibXC for GPU4PySCF '
33
+ LICENSE = 'Apache-2.0 '
34
34
URL = None
35
35
DOWNLOAD_URL = None
36
36
CLASSIFIERS = None
37
37
PLATFORMS = None
38
- VERSION = '0.5 '
38
+ VERSION = '0.6 '
39
39
40
40
def get_cuda_version ():
41
41
nvcc_out = subprocess .check_output (["nvcc" , "--version" ]).decode ('utf-8' )
Original file line number Diff line number Diff line change @@ -144,10 +144,26 @@ if(BUILD_SOLVENT)
144
144
add_subdirectory (solvent )
145
145
endif ()
146
146
147
- add_subdirectory (gint-rys )
148
- add_subdirectory (gvhf-rys )
149
- add_subdirectory (gvhf-md )
150
- add_subdirectory (pbc )
147
+ option (BUILD_GINT_RYS "Using gint-rys" ON )
148
+ if (BUILD_GINT_RYS )
149
+ add_subdirectory (gint-rys )
150
+ endif ()
151
+
152
+ option (BUILD_GVHF_RYS "Using gvhf-rys" ON )
153
+ if (BUILD_GVHF_RYS )
154
+ add_subdirectory (gvhf-rys )
155
+ endif ()
156
+
157
+ option (BUILD_GVHF_MD "Using gvhf-md" ON )
158
+ if (BUILD_GVHF_MD )
159
+ add_subdirectory (gvhf-md )
160
+ endif ()
161
+
162
+ option (BUILD_PBC "Using pbc" ON )
163
+ if (BUILD_PBC )
164
+ add_subdirectory (pbc )
165
+ endif ()
166
+
151
167
add_subdirectory (multigrid )
152
168
153
169
option (BUILD_LIBXC "Using libxc for DFT" ON )
You can’t perform that action at this time.
0 commit comments