UCL-ARC / UCL-ARC/rcps-buildscripts
MPI and RMPISNOW alterations for R 4.1.1
@balston is already working on this.
Since Nov 3, 2021.
- Dominant language
- Shell
- Stars
- 42
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
IN: 04932896
- In the modulefile for
r/4.1.1-openblas/gnu-10.2.0, this line needs to be changed:
setenv OMPI_MCA_btl tcp,sm,self
to
setenv OMPI_MCA_btl tcp,vader,self
(No sm for OpenMPI 4). This may be able to be dropped entirely, because the mpirun wrapper for OpenMPI ought to be setting this correctly already.
This was a problem on Myriad, MPI within single node.
- Check if RMPISNOW is giving this error for a user with no existing R profile and fix:
GERun: GErun command being run:
GERun: mpirun RMPISNOW
Loading required package: utils
Error: cannot add binding of '.MPIrun' to the base environment
Execution halted
and see https://stackoverflow.com/questions/68198277/error-cannot-add-binding-of-first-to-the-base-environment for reason and fix syntax.
This was reported on Kathleen, 2-node job. Was fixed by copying RMPISNOW and RMPISNOW_profile to user's home dir and modifying based on that link.
https://cran.r-project.org/doc/manuals/r-devel/NEWS.html
R 4.1.0 had
The base environment and its namespace are now locked (so one can no longer add bindings to these or remove from these).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.