[mpich-discuss] Porting MPICH

jhonatan alves jhonatanalves1 at gmail.com
Mon May 20 07:46:01 CDT 2013


Hello,
Today we will try the strategies proposed by you and see how it goes.

Thank you for helping


2013/5/19 Jeff Hammond <jhammond at alcf.anl.gov>

> Yeah, I would use the abort strategy to detect if MPICH is using
> thread-related functions in MPI_THREAD_SINGLE (ignoring
> MPICH_ASYNC_PROGRESS=1) and the noop implementation for practical
> purposes.
>
> Jeff
>
> On Sun, May 19, 2013 at 2:49 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:
> >
> > Thanks.  Yes, they can be mostly no-ops (except TLS checks which can be
> > any static variable since there's only one thread by definition).
> > Implementing them as "not-implemented" aborts might be OK too.
> >
> >  -- Pavan
> >
> > On 05/19/2013 02:43 PM US Central Time, Jeff Hammond wrote:
> >> Presumably those functions can be noops if no threads are going to be
> >> used.  Am I wrong?
> >>
> >> It might be worth implementing those functions as stubs that abort
> >> with UNIMPL error and see how far that goes.  I'll try to get to this
> >> later today.
> >>
> >> Jeff
> >>
> >> On Sun, May 19, 2013 at 2:36 PM, Pavan Balaji <balaji at mcs.anl.gov>
> wrote:
> >>>
> >>> On 05/19/2013 02:28 PM US Central Time, jhonatan alves wrote:
> >>>> But i believe that the missing of POSIX
> >>>> threads can be the most trouble part. So we need to port to the thread
> >>>> implementation in EPOS.
> >>>
> >>> Yup, I too believe that'll be the blocker.  MPICH supports multiple
> >>> threading packages, but currently requires at least one to function
> >>> correctly:
> >>>
> >>> https://trac.mpich.org/projects/mpich/ticket/231
> >>>
> >>> It's been a while since I looked into this issue, but I could look into
> >>> it if you are running into it for your platform.
> >>>
> >>>  -- Pavan
> >>>
> >>> --
> >>> Pavan Balaji
> >>> http://www.mcs.anl.gov/~balaji
> >>> _______________________________________________
> >>> discuss mailing list     discuss at mpich.org
> >>> To manage subscription options or unsubscribe:
> >>> https://lists.mpich.org/mailman/listinfo/discuss
> >>
> >>
> >>
> >
> > --
> > Pavan Balaji
> > http://www.mcs.anl.gov/~balaji
>
>
>
> --
> Jeff Hammond
> Argonne Leadership Computing Facility
> University of Chicago Computation Institute
> jhammond at alcf.anl.gov / (630) 252-5381
> http://www.linkedin.com/in/jeffhammond
> https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond
> ALCF docs: http://www.alcf.anl.gov/user-guides
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130520/92107aa2/attachment.html>


More information about the discuss mailing list