Hi, Dear Sir or Madam,
I am testing your MPI benchmark 4.0 on my computer. but the following error occurred when building IMB-IO.EXE,
1 IntelliSense: expected an identifier d:\dingjun\openmp_mpi_hybrid\imb-4.0-beta\imb\4.0.0\src\imb_benchmark.h 127 2 IMB-IO
2 IntelliSense: expected an identifier d:\dingjun\openmp_mpi_hybrid\imb-4.0-beta\imb\4.0.0\src\imb_benchmark.h 128 2 IMB-IO
the corresponding source codes are follows:
#ifdef MPIIO
{
MPI_Offset Offset;
switch(fpos)
{
case indv_block:
Offset = (MPI_Offset)(j_sample*totlen);
break;
case explicit:
Offset = c_info->split.Offset+(MPI_Offset)(j_sample*totlen);
break;
case private:
Offset = (MPI_Offset)(j_sample*loclen);
break;
case shared:
Offset = (MPI_Offset)(-1);
break;
}
#ifdef MPIIO
typedef enum
{
nothing=-1,
private,
explicit,
indv_block,
indv_cyclic,
shared
} POSITIONING
the C++ keywords "private" and " explicit" used as variables so that the MS visual studio failed to build the executable file. Please tell me how to handle this situation. Thanks and I look forward to hearing from you.