From: Ben Martin (benjmart_at_[hidden])
Date: 2011-12-05 23:58:35
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.
> 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