#236: Use pyzoltan to call Zoltan as a comparison algorithm in LBAF#239
#236: Use pyzoltan to call Zoltan as a comparison algorithm in LBAF#239marcinwrobel1986 wants to merge 9 commits intodevelopfrom
Conversation
|
@ppebay Please take a look and once the installation is ok, you can change the assignee and continue with this PR |
|
Thanks @marcinwrobel1986 but two questions:
|
Ok, good remark, we could test it in CI. For Ubuntu there is an easy way to install |
ppebay
left a comment
There was a problem hiding this comment.
Two questions:
1- do we really have to Git clone pyzoltan? This seems rather convoluted to do that in addition to pip installing it.
2- I am still getting the following error:
Installing collected packages: pyzoltan
Running setup.py install for pyzoltan ... error
error: subprocess-exited-with-error
× Running setup.py install for pyzoltan did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
--------------------------------------------------------------------------------
Unable to run mpic++ correctly, skipping parallel build
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/tmp/pip-install-2hnqbo4t/pyzoltan_b10f764ad6514ad88fed0d7b8c7f2b09/setup.py", line 346, in <module>
setup_package()
File "/private/tmp/pip-install-2hnqbo4t/pyzoltan_b10f764ad6514ad88fed0d7b8c7f2b09/setup.py", line 298, in setup_package
raise RuntimeError(
RuntimeError: There are no extension modules, Nothing to do!
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pyzoltan
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Would this occur only on macOS?
|
Ad. 1. We are cloning PyZoltan, just to use the script provided there |
|
I have MPICH installed... so this pyzoltan can only work with OpenMPI? |
I am not an expert, but you can noticed that they want one to install OpenMPI |
|
Yes I am installing it (via MacPorts actually) but I find it surprising that it would require a specific implementation of MPI (OpenMPI rather than MPICH). |
|
Still not working on macOS, even with OpenMPI installed: |
|
Philippe, maybe if you have it installed, then just:
One needs to install pip install -r <some-directory>/pyzoltan/requirements.txtLast step is to install pip install pyzoltan --no-build-isolation |
|
Yes yes I did all of the above. Still failing. I think it's fair to say that their install process does not work on macOS. |
|
@lifflander if you have a chance, could you please try to check if pyzoltan's instructions are working with your version of macOS --- as you are probably using Homebrew rather than MacPorts? Thanks! |
I was able to get pyzoltan installed on the Mac. I think the key is having a proper version of OpenMPI installed. I ended up building everything with clang-5 and OpenMPI 3. |
|
Hello @ppebay I added readme instruction for Docker usage. |
- redefined dockerfile to include pyZoltan
- removed not needed files from docker image
026af97 to
a0f7958
Compare
|
Please @tlamonthezie have a look at this |
…arison-algorithm-in-LBAF
THIS PR:
PyZoltaninstallationPyZoltaninstallationCloses #236 #275