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
On Travis, mpi is not installed correctly #554
Comments
Is hdf5 installed on travis by default? If not we need to do a |
I believe it is installed for us by hashstack (not default). But for some reason Python 3 doesn't see it unless I add the pip install line. We could try apt-get instead. |
Hmm, had forgotten about that. If we can keep it using hashstack that would be ideal but if that breaks in the future are we going to be able to fix it ourselves? |
No, I have no idea how to fix it. I haven't started looking since I am still hoping for help from @ahmadia . It might be wise to switch to something we understand better, but we could never get all the dependencies to work together with just apt-get/pip (at least, back in 2013/14). |
You can't mix and match Python packages between apt-get/hashstack, though you can mix-and-match dependencies (such as HDF5) if you're careful. Update for clarity: You can mix-and-match between hashstack and pip (once the pip points to a hashstack Python), but you generally can't use an apt-get installed package from the hashstack Python. |
This is the file that needs h5py: https://github.com/clawpack/pyclaw/blob/master/.stack.yaml - it appears to be in here, so we'd need to debug why the h5py package in hashstack doesn't show up in Python 3. |
This looks fine to me: https://github.com/hashdist/hashstack/blob/master/pkgs/h5py.yaml |
I don't know how to fix this without putting together a local Travis image then debugging what's gone wrong in the build: https://docs.travis-ci.com/user/common-build-problems/#Running-a-Container-Based-Docker-Image-Locally In principle, we had h5 support working, though I don't know if it was ever tested with Python 3. I don't know why the mpirun command is failing either. |
And it looks like I'm wrong, you should be able to install h5py from outside using |
@ketch - for some reason I can't PR to your repository, but try replacing |
In this build the parallel tests on Travis are failing. In Python 3, we get
command not found
when executingmpirun
. In Python 2, the tests run for a ridiculously long time and then we getThis appears to be an installation issue triggered by adding
pip install h5py
to the installation script.The text was updated successfully, but these errors were encountered: