search for: mpihelloworld

Displaying 1 result from an estimated 1 matches for "mpihelloworld".

2009 Nov 26
2
little "r" cannot find packages
Dear All I want to use R, Rscript und r alternately under one common configuration. The problem is that \"r\" can't find the package \"Rmpi\" and other packages whereas \"R\" has no problem to find. $ R --vanilla < mpiHelloWorld.r #!/usr/bin/env r library(Rmpi) # calls MPI_Init rk <- mpi.comm.rank(0) sz <- mpi.comm.size(0) name <- mpi.get.processor.name() cat( \"Hello, rank \" , rk, \"size\", sz, \"on\", name, \"\\n\") Hello, rank 0 size 1 on lenny157 # ok. $ Rscrip...