mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 12:23:43 +01:00
Fix zcat
This commit is contained in:
parent
a2b2c9958a
commit
b51679b35e
15
bin/zcat
Executable file
15
bin/zcat
Executable 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
1
configure
vendored
@ -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
|
||||
|
2
external/qp2-dependencies
vendored
2
external/qp2-dependencies
vendored
@ -1 +1 @@
|
||||
Subproject commit fd43778e12bb5858c4c780c34346be0f158b8cc7
|
||||
Subproject commit b9e877d9a9444a2aac23ec94b4a174caa4a10dd2
|
@ -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")
|
||||
|
@ -25,7 +25,6 @@ function run {
|
||||
|
||||
|
||||
@test "B-B" {
|
||||
qp set_file b2_stretched.ezfio
|
||||
run b2_stretched.zmt 1 0 6-31g
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user