Skip to content
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

MPI packages? #84

Closed
wrathematics opened this issue Jun 28, 2017 · 7 comments
Closed

MPI packages? #84

wrathematics opened this issue Jun 28, 2017 · 7 comments

Comments

@wrathematics
Copy link

In anticipation of one day having rchk (which I still can't get to run myself...) available from rhub, is there any chance of supporting MPI packages? On Debian/Ubuntu, you should only need libopenmpi-dev and pbdMPI should build without any headaches. In my experience, Rmpi is much more annoying, but there's r-cran-rmpi in Debian. I think Fedora has something similar. Windows has MS-MPI if you wanted to go that far.

R + HPC is a relatively small group of people, so this obviously isn't a top priority. But it would be much appreciated.

@gaborcsardi
Copy link
Collaborator

There is openmpi on r-hub (on linux), you just need to put it in SystemRequirements: https://github.com/r-hub/sysreqsdb/blob/master/sysreqs/openmpi.json

Let me know if you have problems.

@wrathematics
Copy link
Author

Well, pbdMPI is missing:

Package required but not available: ‘pbdMPI’

I suspect that Rmpi is as well.

Using SystemRequirements is not necessarily ideal. pbdMPI's is very thorough. Rmpi doesn't even bother with one. As far as I know, every MPI-using package on CRAN either uses (no linking) or links with one of those two packages, except for bigGP.

@gaborcsardi
Copy link
Collaborator

r-hub works off SystemRequirements. Your package declares openMPI, so that is installed just fine, before the package is checked:
https://builder.r-hub.io/status/pbdMPI_0.3-3.tar.gz-e4ca944c246145ca95ff4954d794e984

The install still fails, though, because it seems that you also need ssh or rsh? Please look at 00install.out at https://artifacts.r-hub.io/pbdMPI_0.3-3.tar.gz-e4ca944c246145ca95ff4954d794e984/

@gaborcsardi
Copy link
Collaborator

If a package needs openMPI, but does not declare this, then we need to add an entry here: https://github.com/r-hub/sysreqsdb/tree/master/cran
PRs are welcome.

@gaborcsardi
Copy link
Collaborator

Closing this, as it is not clear what is needed.

@krivit
Copy link

krivit commented Jun 10, 2019

The SystemRequirements: OpenMPI directive seems to work for Ubuntu but not for Fedora: https://builder.r-hub.io/status/ergm_3.10.4.tar.gz-5706b68f312d499ab984aba56ff4dee6 .

The key line appears to be https://builder.r-hub.io/status/ergm_3.10.4.tar.gz-5706b68f312d499ab984aba56ff4dee6#L1412 .

@maelle maelle reopened this Jun 10, 2019
@gaborcsardi
Copy link
Collaborator

This issue is about the previous R-hub system, it does not apply to the new system, so I am closing it now. Please see https://r-hub.github.io/rhub/ for the new system, R-hub v2.

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

No branches or pull requests

4 participants