PTL logo

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.
> 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