Git Product home page Git Product logo

mpi-roll's People

Contributors

jerrypgreenberg avatar jjhayes avatar mahidhar avatar masonkatz avatar tcooper avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

temcom

mpi-roll's Issues

MCA ras: tm

Hello,

I came across your post - http://borisv.lk.net/howtos/grid-mpi-r-howto.html
I have managed to get R running on Rocks 7 and now I am stuck at following stage - did anyone face this problem? If yes then did anyone ever solve it?

Basically only one host is being used to spawn the slaves.

I get this result for the given code.

Code - 1
detectCores.R script

library(Rmpi)
library('parallel')
cl <- makeCluster(2,type="MPI")
clusterCall(cl, function() Sys.info()[c("nodename","machine")])
stopCluster(cl)
mpi.quit()

Result -
[root@front rolltests]# Rscript detectCores.R
2 slaves are spawned successfully. 0 failed.
[[1]]
nodename machine
"front.attr1.kw" "x86_64"

[[2]]
nodename machine
"front.attr1.kw" "x86_64"

Code 2
detectCores.R script
library(Rmpi)
library('parallel')
n.cores <- mpi.universe.size()
cl <- makeCluster(n.cores, type='MPI')
result <- parLapply(cl, 1:n.cores,
function (i) {system2('hostname', stdout=TRUE)})
summary(factor(unlist(result)))
stopCluster(cl)
mpi.quit()

Result -
[root@front rolltests]# Rscript detectCores.R
1 slaves are spawned successfully. 0 failed.
front.attr1.kw
1

I also came across this post - is this related?

https://stackoverflow.com/questions/30470443/initialize-mpi-cluster-using-rmpi

It will be great help if someone could guide me in the right direction.

Fortran 77 libraries

configure:5469: WARNING: compilation failed
configure:5475: result:
configure:5477: checking for Fortran 77 libraries of gfortran
configure:5500: gfortran -o conftest -O2 -g conftest.f
configure: line 5505: gfortran: command not found
configure:5696: result:
configure:5713: checking for dummy main to link with Fortran 77 libraries
configure:5747: gcc -o conftest -O2 -g conftest.c >&5
configure:5747: $? = 0
configure:5792: result: none
configure:5825: checking for Fortran 77 name-mangling scheme
configure:5838: gfortran -c -O2 -g conftest.f >&5
configure: line 1758: gfortran: command not found
configure:5838: $? = 127
configure: failed program was:
| subroutine foobar()
| return
| end
| subroutine foo_bar()
| return
| end
configure:5971: error: in `/root/installer/rolls/hdf-roll/BUILD/sdsc-hdf4_gnu-2.14/hdf-4.2.14':
configure:5973: error: cannot compile a simple Fortran program

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.