Install RMPISNOW wrapper in prefix.bin for r-snow (#16479)
If using mpirun, the R sessions can be started with a wrapper script that helps set up the R session cluster. Put this wrapper in the PATH so it is easily accessible.
This commit is contained in:
parent
18e1e2424f
commit
9c218079f0
1 changed files with 5 additions and 0 deletions
|
@ -17,3 +17,8 @@ class RSnow(RPackage):
|
|||
version('0.4-2', sha256='ee070187aea3607c9ca6235399b3db3e181348692405d038e962e06aefccabd7')
|
||||
|
||||
depends_on('r@2.13.1:', type=('build', 'run'))
|
||||
|
||||
@run_after('install')
|
||||
def install_wrapper(self):
|
||||
mkdir(self.prefix.bin)
|
||||
install('inst/RMPISNOW', self.prefix.bin)
|
||||
|
|
Loading…
Reference in a new issue