10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 04:13:55 +01:00
This commit is contained in:
Anthony Scemama 2023-04-18 11:20:51 +02:00
parent a2b2c9958a
commit b51679b35e
5 changed files with 19 additions and 3 deletions

15
bin/zcat Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env python3
import sys
import gzip
# Check if a file path has been provided
if len(sys.argv) < 2:
print("Usage: zcat <filename>")
sys.exit(1)
# Open the gzip file
with gzip.open(sys.argv[1], "rt") as f:
# Read the contents of the file and print to standard output
print(f.read())

1
configure vendored
View File

@ -226,6 +226,7 @@ EOF
cd "\${QP_ROOT}"/external
tar --gunzip --extract --file qp2-dependencies/zeromq-4.2.5.tar.gz
cd zeromq-*
[[ ${SYSTEM} = Darwin ]] && ./autogen.sh
./configure --prefix="\$QP_ROOT" --without-libsodium --enable-libunwind=no
make -j 8
make install

@ -1 +1 @@
Subproject commit fd43778e12bb5858c4c780c34346be0f158b8cc7
Subproject commit b9e877d9a9444a2aac23ec94b4a174caa4a10dd2

View File

@ -40,7 +40,8 @@ from qp_path import QP_ROOT, QP_SRC, QP_EZFIO
LIB = " -lz"
EZFIO_LIB = join("$QP_ROOT", "lib", "libezfio_irp.a")
ZMQ_LIB = join("$QP_ROOT", "lib", "libf77zmq.a") + " " + join("$QP_ROOT", "lib", "libzmq.a") + " -lstdc++ -lrt -ldl"
ZMQ_LIB = "-lzmq -lf77zmq"
#ZMQ_LIB = join("$QP_ROOT", "lib", "libf77zmq.a") + " " + join("$QP_ROOT", "lib", "libzmq.a") + " -lstdc++ -lrt -ldl"
ROOT_BUILD_NINJA = join("$QP_ROOT", "config", "build.ninja")
ROOT_BUILD_NINJA_EXP = join(QP_ROOT, "config", "build.ninja")
ROOT_BUILD_NINJA_EXP_tmp = join(QP_ROOT, "config", "build.ninja.tmp")

View File

@ -25,7 +25,6 @@ function run {
@test "B-B" {
qp set_file b2_stretched.ezfio
run b2_stretched.zmt 1 0 6-31g
}