9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-09-01 05:33:40 +02:00

Compare commits

..

19 Commits

Author SHA1 Message Date
ef0e239c6c Merge branch 'dev-lcpq' of github.com:QuantumPackage/qp2 into dev-lcpq 2019-05-27 12:09:07 +02:00
e6a42a950b Fixing travis 2019-05-27 12:08:51 +02:00
de5f962429 research.bib 2019-05-27 12:08:51 +02:00
7ddc21ee5b Deterministic PT2 for < 1000 dets 2019-05-27 12:08:51 +02:00
c376dec776 Added EPYC config file 2019-05-27 12:08:51 +02:00
6305e91cdd Removed install and uninstall from create_executables_list.sh 2019-05-27 12:08:51 +02:00
edcdc23d43 Changed QP2 logo 2019-05-27 12:08:51 +02:00
137c67c9e8 Allow qp_edit to increase n_det 2019-05-27 12:08:51 +02:00
81a3997853 Added flag for small/large core 2019-05-27 12:08:50 +02:00
122650e6d9 Dynamic weights for better selection 2019-05-27 12:08:50 +02:00
89843eaf0b Error msg 2019-05-27 12:08:50 +02:00
82986ef3de Fixing travis 2019-05-27 12:08:50 +02:00
4a99ad8252 Removed test in reverse 2019-05-27 12:08:31 +02:00
b086a3a33c Commented index_reverse and acceleration 2019-05-27 12:08:31 +02:00
7a8f3785a1 Removed unused variable 2019-05-27 12:08:31 +02:00
fe47bc818c research.bib 2019-05-27 11:02:52 +02:00
72e4e96ea5 Merge branch 'dev-lcpq' of github.com:QuantumPackage/qp2 into dev-lcpq 2019-05-27 10:46:14 +02:00
d4f3ddcc78 Deterministic PT2 for < 1000 dets 2019-05-27 10:46:01 +02:00
a7c467c708 Removed install and uninstall from create_executables_list.sh 2019-05-15 16:37:43 +02:00
6 changed files with 134 additions and 13 deletions

71
bin/qp_tunnel Executable file
View File

@ -0,0 +1,71 @@
#!/usr/bin/env python2
"""
Creates an ssh tunnel for using slaves on another network.
Launch a server on the front-end node of the cluster on which the master
process runs. Then start a client ont the front-end node of the distant
cluster.
Usage:
qp_tunnel server EZFIO_DIR
qp_tunnel client <address> EZFIO_DIR
Options:
-h --help
"""
import os
import sys
import zmq
try:
import qp_path
except ImportError:
print "source .quantum_package.rc"
raise
from docopt import docopt
from ezfio import ezfio
def get_address(filename):
with open(os.path.join(filename,'work','qp_run_address'),'r') as f:
a = f.readlines()[0].strip()
return a
def set_address(filename,address):
with open(os.path.join(filename,'work','qp_run_address'),'r') as f:
backup = f.readlines()
with open(os.path.join(filename,'work','qp_run_address'),'w') as f:
f.write('\n'.join([address]+backup))
def main_server(arguments,filename):
destination = get_address(filename)
print destination
def main_client(arguments,filename):
destination = arguments["<address>"]
print destination
def main(arguments):
"""Main function"""
print arguments
filename = arguments["EZFIO_DIR"]
if arguments["server"]:
return main_server(arguments, filename)
if arguments["client"]:
return main_client(arguments, filename)
if __name__ == '__main__':
ARGUMENTS = docopt(__doc__)
main(ARGUMENTS)

View File

@ -1,14 +1,62 @@
%%% ARXIV TO BE UPDATED %%% %%% ARXIV TO BE UPDATED %%%
@misc{BibEntry2019Feb, @article{Dash2019May,
title = {{Quantum Package 2.0: An Open-Source Determinant-Driven Suite of author = {Dash, Monika and Feldt, Jonas and Moroni, Saverio and Scemama, Anthony and Filippi, Claudia},
Programs}}, title = {{Excited states with selected CI-QMC: chemically accurate excitation energies and geometries}},
journal = {arXiv}, journal = {arXiv},
year = {2019}, year = {2019},
month = {Feb}, month = {May},
note = {[Online; accessed 7. Mar. 2019]}, eprint = {1905.06737},
url = {https://arxiv.org/abs/1902.08154.pdf} url = {https://arxiv.org/abs/1905.06737}
} }
@article{Burton2019May,
author = {Burton, Hugh G. A. and Thom, Alex J. W.},
title = {{A General Approach for Multireference Ground and Excited States using Non-Orthogonal Configuration Interaction}},
journal = {arXiv},
year = {2019},
month = {May},
eprint = {1905.02626},
url = {https://arxiv.org/abs/1905.02626}
}
%%%% PUBLISHED PAPERS
@article{Loos_2019,
doi = {10.1021/acs.jpclett.9b01176},
url = {https://doi.org/10.1021%2Facs.jpclett.9b01176},
year = 2019,
month = {may},
publisher = {American Chemical Society ({ACS})},
author = {Pierre-Francois Loos and Bartélémy Pradines and Anthony Scemama and Julien Toulouse and Emmanuel Giner},
title = {A Density-Based Basis-Set Correction For Wave Function Theory},
journal = {The Journal of Physical Chemistry Letters}
}
@article{Garniron_2019,
doi = {10.1021/acs.jctc.9b00176},
url = {https://doi.org/10.1021%2Facs.jctc.9b00176},
year = 2019,
month = {may},
publisher = {American Chemical Society ({ACS})},
author = {Yann Garniron and Thomas Applencourt and Kevin Gasperich and Anouar Benali and Anthony Ferte and Julien Paquier and Bartélémy Pradines and Roland Assaraf and Peter Reinhardt and Julien Toulouse and Pierrette Barbaresco and Nicolas Renon and Gregoire David and Jean-Paul Malrieu and Mickael Veril and Michel Caffarel and Pierre-Francois Loos and Emmanuel Giner and Anthony Scemama},
title = {Quantum Package 2.0: An Open-Source Determinant-Driven Suite of Programs},
journal = {Journal of Chemical Theory and Computation}
}
@article{Scemama_2019,
doi = {10.1016/j.rechem.2019.100002},
url = {https://doi.org/10.1016%2Fj.rechem.2019.100002},
year = 2019,
month = {may},
publisher = {Elsevier {BV}},
pages = {100002},
author = {Anthony Scemama and Michel Caffarel and Anouar Benali and Denis Jacquemin and Pierre-Fran{\c{c}}ois Loos},
title = {Influence of pseudopotentials on excitation energies from selected configuration interaction and diffusion Monte Carlo},
journal = {Results in Chemistry}
}
@article{Applencourt2018Dec, @article{Applencourt2018Dec,
author = {Applencourt, Thomas and Gasperich, Kevin and Scemama, Anthony}, author = {Applencourt, Thomas and Gasperich, Kevin and Scemama, Anthony},
title = {{Spin adaptation with determinant-based selected configuration interaction}}, title = {{Spin adaptation with determinant-based selected configuration interaction}},
@ -19,9 +67,6 @@ Programs}},
url = {https://arxiv.org/abs/1812.06902} url = {https://arxiv.org/abs/1812.06902}
} }
%%%% PUBLISHED PAPERS
@article{Loos2019Mar, @article{Loos2019Mar,
author = {Loos, Pierre-Fran\c{c}ois and Boggio-Pasqua, Martial and Scemama, Anthony and Caffarel, Michel and Jacquemin, Denis}, author = {Loos, Pierre-Fran\c{c}ois and Boggio-Pasqua, Martial and Scemama, Anthony and Caffarel, Michel and Jacquemin, Denis},
title = {{Reference Energies for Double Excitations}}, title = {{Reference Energies for Double Excitations}},

View File

@ -15,5 +15,10 @@ EXES=$(find -L ${QP_ROOT}/src -maxdepth 2 -depth -executable -type f | grep -e "
for EXE in $EXES for EXE in $EXES
do do
printf "%-30s %s\n" $(basename $EXE) $EXE | sed "s|${QP_ROOT}|\$QP_ROOT|g" >> executables case "$(basename $EXE)" in
install) continue;;
uninstall) continue;;
*)
printf "%-30s %s\n" $(basename $EXE) $EXE | sed "s|${QP_ROOT}|\$QP_ROOT|g" >> executables ;;
esac
done done

View File

@ -135,7 +135,7 @@ subroutine ZMQ_pt2(E, pt2,relative_error, error, variance, norm, N_in)
PROVIDE psi_occ_pattern_hii det_to_occ_pattern PROVIDE psi_occ_pattern_hii det_to_occ_pattern
endif endif
if (N_det < max(10,N_states)) then if (N_det < max(1000,N_states)) then
pt2=0.d0 pt2=0.d0
variance=0.d0 variance=0.d0
norm=0.d0 norm=0.d0

View File

@ -38,7 +38,7 @@ default: 1
type: Threshold type: Threshold
doc: Thresholds on generators (fraction of the square of the norm) doc: Thresholds on generators (fraction of the square of the norm)
interface: ezfio,provider,ocaml interface: ezfio,provider,ocaml
default: 0.99 default: 0.999
[n_int] [n_int]
interface: ezfio interface: ezfio

View File

@ -59,7 +59,7 @@ function run_stoch() {
@test "H2O2" { # 12.9214s @test "H2O2" { # 12.9214s
qp set_file h2o2.ezfio qp set_file h2o2.ezfio
qp set_mo_class --core="[1-2]" --act="[3-24]" --del="[25-38]" qp set_mo_class --core="[1-2]" --act="[3-24]" --del="[25-38]"
run -151.004888189874 4.e-5 run -151.004680718982 4.e-5
} }
@test "HBO" { # 13.3144s @test "HBO" { # 13.3144s