10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 04:43:50 +01:00

If external libs are missing (cryptokit), run 'make external_libs' in ocaml dir

This commit is contained in:
Anthony Scemama 2014-10-27 22:06:03 +01:00
parent dc9864e54f
commit 523793d39f
3 changed files with 6 additions and 1 deletions

View File

@ -19,11 +19,15 @@ ALL_EXE=$(patsubst %.ml,%.native,$(wildcard qp_*.ml))
.PHONY: executables default
default: $(ALL_TESTS) $(ALL_EXE)
executables:
$(MAKE) -C $(QPACKAGE_ROOT)/data executables
external_libs:
opam install cryptokit core
qpackage.odocl: $(MLIFILES)
ls $(MLIFILES) | sed "s/\.mli//" > qpackage.odocl

View File

@ -136,6 +136,7 @@ subroutine copy_H_apply_buffer_to_wf
do j=0,nproc-1
N_det = N_det + H_apply_buffer(j)%N_det
enddo
SOFT_TOUCH N_det
if (psi_det_size < N_det) then
psi_det_size = N_det

View File

@ -1,7 +1,7 @@
BEGIN_PROVIDER [ double precision, H_matrix_all_dets,(N_det,N_det) ]
implicit none
BEGIN_DOC
! H matrix on the basis of the slater deter;inants defined by psi_det
! H matrix on the basis of the slater determinants defined by psi_det
END_DOC
integer :: i,j
double precision :: hij