PTL logo

From: Яна Седова (y.a.sedova_at_[hidden])
Date: 2011-12-07 01:48:06


Thank you!

07 декабря 2011, 01:18 от Ben Martin <benjmart_at_[hidden]>:
> As of this moment, I believe so. (Well, or it seems to work with Mono
> under Linux as well for both 2.0 and 4.0, though I don't know that it
> SHOULD.) I will try to fix this problem though, as well so that we can
> run under 4.0 safely.
>
> Ben Martin
>
> Яна Седова wrote:
> > So, the only way to handle this is to use .NET 2.0?
> >
> >
> > 06 декабря 2011, 08:58 от Ben Martin <benjmart_at_[hidden]>:
> >
> >> Interesting. I tested it with .NET 2.0 under Windows, and with Mono on
> >> Linux (for both 2.0 and 4.0). It worked fine on all of those. Since
> >>
> >> System.TypeAccessException appears to be new under 4.0, it would seem it is an issue to do with .NET 4.0.
> >>
> >> Яна Седова wrote:
> >>
> >>> Unfortunately this code doesn't work in my computer at all :(. The error message is "System.TypeAccessException was unhandled
> >>> Message=Attempt by method 'DynamicClass.max:Thing(Thing, Thing)' to access type 'Thing' failed.
> >>> Source=MPI
> >>> TypeName=""
> >>> StackTrace:
> >>> at max:Thing(Thing , Thing )
> >>> at MPI.Communicator.Reduce_impl[T](Boolean isRoot, Int32 size, T value, ReductionOperation`1 op, Int32 root)
> >>> at MPI.Intracommunicator.Reduce[T](T value, ReductionOperation`1 op, Int32 root)
> >>> at MPI.Intracommunicator.Allreduce[T](T value, ReductionOperation`1 op)
> >>> at Allreduce.Main(String[] args) in C:\Documents and Settings\1\мои документы\visual studio 2010\Projects\mpi\mpi\Program.cs:line 31
> >>> InnerException: "
> >>>
> >>> _______________________________________________
> >>> mpi.net mailing list
> >>> mpi.net_at_[hidden]
> >>> http://www.osl.iu.edu/mailman/listinfo.cgi/mpi.net
> >>>
> >>
> >
> > _______________________________________________
> > mpi.net mailing list
> > mpi.net_at_[hidden]
> > http://www.osl.iu.edu/mailman/listinfo.cgi/mpi.net
>
>