mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-21 19:13:29 +01:00
commit
6f56312ad0
1
.github/workflows/compilation.yml
vendored
1
.github/workflows/compilation.yml
vendored
@ -49,6 +49,7 @@ jobs:
|
|||||||
./configure -i resultsFile || :
|
./configure -i resultsFile || :
|
||||||
./configure -i bats || :
|
./configure -i bats || :
|
||||||
./configure -i trexio-nohdf5 || :
|
./configure -i trexio-nohdf5 || :
|
||||||
|
./configure -i qmckl || :
|
||||||
./configure -c ./config/gfortran_debug.cfg
|
./configure -c ./config/gfortran_debug.cfg
|
||||||
- name: Compilation
|
- name: Compilation
|
||||||
run: |
|
run: |
|
||||||
|
3
.github/workflows/configuration.yml
vendored
3
.github/workflows/configuration.yml
vendored
@ -56,6 +56,9 @@ jobs:
|
|||||||
- name: trexio
|
- name: trexio
|
||||||
run: |
|
run: |
|
||||||
./configure -i trexio || echo OK
|
./configure -i trexio || echo OK
|
||||||
|
- name: qmckl
|
||||||
|
run: |
|
||||||
|
./configure -i qmckl || echo OK
|
||||||
- name: Final check
|
- name: Final check
|
||||||
run: |
|
run: |
|
||||||
./configure -c config/gfortran_debug.cfg
|
./configure -c config/gfortran_debug.cfg
|
||||||
|
19
configure
vendored
19
configure
vendored
@ -191,7 +191,7 @@ if [[ "${PACKAGES}.x" != ".x" ]] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ${PACKAGES} = all ]] ; then
|
if [[ ${PACKAGES} = all ]] ; then
|
||||||
PACKAGES="zlib ninja zeromq f77zmq gmp ocaml docopt resultsFile bats trexio"
|
PACKAGES="zlib ninja zeromq f77zmq gmp ocaml docopt resultsFile bats trexio qmckl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@ -229,6 +229,17 @@ EOF
|
|||||||
./configure --prefix=\${QP_ROOT}
|
./configure --prefix=\${QP_ROOT}
|
||||||
make -j 8 && make -j 8 check && make -j 8 install
|
make -j 8 && make -j 8 check && make -j 8 install
|
||||||
EOF
|
EOF
|
||||||
|
elif [[ ${PACKAGE} = qmckl ]] ; then
|
||||||
|
|
||||||
|
VERSION=0.5.2
|
||||||
|
execute << EOF
|
||||||
|
cd "\${QP_ROOT}"/external
|
||||||
|
wget https://github.com/TREX-CoE/qmckl/releases/download/v${VERSION}/qmckl-${VERSION}.tar.gz
|
||||||
|
tar -zxf qmckl-${VERSION}.tar.gz
|
||||||
|
cd qmckl-${VERSION}
|
||||||
|
./configure --prefix=\${QP_ROOT} --enable-hpc --disable-doc
|
||||||
|
make -j 4 && make -j 4 check && make install
|
||||||
|
EOF
|
||||||
|
|
||||||
|
|
||||||
elif [[ ${PACKAGE} = gmp ]] ; then
|
elif [[ ${PACKAGE} = gmp ]] ; then
|
||||||
@ -371,6 +382,12 @@ if [[ ${TREXIO} = $(not_found) ]] ; then
|
|||||||
fail
|
fail
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
QMCKL=$(find_lib -lqmckl)
|
||||||
|
if [[ ${QMCKL} = $(not_found) ]] ; then
|
||||||
|
error "QMCkl (qmckl) is not installed."
|
||||||
|
fail
|
||||||
|
fi
|
||||||
|
|
||||||
F77ZMQ=$(find_lib -lzmq -lf77zmq -lpthread)
|
F77ZMQ=$(find_lib -lzmq -lf77zmq -lpthread)
|
||||||
if [[ ${F77ZMQ} = $(not_found) ]] ; then
|
if [[ ${F77ZMQ} = $(not_found) ]] ; then
|
||||||
error "Fortran binding of ZeroMQ (f77zmq) is not installed."
|
error "Fortran binding of ZeroMQ (f77zmq) is not installed."
|
||||||
|
2
external/ezfio
vendored
2
external/ezfio
vendored
@ -1 +1 @@
|
|||||||
Subproject commit ed1df9f3c1f51752656ca98da5693a4119add05c
|
Subproject commit d5805497fa0ef30e70e055cde1ecec2963303e93
|
2
external/irpf90
vendored
2
external/irpf90
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 33ca5e1018f3bbb5e695e6ee558f5dac0753b271
|
Subproject commit 0007f72f677fe7d61c5e1ed461882cb239517102
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import zmq
|
import zmq
|
||||||
import sys, os
|
import sys, os
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import zmq
|
import zmq
|
||||||
import sys, os
|
import sys, os
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from math import *
|
from math import *
|
||||||
arg = sys.argv
|
arg = sys.argv
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Computes the error on the excitation energy of a CIPSI run.
|
# Computes the error on the excitation energy of a CIPSI run.
|
||||||
|
|
||||||
def student(p,df):
|
def student(p,df):
|
||||||
|
@ -459,6 +459,7 @@ def write_ezfio(trexio_filename, filename):
|
|||||||
beta = [ i for i in range(num_beta) ]
|
beta = [ i for i in range(num_beta) ]
|
||||||
if trexio.has_mo_spin(trexio_file):
|
if trexio.has_mo_spin(trexio_file):
|
||||||
spin = trexio.read_mo_spin(trexio_file)
|
spin = trexio.read_mo_spin(trexio_file)
|
||||||
|
if max(spin) == 1:
|
||||||
beta = [ i for i in range(mo_num) if spin[i] == 1 ]
|
beta = [ i for i in range(mo_num) if spin[i] == 1 ]
|
||||||
beta = [ beta[i] for i in range(num_beta) ]
|
beta = [ beta[i] for i in range(num_beta) ]
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
3
src/casscf_tc_bi/NEED
Normal file
3
src/casscf_tc_bi/NEED
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
determinants
|
||||||
|
tc_bi_ortho
|
||||||
|
fci_tc_bi
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -199,6 +199,7 @@ END_DOC
|
|||||||
write(6,*)
|
write(6,*)
|
||||||
if (converged) then
|
if (converged) then
|
||||||
write(6,*) 'SCF converged'
|
write(6,*) 'SCF converged'
|
||||||
|
call sleep(1) ! When too fast, the MOs aren't saved.
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user