-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation failure with zmq/ocaml during make #180
Comments
Hello Amanda, We recently changed the way OCaml is installed to make it simpler, so if you just made a "git pull" on an old installation it might be the reason. I would recommend you to reinstall QP from the very beginning:
Please let me know if it solved your problem. best, |
Hello, Thank you for the quick feedback and recommendation. Unfortunately, this issue occurred from a completely new repository clone. To ensure I wasn't running into any environment issues with an old install, I also compiled within a singularity container using the attached build script (qp2_singularity.txt). The same error is observed here (singularity_build_out.txt). Is there anything else that might be going on? Thank you, |
Hello,
I see that you are using the dev-pbc branch. I am not the maintainer of the
dev-pbc branch but it is probably out of sync with the master.
Can you try using the master branch please?
Thanks,
Anthony
Amanda Dumi writes:
… Hello,
Thank you for the quick feedback and recommendation. Unfortunately, this issue occurred from a completely new repository clone. To ensure I wasn't running into any environment issues with an old install, I also compiled within a singularity container using the attached build script ([qp2_singularity.txt](https://github.com/QuantumPackage/qp2/files/7664294/qp2_singularity.txt)). The same error is observed here ([singularity_build_out.txt](https://github.com/QuantumPackage/qp2/files/7664296/singularity_build_out.txt)). Is there anything else that might be going on?
Thank you,
Amanda
--
Anthony Scemama
IRSAMC / Laboratoire de Chimie et Physique Quantiques
UMR5626 CNRS/UPS
Toulouse
|
Ah yes, sorry about that. So this diverged a bit:
|
Hello @amandadumi , I have done something (with singularity) which works for me on the master branch. The definition file is the following: You can build the container as: After that, you can enter in the container WITHOUT being root to install qp2 in your actual directory and the missing dependencies Please tell me if it works Yann |
Thank you! I will give this a try this afternoon and report back shortly. |
Taking from your singularity recipe, I was able to get around this ocaml issue. Entering into qpsh before ninja allowed for a compilation of the master branch without any issues, even outside of singularity. Thank you for the help! |
Very good! Thanks for your feedback! |
@amandadumi my bro,I would like to ask if you have solved the OCAML error problem in the compilation process and how to solve it specifically. I also encountered this headache problem in the compilation process, so I really hope to get your answer! |
Hello, I had a similar problem while compiling qp2 (master branch) on ubuntu 22.04. The origin of the problem seems to be the gcc version. A too recent gcc version and the ocaml tar ball supplied by qp2 don't seem to be compatible. I was able to build qp2 (master branch) on ubuntu 20.04 with the default gcc version without any problem. Perhaps, someone should check which gcc versions are problematic with OPAM (supplied by qp2) and report here !? Hope this helps. |
@v1j4y hello,my bro,you can make it on ubuntu 20.04?I make it on ubuntu 18.04 always had a similar problem: 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
Do you install it on ubuntu 20.04 according to the following statement: I really hope to get your answer!my bro! |
Yes, I recommend using This seems to be a versioning issue (gcc, ocaml etc...) what gcc version are you using ? |
@v1j4y
gcc version:9.4.0 |
@zyzyzy0408 Can you please tell us
|
@scemama thank my bro, I have successfully installed it on x86, but now I'm having a problem with ARM, I think It could be a compiler version problem |
ARM is not supported yet. We are working on it. |
Hello all, I am hoping to get some help with a compilation error I am unable to move past. I am able to build dependencies without any problem. However, at the make/ninja step I run into the following error:
I have run into this on my home desktop running Manjaro 5.4.150-1 using GCC version 11.1.0. I have also run into this on an HPC cluster running Red Hat 7.9 using gcc 9.2 or intel 20.0.2.
Some other potentially helpful notes:
manjaro_env.txt
I'm happy to provide anything other information that may help! Thank you.
The text was updated successfully, but these errors were encountered: