PTL logo

From: Linux .. (tunlin05_at_[hidden])
Date: 2015-12-26 03:34:49


Hello Sir,

I am using CentOS 7 with openMPI.
I have some error to install mpi.net.

I apply the patches with the following three commands:

    patch MPI/Unsafe.pl < Unsafe.pl.patch

Downloaded this patch from --->
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-cluster/mpi-dotnet/files/?hideattic=0

After configuring mpi.net, I do write make command.

In this section we have error :

CustomUnsafe.cs
CustomUnsafe.cs(112,41): error CS1525: Unexpected symbol `;'
CustomUnsafe.cs(3238,12): error CS1525: Unexpected symbol `switch'
CustomUnsafe.cs(3240,16): error CS1525: Unexpected symbol `case'
CustomUnsafe.cs(3287,1): error CS8025: Parsing error
Compilation failed: 4 error(s), 0 warnings

Please help me, how to fix it sir.

Best Regard
TunLin

----------------------------------------------------------------------------------------------------------------------------

Making all in MPIUtils
make[1]: Entering directory `/root/Desktop/MPI.NET-master (2)/MPIUtils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/MPI.NET-master (2)/MPIUtils'
Making all in MPI
make[1]: Entering directory `/root/Desktop/MPI.NET-master (2)/MPI'
/usr/bin/gmcs -out:MPI.dll -unsafe -target:library -lib:../MPIUtils
-reference:MPIUtils -optimize+ -define:BROKEN_IL_EMIT
-define:BROKEN_NULL_DELEGATE -define:MPI_HANDLES_ARE_POINTERS
-keyfile:./MPI.snk ./Attribute.cs ./CartesianCommunicator.cs
./Communicator.cs ./Comparison.cs ./DatatypeCache.cs ./Environment.cs
./Exceptions.cs ./GraphCommunicator.cs ./Group.cs
./Intercommunicator.cs ./Intracommunicator.cs ./Operation.cs
./Request.cs ./RequestList.cs ./Status.cs ./TagAllocator.cs
./TopologicalCommunicator.cs ./UnmanagedMemoryStream.cs
CustomUnsafe.cs
CustomUnsafe.cs(112,41): error CS1525: Unexpected symbol `;'
CustomUnsafe.cs(3238,12): error CS1525: Unexpected symbol `switch'
CustomUnsafe.cs(3240,16): error CS1525: Unexpected symbol `case'
CustomUnsafe.cs(3287,1): error CS8025: Parsing error
Compilation failed: 4 error(s), 0 warnings
make[1]: *** [MPI.dll] Error 1
make[1]: Leaving directory `/root/Desktop/MPI.NET-master (2)/MPI'
make: *** [all-recursive] Error 1