mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-21 11:03:29 +01:00
This commit is contained in:
parent
185f3a500c
commit
687fa9472a
74
.drone.yml
74
.drone.yml
@ -7,46 +7,46 @@ clone:
|
|||||||
depth: 10
|
depth: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: configure debug
|
||||||
|
image: scemama666/qp2_env
|
||||||
|
commands:
|
||||||
|
- ./configure -i all -c ./config/gfortran_debug.cfg
|
||||||
|
- bash -c "source quantum_package.rc ; exec qp_plugins download https://gitlab.com/scemama/qp_plugins_scemama"
|
||||||
|
- bash -c "source quantum_package.rc ; exec qp_plugins install champ"
|
||||||
|
|
||||||
- name: configure
|
- name: compile debug
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- ./configure -i all -c ./config/gfortran_debug.cfg
|
- bash -c "source quantum_package.rc ; exec ninja"
|
||||||
- bash -c "source quantum_package.rc ; exec qp_plugins download https://gitlab.com/scemama/qp_plugins_scemama"
|
|
||||||
- bash -c "source quantum_package.rc ; exec qp_plugins install champ"
|
|
||||||
|
|
||||||
- name: compile
|
- name: testing debug
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- bash -c "source quantum_package.rc ; exec ninja"
|
- bash -c "source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
|
||||||
|
|
||||||
- name: testing
|
- name: configure fast
|
||||||
image: scemama666/qp2_env
|
image: scemama666/qp2_env
|
||||||
commands:
|
commands:
|
||||||
- bash -c "source quantum_package.rc ; TRAVIS=1 exec qp_test -a"
|
- ./configure -i all -c ./config/gfortran_avx.cfg
|
||||||
|
|
||||||
---
|
- name: compile fast
|
||||||
kind: pipeline
|
image: scemama666/qp2_env
|
||||||
type: docker
|
commands:
|
||||||
name: gfortran-avx
|
- bash -c "source quantum_package.rc ; exec ninja"
|
||||||
|
|
||||||
clone:
|
- name: testing fast
|
||||||
depth: 10
|
image: scemama666/qp2_env
|
||||||
|
commands:
|
||||||
steps:
|
- bash -c "source quantum_package.rc ; exec qp_test -a"
|
||||||
|
|
||||||
- name: configure
|
|
||||||
image: scemama666/qp2_env
|
|
||||||
commands:
|
|
||||||
- ./configure -i all -c ./config/gfortran_avx.cfg
|
|
||||||
|
|
||||||
- name: compile
|
|
||||||
image: scemama666/qp2_env
|
|
||||||
commands:
|
|
||||||
- bash -c "source quantum_package.rc ; exec ninja"
|
|
||||||
|
|
||||||
- name: testing
|
|
||||||
image: scemama666/qp2_env
|
|
||||||
commands:
|
|
||||||
- bash -c "source quantum_package.rc ; exec qp_test -a"
|
|
||||||
|
|
||||||
|
- name: notify
|
||||||
|
image: drillster/drone-email
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
from_secret: hostname # irsamc.ups-tlse.fr
|
||||||
|
from:
|
||||||
|
from_secret: from # drone@irssv7.ups-tlse.fr
|
||||||
|
recipients:
|
||||||
|
from_secret: recipients # scemama@irsamc.ups-tlse.fr
|
||||||
|
when:
|
||||||
|
status: [changed, failure]
|
||||||
|
@ -224,7 +224,7 @@ def write_ezfio(res, filename):
|
|||||||
exponent += [p.expo for p in b.prim]
|
exponent += [p.expo for p in b.prim]
|
||||||
ang_mom.append(str.count(s, "z"))
|
ang_mom.append(str.count(s, "z"))
|
||||||
shell_prim_num.append(len(b.prim))
|
shell_prim_num.append(len(b.prim))
|
||||||
shell_index += [nshell_tot+1] * len(b.prim)
|
shell_index += [nshell_tot] * len(b.prim)
|
||||||
|
|
||||||
# ~#~#~#~#~ #
|
# ~#~#~#~#~ #
|
||||||
# W r i t e #
|
# W r i t e #
|
||||||
|
@ -542,12 +542,11 @@ subroutine save_wavefunction_general(ndet,nstates,psidet,dim_psicoef,psicoef)
|
|||||||
integer :: i,j,k, ndet_qp_edit
|
integer :: i,j,k, ndet_qp_edit
|
||||||
|
|
||||||
if (mpi_master) then
|
if (mpi_master) then
|
||||||
ndet_qp_edit = min(ndet,N_det_qp_edit)
|
|
||||||
|
|
||||||
call ezfio_set_determinants_N_int(N_int)
|
call ezfio_set_determinants_N_int(N_int)
|
||||||
call ezfio_set_determinants_bit_kind(bit_kind)
|
call ezfio_set_determinants_bit_kind(bit_kind)
|
||||||
call ezfio_set_determinants_N_det(ndet)
|
call ezfio_set_determinants_N_det(ndet)
|
||||||
call ezfio_set_determinants_N_det_qp_edit(ndet_qp_edit)
|
call ezfio_set_determinants_N_det_qp_edit(min(ndet,10000))
|
||||||
call ezfio_set_determinants_n_states(nstates)
|
call ezfio_set_determinants_n_states(nstates)
|
||||||
call ezfio_set_determinants_mo_label(mo_label)
|
call ezfio_set_determinants_mo_label(mo_label)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user