Comments (13)
Hello,
if you install OCaml with ./configure -i ocaml
, you can't move the installation because some absolute paths are written in files. I have been looking for a solution for a long time and the best I found is to use a singularity or docker container.
from qp2.
Dear scemama,
How to solve this problem with using a singularity? Can you tell me how to solve this problem?I hope to get your reply!
from qp2.
See discussions of issue #180. There are links to singularity build files which could be good starting points for you.
from qp2.
I took a closer look and found that the developer did not use the automatic build method to install ocaml and reported an error while making. Later, the following comment area gave him a solution that still used ./configure -i ocaml.
from qp2.
Hello, if I finished packaging, I re-download install ocaml package path is feasible with ./configure -i ocaml?
from qp2.
Hello, it should work.
from qp2.
Thank you for your answers, scemama!
from qp2.
hello, scemama!
I tried retesting qp on paths other than the installation path, and I have removed the qp package for the installation path, and I tried rerunning. / configure -i ocaml on other paths. The following errors were encountered:
[ERROR] System file /root/install/qp2-2.1.2/external/ocaml-bundle/bootstrap/bin/ocamlc, which package ocaml-bootstrap.4.11.1 depends upon, no longer exists.
The package has been marked as removed, and opam will try to reinstall it if necessary, but you should reinstall its system dependencies first.
from qp2.
hello, scemama!
I tried to package the installed qp and move it to another server and modified it. The path problem in the /bin directory getopt-sample, ocamlbuild, ocamlbuild.byte, ocamlbuild.native. And I also modified the path problem in the /etc directory 00.qp_root.rc, and changed it to the directory where I want to run the currently packaged qp. At this time, I execute ./bin/qpsh can enter the encoding mode of qp. But i can't execute qp create_ezfio -b 6-31g hcn.xyz -o hcn, the system can not recognize. I want to ask if there are other places where the path I have not changed. I hope to get your reply.
from qp2.
Hello,
if the qp
command is not recognized, it is that the quantum_package.rc
file has not been sourced in the current bash.
Can you tell more about "the system can not recognize"? Can you send the error you get?
from qp2.
I currently package the qp package under the installation path to other paths, and delete the successfully installed qp package under the installation path. Then I have modified the path problems in getopt-sample, ocamlbuild, ocamlbuild.byte, ocamlbuild.native and 00.qp _ root.rc under the new directory qp root directory, and then I execute source quantum_ package.rc. I then execute./bin/qpsh to get into qp encoding mode, and then I execute qp create_ezfio-b 6-31g hcn.xyz-o hcn to get into trouble. Normally if I execute the hcn.xyz example, I execute qp create_ezfio-b 6-31g hcn.xyz-o hcn to generate the hcn file, but in this case the error:
bash : qp_create_ezfio : command not found
from qp2.
Qp software package to run on other machines, is it in addition to these files I changed the directory problem, there are other files in the directory problem I need to modify together ?
from qp2.
hello, scemama!
After I reinstalled ocaml in the new directory, I tried to re-make qp, and the final error of make was as follows :
[2/3] Compiling OCaml tools
make[1]: Entering directory '/root/pkg/quantumpackage-2.1.2-hpc/qp2-2.1.2/ocaml'
ocamlbuild -j 0 -cflags "-g" -lflags "-g" -ocamlopt "opt -O3 -remove-unused-arguments -rounds 16 -inline 100 -inline-max-unroll 100" qptypes_generator.byte -use-ocamlfind
Finished, 0 targets (0 cached) in 00:00:00.
Exception
Sys_error("/root/pkg/quantumpackage-2.1.2-hpc/qp2-2.1.2/ocaml/qptypes_generator.byte: No such file or directory").
Compilation unsuccessful after building 0 targets (0 cached) in 00:00:00.
make[1]: *** [Makefile:74: qptypes_generator.byte] Error 100
make[1]: Leaving directory '/root/pkg/quantumpackage-2.1.2-hpc/qp2-2.1.2/ocaml'
FAILED: ocaml_target
make -C /root/pkg/quantumpackage-2.1.2-hpc/qp2-2.1.2/ocaml
ninja: build stopped: subcommand failed.
make: *** [Makefile:2: default] Error 1
File qptypes_generator.byte I have generated in the installation directory, packaged to run under other machines encountered this problem, I would like to ask how this file error should be resolved. I hope to get your reply.
from qp2.
Related Issues (20)
- installation of ocaml: gmp-devel and zeromq-devel needed, even if present in libs and include HOT 4
- Installation failure with zmq/ocaml during make HOT 16
- qp2-dependencies not at latest commit HOT 1
- Makefile contents HOT 5
- How to execute multiple test cases at the same time HOT 5
- Test case script HOT 1
- /bin/qp_mpirun
- ./configure -c config/gfortran_mpi.cfg HOT 4
- ocaml 4.11 in qp2-dependencies incompatible with glibc>=2.34 HOT 1
- SCF energy HOT 1
- Issue with print_wf after running CIPSI calculation HOT 3
- OpenSUSE problem HOT 1
- Type mismatch HOT 1
- Ninja: build stopped: subcommand failed HOT 2
- QP2 singularity running in parallel (OpenMPI) on multiple nodes HOT 4
- Problems with qp run diagonalize_h HOT 3
- Issues Installing Quantum Package Using zsh Shell HOT 2
- orbital optimization crash with memory issue. HOT 2
- qp edit feature request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qp2.