Re: [R] Using Fortran with MPI, RInside, and calling R functions

2016-02-27 Thread Erin Hodgess
Got it. thanks. On Sat, Feb 27, 2016 at 2:39 PM, peter dalgaard wrote: > Yeah, well, not much harm done, but once compilers are involved, r-devel > is usually preferred over r-help. > > -pd > > > On 27 Feb 2016, at 21:30 , Erin Hodgess wrote: > > > > Sorry...thought it was ok since it uses RI

Re: [R] Using Fortran with MPI, RInside, and calling R functions

2016-02-27 Thread peter dalgaard
Yeah, well, not much harm done, but once compilers are involved, r-devel is usually preferred over r-help. -pd > On 27 Feb 2016, at 21:30 , Erin Hodgess wrote: > > Sorry...thought it was ok since it uses RInside and Rcpp. > > > On Sat, Feb 27, 2016 at 2:15 PM, Jeff Newmiller > wrote: > >>

Re: [R] Using Fortran with MPI, RInside, and calling R functions

2016-02-27 Thread Erin Hodgess
Sorry...thought it was ok since it uses RInside and Rcpp. On Sat, Feb 27, 2016 at 2:15 PM, Jeff Newmiller wrote: > This is off topic here... wrong audience. Read the Posting Guide. > -- > Sent from my phone. Please excuse my brevity. > > On February 27, 2016 12:00:23 PM PST, Erin Hodgess < > er

Re: [R] Using Fortran with MPI, RInside, and calling R functions

2016-02-27 Thread Jeff Newmiller
This is off topic here... wrong audience. Read the Posting Guide. -- Sent from my phone. Please excuse my brevity. On February 27, 2016 12:00:23 PM PST, Erin Hodgess wrote: >Hello again. > >This time, I would like to add MPI to my Fortran program. Here are the >Fortran and C++ codes: > >prog

[R] Using Fortran with MPI, RInside, and calling R functions

2016-02-27 Thread Erin Hodgess
Hello again. This time, I would like to add MPI to my Fortran program. Here are the Fortran and C++ codes: program buzzy use iso_c_binding implicit none include '/opt/openmpi/include/mpif.h' integer :: rank,size,ierror,tag,status(MPI_STATUS_SIZE), i,np integer :: argc = 100