Skip to content

Conversation

@samuelsimko
Copy link

The six python library is used in the LensIt code, but does not figure in the list of requirements.

LensIt is expecting mpi4py to be installed as well for better performance, which requires the libopenmpi-dev package to be installed on Debian-based Linux distributions, and the openmpi-devel package to be installed on RPM-based Linux distributions.
Maybe this can be added to the README, or to the requirements.txt as well ?

@Sebastian-Belkner
Copy link

Looks ok to me, but it seems the function using six has a bug anyway? (buffer is not defined).

For MPI, not sure if HPC compatibility on local devices is really needed.

@samuelsimko
Copy link
Author

buffer is not defined for python3, but in python2 buffer creates a new buffer object. Since the function it is only called if python2 is used, I don't think the function using six is bugged.

As for MPI, you might be right about HPC compatibility not being needed on local devices.
I did get a bug on Yggdrasil because mpi4py was not installed in my virtual environnement though.

@Sebastian-Belkner
Copy link

I didn't know about the python2 behaviour, thank you.

You are definitely right, mpi4py should be added to the requirements / README at some point..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants