Re: [OMPI users] Fortran vs C reductions

2016-02-08 Thread Brian Taylor
On Mon, Feb 8, 2016 at 12:31 AM, Jeff Hammond wrote: > >> > BTW: is there a reason you don't want to just use the C datatypes? The >> fundamental output of the index is an integer value -- casting it to a >> float of some flavor doesn't fundamentally change its value. >> >> The code in question

Re: [OMPI users] Fortran vs C reductions

2016-02-07 Thread Brian Taylor
On Sun, Feb 7, 2016 at 8:29 AM, Jeff Squyres (jsquyres) wrote: > > On Feb 4, 2016, at 9:46 PM, Brian Taylor wrote: > > > > Thanks for the explanation, Jeff. I'm not surprised to hear that using a Fortran type from C in this manner is potentially buggy and not portable.

Re: [OMPI users] Fortran vs C reductions

2016-02-04 Thread Brian Taylor
On Thu, Feb 4, 2016 at 12:28 PM, Jeff Squyres (jsquyres) wrote: > > On Feb 4, 2016, at 12:02 PM, Brian Taylor wrote: > > > > I have a question about the standards compliance of OpenMPI. Is the following program valid according to the MPI standard? > > > > #incl

[OMPI users] Fortran vs C reductions

2016-02-04 Thread Brian Taylor
I have a question about the standards compliance of OpenMPI. Is the following program valid according to the MPI standard? #include #include int main(int argc, char **argv) { int rank; double in[2], out[2]; MPI_Init(&argc, &argv); MPI_Comm_rank(MPI_COMM_WORLD, &rank); in[1] = in[0]

Re: [OMPI users] Processor affinitiy

2008-04-28 Thread Brian Taylor
; > > > On Apr 28, 2008, at 4:30 PM, Brian Taylor wrote: > > > Actually, there is an unofficial processor affinity API on Mac OS X, > > but it is supplied only with the CHUD framework. I suppose as a > > further barrier to using this API in code outside of App

Re: [OMPI users] Processor affinitiy

2008-04-28 Thread Brian Taylor
Actually, there is an unofficial processor affinity API on Mac OS X, but it is supplied only with the CHUD framework. I suppose as a further barrier to using this API in code outside of Apple, the header files for this API are only available with the standalone CHUD installer. See: http://lists.a