[R] Rmpi unable to load

Stephen Clark
Wed, 21 Aug 2013 12:18:41 -0000

Hello,

I am trying to run the optimise_ppso_robust parallel swarm optimisation function
in R3.0.0 on a 6 core AMD Windows 8 64bit PC. To do this I need to load the Rmpi
package. When I do this I get the following message in a dialogue box:

The program can't start because mpich2mpi.dll is missing from your computer.
Try installing the program to fix this problem.

Additionally in the R console it says:

Error : .onLoad failed in loadNamespace() for 'Rmpi', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/Program
Files/R/R-3.0.0/library/Rmpi/libs/x64/Rmpi.dll':
  LoadLibrary failure:  The specified module could not be found.

In addition: Warning message:
package 'Rmpi' was built under R version 3.0.1
Error: package or namespace load failed for 'Rmpi'

I have checked and there is a Rmpi.dll file in the specified directory.

To try and solve this problem I have tried installing mpich2 from here
http://www.mpich.org/downloads/ (both the Windows Team "version" and
the Jayesh Krishna "version"). I can then get the cpi.exe test program
running on multi-cores in a command windows.

Has anyone got package Rmpi to install under Windows 8 without my error messages
and how did they do this?

Thanks.

--
Stephen Clark,
Second year PhD,  School of Geography
Tel : 0113 343 6707
Email : gysc@leeds.ac.uk<mailto:gysc@leeds.ac.uk>
Web : http://www.geog.leeds.ac.uk/people/s.clark


	[[alternative HTML version deleted]]