mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-09 06:53:38 +01:00
Compare commits
No commits in common. "2db017305759807721e413bd46c5913694739811" and "bf96d8c0c898cdffab2423eb39e470924659d960" have entirely different histories.
2db0173057
...
bf96d8c0c8
21
GITHUB.md
21
GITHUB.md
@ -2,23 +2,20 @@ GitHub Branches
|
|||||||
===============
|
===============
|
||||||
|
|
||||||
master:
|
master:
|
||||||
The current up-to-date working branch, that users download. It should
|
The current up-to-date working branch, that users download It should
|
||||||
only contain the latest stable release and bug fixes.
|
only contain the latest release and bug fixes.
|
||||||
|
|
||||||
dev:
|
develop-lcpq:
|
||||||
|
Toulouse development branch
|
||||||
|
|
||||||
|
develop-lct:
|
||||||
|
Paris development branch
|
||||||
|
|
||||||
|
develop:
|
||||||
It is a fork of the *master* branch with new developments that will be
|
It is a fork of the *master* branch with new developments that will be
|
||||||
merged in the *master* branch for the next release. Other development
|
merged in the *master* branch for the next release. Other development
|
||||||
branches should be merged on this one.
|
branches should be merged on this one.
|
||||||
|
|
||||||
bugfix:
|
|
||||||
A fork of the *master* on which the bug fixes are made.
|
|
||||||
|
|
||||||
dev-lcpq:
|
|
||||||
Toulouse development branch
|
|
||||||
|
|
||||||
dev-lct:
|
|
||||||
Paris development branch
|
|
||||||
|
|
||||||
gh-pages:
|
gh-pages:
|
||||||
This is an independent branch, containing only the web site of QP2.
|
This is an independent branch, containing only the web site of QP2.
|
||||||
|
|
||||||
|
11
INSTALL.rst
11
INSTALL.rst
@ -328,7 +328,7 @@ OCaml
|
|||||||
echo ${QP_ROOT}/bin
|
echo ${QP_ROOT}/bin
|
||||||
${QP_ROOT}/external/opam_installer.sh --no-backup --fresh
|
${QP_ROOT}/external/opam_installer.sh --no-backup --fresh
|
||||||
|
|
||||||
The :command:`opam` command can be installed in the :file:`${QP_ROOT}/bin`
|
You the :command:`opam` command can be installed in the :file:`${QP_ROOT}/bin`
|
||||||
directory. To do this, take the output of ``echo ${QP_ROOT}/bin`` and
|
directory. To do this, take the output of ``echo ${QP_ROOT}/bin`` and
|
||||||
use it as an answer to where :command:`opam` should be installed.
|
use it as an answer to where :command:`opam` should be installed.
|
||||||
|
|
||||||
@ -337,14 +337,7 @@ OCaml
|
|||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
opam init --comp=4.07.1
|
opam init --disable-sandboxing --comp=4.07.0
|
||||||
eval `${QP_ROOT}/bin/opam env`
|
|
||||||
|
|
||||||
If the installation fails because of bwrap, you can initialize opam using:
|
|
||||||
|
|
||||||
.. code:: bash
|
|
||||||
|
|
||||||
opam init --disable-sandboxing --comp=4.07.1
|
|
||||||
eval `${QP_ROOT}/bin/opam env`
|
eval `${QP_ROOT}/bin/opam env`
|
||||||
|
|
||||||
* Install the required external OCaml libraries
|
* Install the required external OCaml libraries
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
[*Quantum package 2.0: an open-source determinant-driven suite of programs*](https://pubs.acs.org/doi/10.1021/acs.jctc.9b00176)\
|
[*Quantum package 2.0: an open-source determinant-driven suite of programs*](https://pubs.acs.org/doi/10.1021/acs.jctc.9b00176)\
|
||||||
Y. Garniron, K. Gasperich, T. Applencourt, A. Benali, A. Ferté, J. Paquier, B. Pradines, R. Assaraf, P. Reinhardt, J. Toulouse, P. Barbaresco, N. Renon, G. David, J. P. Malrieu, M. Véril, M. Caffarel, P. F. Loos, E. Giner and A. Scemama\
|
Y. Garniron, K. Gasperich, T. Applencourt, A. Benali, A. Ferté, J. Paquier, B. Pradines, R. Assaraf, P. Reinhardt, J. Toulouse, P. Barbaresco, N. Renon, G. David, J. P. Malrieu, M. Véril, M. Caffarel, P. F. Loos, E. Giner and A. Scemama\
|
||||||
[J. Chem. Theory Comput. 2019, 15, 6, 3591-3609](https://doi.org/10.1021/acs.jctc.9b00176)\
|
J. Chem. Theory Comput., 15:6, 3591--3609, (2019)\
|
||||||
https://arxiv.org/abs/1902.08154
|
https://arxiv.org/abs/1902.08154
|
||||||
|
|
||||||
```
|
```
|
||||||
|
16
configure
vendored
16
configure
vendored
@ -303,31 +303,23 @@ EOF
|
|||||||
rm ${QP_ROOT}/external/opam_installer.sh
|
rm ${QP_ROOT}/external/opam_installer.sh
|
||||||
source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true
|
source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true
|
||||||
|
|
||||||
opam switch create ocaml-base-compiler.4.07.1
|
${QP_ROOT}/bin/opam init --verbose --yes --comp=4.07.1 --disable-sandboxing
|
||||||
opam init --verbose --yes --compiler=4.07.1 --disable-sandboxing
|
|
||||||
|
|
||||||
eval $(opam env)
|
eval $(${QP_ROOT}/bin/opam env)
|
||||||
opam install -y ${OCAML_PACKAGES} || exit 1
|
opam install -y ${OCAML_PACKAGES} || exit 1
|
||||||
|
|
||||||
else
|
else
|
||||||
# Conventional commands
|
# Conventional commands
|
||||||
execute << EOF
|
execute << EOF
|
||||||
chmod +x "\${QP_ROOT}"/external/opam_installer.sh
|
chmod +x "\${QP_ROOT}"/external/opam_installer.sh
|
||||||
"\${QP_ROOT}"/external/opam_installer.sh --no-backup
|
"\${QP_ROOT}"/external/opam_installer.sh --no-backup
|
||||||
EOF
|
|
||||||
execute << EOF
|
|
||||||
rm --force \${QP_ROOT}/bin/opam
|
rm --force \${QP_ROOT}/bin/opam
|
||||||
export OPAMROOT=\${OPAMROOT:-\${QP_ROOT}/external/opam}
|
export OPAMROOT=\${OPAMROOT:-\${QP_ROOT}/external/opam}
|
||||||
echo \${QP_ROOT}/bin \
|
echo \${QP_ROOT}/bin \
|
||||||
| sh \${QP_ROOT}/external/opam_installer.sh
|
| sh \${QP_ROOT}/external/opam_installer.sh
|
||||||
EOF
|
|
||||||
rm \${QP_ROOT}/external/opam_installer.sh
|
rm \${QP_ROOT}/external/opam_installer.sh
|
||||||
source \${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true
|
source \${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true
|
||||||
opam switch create ocaml-base-compiler.4.07.1 || exit 1
|
\${QP_ROOT}/bin/opam init --verbose --yes --comp=4.07.1 --disable-sandboxing
|
||||||
opam init --verbose --yes --compiler=4.07.1 --disable-sandboxing
|
eval \$(\${QP_ROOT}/bin/opam env)
|
||||||
eval $(opam env)
|
|
||||||
EOF
|
|
||||||
execute << EOF
|
|
||||||
opam install -y \${OCAML_PACKAGES} || exit 1
|
opam install -y \${OCAML_PACKAGES} || exit 1
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
void usleep_c(int s)
|
|
||||||
{
|
|
||||||
usleep((useconds_t) s);
|
|
||||||
}
|
|
@ -2,7 +2,7 @@ module c_functions
|
|||||||
use iso_c_binding
|
use iso_c_binding
|
||||||
|
|
||||||
interface
|
interface
|
||||||
subroutine usleep_c(us) bind (C,name="usleep_c")
|
subroutine usleep_c(us) bind (C,name="usleep")
|
||||||
use iso_c_binding
|
use iso_c_binding
|
||||||
integer(c_int), value :: us
|
integer(c_int), value :: us
|
||||||
end subroutine usleep_c
|
end subroutine usleep_c
|
||||||
@ -15,7 +15,5 @@ subroutine usleep(us)
|
|||||||
use iso_c_binding
|
use iso_c_binding
|
||||||
implicit none
|
implicit none
|
||||||
integer, intent(in) :: us
|
integer, intent(in) :: us
|
||||||
integer(c_int) :: u
|
call usleep_c(int(us,c_int))
|
||||||
u = us
|
|
||||||
call usleep_c(u)
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user