Re: [OMPI users] Newbie question continues, a step toward real app

2011-01-13 Thread Tena Sakai
Hi Gus, > Did you speak to the Rmpi author about this? No, I haven't, but here's what the author wrote: https://stat.ethz.ch/pipermail/r-sig-hpc/2009-February/000104.html in which he states: ...The way of spawning R slaves under LAM is not working any more under OpenMPI. Under LAM, one just

Re: [OMPI users] Newbie question continues, a step toward real app

2011-01-13 Thread Gus Correa
Tena Sakai wrote: Fantastic, Gus! Now I think I got framework pretty much done. The rest is to work on 'problem solving' end with R. Many thanks for your insight and kindness. I really appreciate it. Regards, Tena Sakai tsa...@gallo.ucsf.edu Hi Tena I'm glad that it helped somebody at the

Re: [OMPI users] Newbie question continues, a step toward real app

2011-01-13 Thread Tena Sakai
Fantastic, Gus! Now I think I got framework pretty much done. The rest is to work on 'problem solving' end with R. Many thanks for your insight and kindness. I really appreciate it. Regards, Tena Sakai tsa...@gallo.ucsf.edu On 1/13/11 2:40 PM, "Gus Correa" wrote: > Tena Sakai wrote: >> Hi,

Re: [OMPI users] Newbie question continues, a step toward real app

2011-01-13 Thread Gus Correa
Tena Sakai wrote: Hi, I have a script I call fib.r. It looks like: #!/usr/bin/env r fib <- function( n ) { a <- 0 b <- 1 for ( i in 1:n ) { t <- b b <- a a <- a + t

Re: [OMPI users] Error from mpirun command

2011-01-13 Thread Tena Sakai
Thank you, Hicham. I will check out bash man page. Tena Sakai tsa...@gallo.ucsf.edu On 1/13/11 12:38 PM, "Hicham Mouline" wrote: > I have some old memory of this where the .bashrc file and the .profile are > distinguishing login and non-login. > Also something to do with the - being an argume

[OMPI users] Newbie question continues, a step toward real app

2011-01-13 Thread Tena Sakai
Hi, I have a script I call fib.r. It looks like: #!/usr/bin/env r fib <- function( n ) { a <- 0 b <- 1 for ( i in 1:n ) { t <- b b <- a a <- a + t }

Re: [OMPI users] Error from mpirun command

2011-01-13 Thread Hicham Mouline
I have some old memory of this where the .bashrc file and the .profile are distinguishing login and non-login. Also something to do with the - being an argument to the bash process or something like this. man bash would give you a definite answer. rds, > -Original Message- > From: users-

Re: [OMPI users] Error from mpirun command

2011-01-13 Thread Tena Sakai
Thank you, Jeff. I just commented the stty line out and it doesn't seem to have any ill effect with interactive shells. I guess my stty erase ^\? was superfluous to begin with. I have hard time remembering which rc file invokes/chains what other rc file. Regards, Tena Sakai tsa...@gallo.ucsf

Re: [OMPI users] Error from mpirun command

2011-01-13 Thread Jeff Squyres
FWIW: you can typically put that kind of stuff in a portion of your .bashrc that is only invoked for interactive logins. I.e., the automated ssh's that OMPI's mpirun won't invoke those commands because they're non-interactive logins. I'm a tcsh user myself, so I don't know the appropriate mojo

Re: [OMPI users] can't use "--mca btl_openib_cpc_include xoob"

2011-01-13 Thread Shamis, Pavel
Please see the comments inline . When I use cmd "mpirun -host LB270210,CB060106,CB060107 -np 3 --mca btl openib,self,sm a_user.out" or "mpirun -host LB270210,CB060106,CB060107 -np 3 --mca btl openib,self,sm --mca btl_openib_cpc_include rdmacm a_user.out", will print correct result, but use cmd