From: Ð¯Ð½Ð° Ð¡ÐµÐ´Ð¾Ð²Ð° (y.a.sedova_at_[hidden])
Date: 2011-12-06 00:34:32
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