mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-09 06:53:38 +01:00
Compare commits
No commits in common. "ef0e239c6c45a6a7746b85c3fbe5bf0f9779d8ff" and "d9189285a7a63d4e6aa576a378ddeb4eca911956" have entirely different histories.
ef0e239c6c
...
d9189285a7
@ -1,71 +0,0 @@
|
|||||||
#!/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)
|
|
@ -1,62 +1,14 @@
|
|||||||
%%% ARXIV TO BE UPDATED %%%
|
%%% ARXIV TO BE UPDATED %%%
|
||||||
@article{Dash2019May,
|
@misc{BibEntry2019Feb,
|
||||||
author = {Dash, Monika and Feldt, Jonas and Moroni, Saverio and Scemama, Anthony and Filippi, Claudia},
|
title = {{Quantum Package 2.0: An Open-Source Determinant-Driven Suite of
|
||||||
title = {{Excited states with selected CI-QMC: chemically accurate excitation energies and geometries}},
|
Programs}},
|
||||||
journal = {arXiv},
|
journal = {arXiv},
|
||||||
year = {2019},
|
year = {2019},
|
||||||
month = {May},
|
month = {Feb},
|
||||||
eprint = {1905.06737},
|
note = {[Online; accessed 7. Mar. 2019]},
|
||||||
url = {https://arxiv.org/abs/1905.06737}
|
url = {https://arxiv.org/abs/1902.08154.pdf}
|
||||||
}
|
}
|
||||||
|
|
||||||
@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}},
|
||||||
@ -67,6 +19,9 @@
|
|||||||
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}},
|
||||||
|
@ -15,10 +15,5 @@ EXES=$(find -L ${QP_ROOT}/src -maxdepth 2 -depth -executable -type f | grep -e "
|
|||||||
|
|
||||||
for EXE in $EXES
|
for EXE in $EXES
|
||||||
do
|
do
|
||||||
case "$(basename $EXE)" in
|
printf "%-30s %s\n" $(basename $EXE) $EXE | sed "s|${QP_ROOT}|\$QP_ROOT|g" >> executables
|
||||||
install) continue;;
|
|
||||||
uninstall) continue;;
|
|
||||||
*)
|
|
||||||
printf "%-30s %s\n" $(basename $EXE) $EXE | sed "s|${QP_ROOT}|\$QP_ROOT|g" >> executables ;;
|
|
||||||
esac
|
|
||||||
done
|
done
|
||||||
|
@ -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(1000,N_states)) then
|
if (N_det < max(10,N_states)) then
|
||||||
pt2=0.d0
|
pt2=0.d0
|
||||||
variance=0.d0
|
variance=0.d0
|
||||||
norm=0.d0
|
norm=0.d0
|
||||||
|
@ -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.999
|
default: 0.99
|
||||||
|
|
||||||
[n_int]
|
[n_int]
|
||||||
interface: ezfio
|
interface: ezfio
|
||||||
|
@ -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.004680718982 4.e-5
|
run -151.004888189874 4.e-5
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "HBO" { # 13.3144s
|
@test "HBO" { # 13.3144s
|
||||||
|
Loading…
Reference in New Issue
Block a user