Skip to content

MPI and RMPISNOW alterations for R 4.1.1 #458

Open
@heatherkellyucl

Description

@heatherkellyucl

IN: 04932896

  1. 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.

  1. 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).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions