mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-12-21 11:53:30 +01:00
build.ninja in ocaml
This commit is contained in:
parent
deb83a98bd
commit
0bacfffb32
@ -1,6 +0,0 @@
|
||||
true: package(core,sexplib.syntax,cryptokit,str,ZMQ)
|
||||
true: thread
|
||||
true:rpath
|
||||
#true: static
|
||||
|
||||
|
@ -29,7 +29,7 @@ then
|
||||
LIB="${LIB} ${QMCCHEM_PATH}/lib/libezfio_irp.a ${QMCCHEM_PATH}/lib/libf77zmq.a ${QMCCHEM_PATH}/lib/libzmq.a -lstdc++ -lrt"
|
||||
SRC="${SRC} ZMQ/f77_zmq_module.f90"
|
||||
OBJ="${OBJ} IRPF90_temp/ZMQ/f77_zmq_module.o"
|
||||
INCLUDES="${INCLUDES} -I AO -I SAMPLING -I TOOLS -I JASTROW -I TESTING -I MAIN -I PROPERTIES -I ZMQ"
|
||||
INCLUDES="${INCLUDES} -I AO -I SAMPLING -I TOOLS -I JASTROW -I MAIN -I PROPERTIES -I ZMQ"
|
||||
IRPF90_FLAGS="${IRPF90_FLAGS} --ninja"
|
||||
|
||||
# Check IRPF90 version
|
||||
|
@ -853,9 +853,8 @@ END_PROVIDER
|
||||
|
||||
! Avoid NaN
|
||||
if (ddet /= 0.d0) then
|
||||
n_updated_det += 1.d0
|
||||
continue
|
||||
else
|
||||
n_inverted_det += 1.d0
|
||||
do j=1,mo_closed_num
|
||||
!DIR$ VECTOR ALIGNED
|
||||
!DIR$ LOOP COUNT(100)
|
||||
@ -964,9 +963,8 @@ END_PROVIDER
|
||||
|
||||
! Avoid NaN
|
||||
if (ddet /= 0.d0) then
|
||||
n_updated_det += 1.d0
|
||||
continue
|
||||
else
|
||||
n_inverted_det += 1.d0
|
||||
do j=1,mo_closed_num
|
||||
!DIR$ VECTOR UNALIGNED
|
||||
!DIR$ LOOP COUNT (100)
|
||||
|
Loading…
Reference in New Issue
Block a user