Closed maituoy closed 3 years ago
Yes! You can install to your home directory via spack install
. It looks like vasp is available.
I do see a vasp package with spack list
. But when I try to load via spack load vasp
, it says "Error: Spec 'vasp' matches no installed packages.". Would you mind elaborating more details about how to use it with spack? I also tried to install the vasp locally with spack install vasp
. However, it ends up with "vasp has to be downloaded manually". So, if I have the package, how do I install it via spack? Thank you for your time!
I'd recommend checking out the spack documentation: https://spack-tutorial.readthedocs.io/en/latest/
spack load package
will fail unless the package has been installed (spack find
will show you what is installed)
Do post the full output of spack install vasp
I followed the instruction in the spack documentation as below
But it seems it still can not fetch the .tar
file locally. Here is the full output of spack install vasp
Do link to things like that: https://spack.readthedocs.io/en/latest/basic_usage.html?highlight=Non-downloadable#non-downloadable-tarballs
Things to check:
spack mirror list
spack config blame mirrors
If that doesn't flag the issue, I would try to create the mirror again with spack mirror create
and read the mirror docs:
https://spack.readthedocs.io/en/latest/mirrors.html#mirrors
Still not able to let spack fetching the package locally. The spack can see my mirror as follow:
I believe spack mirror create
only works for those packages can be fetched online.
I'm not sure if it's due to the unsuccessful clean process. Since I tried to clean the previous cache before installation, but got a warning as below.
I've deleted /tmp/maituoy
can you try again?
No luck. I'm trying to compile it myself instead of using spack. Is it possible to install an Intel fortran compiler on Arjuna? I did not find one on the spack list. I'm not sure if the spack install intel
will include everything but I don't have the permission to give it a try.
That's a bummer. Did spack give any helpful error messages? You might want to try: ‘spack install -v vasp’
Yes, you can install intel compilers with spack.
You do have permission to install additional software with spack. (I.e. ‘spack install intel’) it will just end up in your ~/.spack directory instead of the spack users’. You will also have to tell spack about the new compiler ( if you want to use it with spack); see the spack docs for more info
If you're getting specific permission issues, please post the command and resulting output
Best,
Alex
spack install -v vasp
gives the same error as before.
spack install intel
results in a permission error as follow
Really appreciate your time! Maituo
Looks like intel compilers require a license
The permission error is fixed though. Do you have a license for the intel fortran compiler? Looks like there's a student version.
This is a guess, but try installing vasp@5.4.4. The vasp in spack is 6.1.1 or something, so when you do spack install vasp and you have 5.4.4 as the tarball, it may be going to the latest version, trying to download, and failing
so try spack install vasp@5.4.4
I've tried that before. It did not work.
Yeah it's not working for me either
I've compiled it myself. Thanks for all your help. I attached my make file below in case anyone on Arjuna would like to compile VASP. makefile.include_Arjuna.zip
Happy that you got it yourself, and thanks for trying! We're going to continue working on this behind the scenes, because it's much deeper than just VASP -- currently our spack is not properly recognizing mirrors, which means any software spack can't download can't be installed via spack rn.
Actually I also tried to install wannier90
via spack mirror and I think in that case mirror was able to be recognized.
I hope this extra data point may help a little bit.
Oh yeah thanks!
Hi, I'm wondering if VASP can be installed as a module on Arjuna? Thank you