mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-11-07 06:33:38 +01:00
Downgraded dependencies
This commit is contained in:
parent
87fed8350a
commit
f2fb5fec11
@ -4,11 +4,14 @@
|
||||
######
|
||||
|
||||
URL_OPAM ="https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh"
|
||||
URL_IRPF90="https://github.com/scemama/irpf90/archive/v1.7.2.tar.gz"
|
||||
URL_IRPF90="https://github.com/scemama/irpf90/archive/v1.6.7.tar.gz"
|
||||
URL_EZFIO ="https://gitlab.com/scemama/EZFIO/-/archive/v1.3.3/EZFIO-v1.3.3.tar.gz"
|
||||
#URL_IRPF90="https://github.com/scemama/irpf90/archive/v1.7.2.tar.gz"
|
||||
|
||||
URL_ZMQ ="https://github.com/zeromq/libzmq/archive/v4.2.5.tar.gz"
|
||||
URL_F77ZMQ="https://github.com/scemama/f77_zmq/archive/v4.2.5.tar.gz"
|
||||
URL_ZMQ ="http://download.zeromq.org/zeromq-4.1.4.tar.gz"
|
||||
URL_F77ZMQ="https://github.com/scemama/f77_zmq/archive/4.1.4.tar.gz"
|
||||
#URL_ZMQ ="https://github.com/zeromq/libzmq/archive/v4.2.5.tar.gz"
|
||||
#URL_F77ZMQ="https://github.com/scemama/f77_zmq/archive/v4.2.5.tar.gz"
|
||||
|
||||
# Rules
|
||||
#######
|
||||
@ -49,7 +52,8 @@ build _build/irpf90.ok ../bin/irpman ../bin/irpf90: install | Downloads/irpf90.t
|
||||
target = irpf90
|
||||
descr = IRPF90
|
||||
|
||||
build _build/zmq.ok ../lib/libzmq.a ../lib/libzmq.so.5 ../lib/libzmq.so ../lib/zmq.h ../lib/zmq_utils.h: install | Downloads/zmq.tar.gz
|
||||
#build _build/zmq.ok ../lib/libzmq.a ../lib/libzmq.so.5 ../lib/libzmq.so ../lib/zmq.h ../lib/zmq_utils.h: install | Downloads/zmq.tar.gz
|
||||
build _build/zmq.ok ../lib/libzmq.a ../lib/libzmq.so.4 ../lib/libzmq.so ../lib/zmq.h ../lib/zmq_utils.h: install | Downloads/zmq.tar.gz
|
||||
target = zmq
|
||||
descr = ZeroMQ
|
||||
|
||||
|
@ -15,7 +15,8 @@ function _install()
|
||||
cd -
|
||||
rm -f -- "${QMCCHEM_PATH}"/src/ZMQ/f77_zmq.h "${QMCCHEM_PATH}"/lib/libf77zmq.a "${QMCCHEM_PATH}"/lib/libf77zmq.so
|
||||
cp "${BUILD}"/libf77zmq.{a,so} ../lib/
|
||||
cp "${BUILD}"/f77_zmq_free.h ../src/ZMQ/f77_zmq.h
|
||||
cp "${BUILD}"/f77_zmq.h ../src/ZMQ/
|
||||
# cp "${BUILD}"/f77_zmq_free.h ../src/ZMQ/f77_zmq.h
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -16,10 +16,10 @@ function _install()
|
||||
make install
|
||||
cd -
|
||||
rm -f -- "${QMCCHEM_PATH}"/lib/libzmq.{a,so,so.$LIBVERSION}
|
||||
# cp "${BUILD}"/.libs/libzmq.a "${QMCCHEM_PATH}"/lib/
|
||||
# cp "${BUILD}"/.libs/libzmq.so "${QMCCHEM_PATH}"/lib/libzmq.so.$LIBVERSION
|
||||
cp "${BUILD}"/src/.libs/libzmq.a "${QMCCHEM_PATH}"/lib/
|
||||
cp "${BUILD}"/src/.libs/libzmq.so "${QMCCHEM_PATH}"/lib/libzmq.so.$LIBVERSION
|
||||
cp "${BUILD}"/.libs/libzmq.a "${QMCCHEM_PATH}"/lib/
|
||||
cp "${BUILD}"/.libs/libzmq.so "${QMCCHEM_PATH}"/lib/libzmq.so.$LIBVERSION
|
||||
# cp "${BUILD}"/src/.libs/libzmq.a "${QMCCHEM_PATH}"/lib/
|
||||
# cp "${BUILD}"/src/.libs/libzmq.so "${QMCCHEM_PATH}"/lib/libzmq.so.$LIBVERSION
|
||||
cp "${BUILD}"/include/{zmq,zmq_utils}.h "${QMCCHEM_PATH}"/lib/
|
||||
cd "${QMCCHEM_PATH}"/lib
|
||||
ln libzmq.so.$LIBVERSION libzmq.so || cp libzmq.so.$LIBVERSION libzmq.so
|
||||
|
@ -83,7 +83,7 @@ let hostname = lazy (
|
||||
try
|
||||
Unix.gethostname ()
|
||||
with
|
||||
| _ -> "127.0.0.1"
|
||||
| _ -> "localhost"
|
||||
)
|
||||
|
||||
|
||||
|
@ -35,7 +35,7 @@ let full_run ?(start_dataserver=true) ezfio_filename =
|
||||
if (start_dataserver) then
|
||||
begin
|
||||
(* Reset socket address in EZFIO *)
|
||||
Ezfio.set_simulation_http_server "tcp://127.0.0.1:65534";
|
||||
Ezfio.set_simulation_http_server "tcp://localhost:65534";
|
||||
|
||||
|
||||
(* Start the data server *)
|
||||
@ -67,7 +67,7 @@ let full_run ?(start_dataserver=true) ezfio_filename =
|
||||
Zmq.Socket.send socket (Message.(to_string Test));
|
||||
Zmq.Socket.recv socket
|
||||
) with
|
||||
| Unix.Unix_error (_,_,_) ->
|
||||
| Unix.Unix_error _ ->
|
||||
begin
|
||||
"Failed"
|
||||
end
|
||||
|
@ -59,7 +59,7 @@ END_SHELL
|
||||
! DIMENSIONS
|
||||
!==========================================================================!
|
||||
|
||||
BEGIN_SHELL [ /usr/bin/python2 ]
|
||||
BEGIN_SHELL [ /usr/bin/env python2 ]
|
||||
from properties import *
|
||||
make_dims()
|
||||
END_SHELL
|
||||
|
@ -1,4 +1,4 @@
|
||||
BEGIN_SHELL [ /usr/bin/python2 ]
|
||||
BEGIN_SHELL [ /usr/bin/env python2 ]
|
||||
|
||||
data = [ \
|
||||
("electrons_elec_coord_pool_size" , "integer" , "" ),
|
||||
|
Loading…
Reference in New Issue
Block a user