vetter / shoc

The SHOC Benchmark Suite
Other
247 stars 102 forks source link

compile error on mac os x #11

Closed srinathv closed 11 years ago

srinathv commented 12 years ago

I could not fine a contact email or mailing list, so I'm posting to this issue list. I'm getting this compiler error:

/Users/srinath/bin/mpicxx -DPARALLEL -I../../../../src/common -I../../../../config -I/user/local/cuda/include -I../../../../src/opencl/common -I../../../../src/common -I../../../../src/mpi/common -g -O2 -c Stencil2Dmain.cpp -o Stencil2Dmain_mpi.o In file included from Stencil2Dmain.cpp:36: ../../../../src/mpi/common/MPIStencilUtil.cpp:37:13: error: use of undeclared identifier 'PrintValidationErrors' PrintValidationErrors( valResultStr, validationErrors, valErrPrintsRemaining ); ^ this-> Stencil2Dmain.cpp:367:50: note: in instantiation of member function 'MPIStencilValidater::ValidateResult' requested here StencilValidater* validater = new MPIStencilValidater; ^ In file included from Stencil2Dmain.cpp:23: In file included from ../../../../src/common/StencilUtil.cpp:1: ../../../../src/common/StencilUtil.h:23:10: note: must qualify identifier to find this declaration in dependent base class void PrintValidationErrors( std::ostream& s, ^ In file included from Stencil2Dmain.cpp:36: ../../../../src/mpi/common/MPIStencilUtil.cpp:37:13: error: no member named 'PrintValidationErrors' in 'MPIStencilValidater' PrintValidationErrors( valResultStr, validationErrors, valErrPrintsRemaining ); ^~~~~ Stencil2Dmain.cpp:367:50: note: in instantiation of member function 'MPIStencilValidater::ValidateResult' requested here StencilValidater* validater = new MPIStencilValidater; ^ In file included from Stencil2Dmain.cpp:33: ../../../../src/mpi/common/MPIHostStencil.cpp:58:13: error: use of undeclared identifier 'DumpData' DumpData( ofs, mtx, "before halo exchange" ); ^ this-> In file included from Stencil2Dmain.cpp:32: ../../../../src/mpi/common/MPIHostStencilFactory.cpp:20:16: note: in instantiation of member function 'MPIHostStencil::DoPreIterationWork' requested here return new MPIHostStencil( wCenter, ^ In file included from Stencil2Dmain.cpp:32: In file included from ../../../../src/mpi/common/MPIHostStencilFactory.cpp:4: In file included from ../../../../src/mpi/common/MPIHostStencil.h:7: ../../../../src/mpi/common/MPI2DGridProgram.h:106:10: note: must qualify identifier to find this declaration in dependent base class void DumpData( std::ostream& s, ^ In file included from Stencil2Dmain.cpp:33: ../../../../src/mpi/common/MPIHostStencil.cpp:60:9: error: use of undeclared identifier 'DoHaloExchange' DoHaloExchange( mtx ); ^ this-> In file included from Stencil2Dmain.cpp:32: In file included from ../../../../src/mpi/common/MPIHostStencilFactory.cpp:4: In file included from ../../../../src/mpi/common/MPIHostStencil.h:7: ../../../../src/mpi/common/MPI2DGridProgram.h:105:10: note: must qualify identifier to find this declaration in dependent base class void DoHaloExchange( Matrix2D& mtx ); ^ In file included from Stencil2Dmain.cpp:33: ../../../../src/mpi/common/MPIHostStencil.cpp:63:13: error: use of undeclared identifier 'DumpData' DumpData( ofs, mtx, "after halo exchange" ); ^ this-> In file included from Stencil2Dmain.cpp:32: In file included from ../../../../src/mpi/common/MPIHostStencilFactory.cpp:4: In file included from ../../../../src/mpi/common/MPIHostStencil.h:7: ../../../../src/mpi/common/MPI2DGridProgram.h:106:10: note: must qualify identifier to find this declaration in dependent base class void DumpData( std::ostream& s, ^ In file included from Stencil2Dmain.cpp:35: ./MPIOpenCLStencil.cpp:249:9: error: use of undeclared identifier 'DoHaloExchange' DoHaloExchange( mtx ); ^ this-> In file included from Stencil2Dmain.cpp:34: ./MPIOpenCLStencilFactory.cpp:39:16: note: in instantiation of member function 'MPIOpenCLStencil::DoPreIterationWork' requested here return new MPIOpenCLStencil( wCenter, ^ In file included from Stencil2Dmain.cpp:32: In file included from ../../../../src/mpi/common/MPIHostStencilFactory.cpp:4: In file included from ../../../../src/mpi/common/MPIHostStencil.h:7: ../../../../src/mpi/common/MPI2DGridProgram.h:105:10: note: must qualify identifier to find this declaration in dependent base class void DoHaloExchange( Matrix2D& mtx ); ^ In file included from Stencil2Dmain.cpp:35: ./MPIOpenCLStencil.cpp:65:9: error: use of undeclared identifier 'DoHaloExchange' DoHaloExchange( mtx ); ^ this-> In file included from Stencil2Dmain.cpp:34: ./MPIOpenCLStencilFactory.cpp:39:16: note: in instantiation of member function 'MPIOpenCLStencil::operator()' requested here return new MPIOpenCLStencil( wCenter, ^ In file included from Stencil2Dmain.cpp:32: In file included from ../../../../src/mpi/common/MPIHostStencilFactory.cpp:4: In file included from ../../../../src/mpi/common/MPIHostStencil.h:7: ../../../../src/mpi/common/MPI2DGridProgram.h:105:10: note: must qualify identifier to find this declaration in dependent base class void DoHaloExchange( Matrix2D& mtx ); ^ In file included from Stencil2Dmain.cpp:33: ../../../../src/mpi/common/MPIHostStencil.cpp:58:13: error: no member named 'DumpData' in 'MPIHostStencil' DumpData( ofs, mtx, "before halo exchange" ); ^~~~ In file included from Stencil2Dmain.cpp:32: ../../../../src/mpi/common/MPIHostStencilFactory.cpp:20:16: note: in instantiation of member function 'MPIHostStencil::DoPreIterationWork' requested here return new MPIHostStencil( wCenter, ^ In file included from Stencil2Dmain.cpp:33: ../../../../src/mpi/common/MPIHostStencil.cpp:60:9: error: no member named 'DoHaloExchange' in 'MPIHostStencil' DoHaloExchange( mtx ); ^~~~~~ ../../../../src/mpi/common/MPIHostStencil.cpp:63:13: error: no member named 'DumpData' in 'MPIHostStencil' DumpData( ofs, mtx, "after halo exchange" ); ^~~~ In file included from Stencil2Dmain.cpp:35: ./MPIOpenCLStencil.cpp:249:9: error: no member named 'DoHaloExchange' in 'MPIOpenCLStencil' DoHaloExchange( mtx ); ^~~~~~ In file included from Stencil2Dmain.cpp:34: ./MPIOpenCLStencilFactory.cpp:39:16: note: in instantiation of member function 'MPIOpenCLStencil::DoPreIterationWork' requested here return new MPIOpenCLStencil( wCenter, ^ In file included from Stencil2Dmain.cpp:35: ./MPIOpenCLStencil.cpp:65:9: error: no member named 'DoHaloExchange' in 'MPIOpenCLStencil' DoHaloExchange( mtx ); ^~~~~~ In file included from Stencil2Dmain.cpp:34: ./MPIOpenCLStencilFactory.cpp:39:16: note: in instantiation of member function 'MPIOpenCLStencil::operator()' requested here return new MPIOpenCLStencil( wCenter, ^ 12 errors generated.

Any help is appreciated.

rothpc commented 12 years ago

Srinath,

I'm sorry to hear you are having trouble with SHOC. Your email doesn't give us enough information to attempt to diagnose the problem, however.

Please give us more information about:

Please also tell us which version of SHOC you are trying to build.

As noted in the SHOC manual, SHOC wiki page, and in the SHOC configure script, the email address shoc-help@elist.ornl.gov can be used for questions or comments about SHOC.

Phil Roth

On Jul 16, 2012, at 12:55 , Srinath Vadlamani wrote:

I could not fine a contact email or mailing list, so I'm posting to this issue list. I'm getting this compiler error:

/Users/srinath/bin/mpicxx -DPARALLEL -I../../../../src/common -I../../../../config -I/user/local/cuda/include -I../../../../src/opencl/common -I../../../../src/common -I../../../../src/mpi/common -g -O2 -c Stencil2Dmain.cpp -o Stencil2Dmain_mpi.o In file included from Stencil2Dmain.cpp:36: ../../../../src/mpi/common/MPIStencilUtil.cpp:37:13: error: use of undeclared identifier 'PrintValidationErrors' PrintValidationErrors( valResultStr, validationErrors, valErrPrintsRemaining ); ^ this-> Stencil2Dmain.cpp:367:50: note: in instantiation of member function 'MPIStencilValidater::ValidateResult' requested here StencilValidater* validater = new MPIStencilValidater; ^ In file included from Stencil2Dmain.cpp:23: In file included from ../../../../src/common/StencilUtil.cpp:1: ../../../../src/common/StencilUtil.h:23:10: note: must qualify identifier to find this declaration in dependent base class void PrintValidationErrors( std::ostream& s, ^ In file included from Stencil2Dmain.cpp:36: ../../../../src/mpi/common/MPIStencilUtil.cpp:37:13: error: no member named 'PrintValidationErrors' in 'MPIStencilValidater' PrintValidationErrors( valResultStr, validationErrors, valErrPrintsRemaining ); ^~~~~ Stencil2Dmain.cpp:367:50: note: in instantiation of member function 'MPIStencilValidater::ValidateResult' requested here StencilValidater* validater = new MPIStencilValidater; ^ In file included from Stencil2Dmain.cpp:33: ../../../../src/mpi/common/MPIHostStencil.cpp:58:13: error: use of undeclared identifier 'DumpData' DumpData( ofs, mtx, "before halo exchange" ); ^ this-> In file included from Stencil2Dmain.cpp:32: ../../../../src/mpi/common/MPIHostStencilFactory.cpp:20:16: note: in instantiation of member function 'MPIHostStencil::DoPreIterationWork' requested here return new MPIHostStencil( wCenter, ^ In file included from Stencil2Dmain.cpp:32: In file included from ../../../../src/mpi/common/MPIHostStencilFactory.cpp:4: In file included from ../../../../src/mpi/common/MPIHostStencil.h:7: ../../../../src/mpi/common/MPI2DGridProgram.h:106:10: note: must qualify identifier to find this declaration in dependent base class void DumpData( std::ostream& s, ^ In file included from Stencil2Dmain.cpp:33: ../../../../src/mpi/common/MPIHostStencil.cpp:60:9: error: use of undeclared identifier 'DoHaloExchange' DoHaloExchange( mtx ); ^ this-> In file included from Stencil2Dmain.cpp:32: In file included from ../../../../src/mpi/common/MPIHostStencilFactory.cpp:4: In file included from ../../../../src/mpi/common/MPIHostStencil.h:7: ../../../../src/mpi/common/MPI2DGridProgram.h:105:10: note: must qualify identifier to find this declaration in dependent base class void DoHaloExchange( Matrix2D& mtx ); ^ In file included from Stencil2Dmain.cpp:33: ../../../../src/mpi/common/MPIHostStencil.cpp:63:13: error: use of undeclared identifier 'DumpData' DumpData( ofs, mtx, "after halo exchange" ); ^ this-> In file included from Stencil2Dmain.cpp:32: In file included from ../../../../src/mpi/common/MPIHostStencilFactory.cpp:4: In file included from ../../../../src/mpi/common/MPIHostStencil.h:7: ../../../../src/mpi/common/MPI2DGridProgram.h:106:10: note: must qualify identifier to find this declaration in dependent base class void DumpData( std::ostream& s, ^ In file included from Stencil2Dmain.cpp:35: ./MPIOpenCLStencil.cpp:249:9: error: use of undeclared identifier 'DoHaloExchange' DoHaloExchange( mtx ); ^ this-> In file included from Stencil2Dmain.cpp:34: ./MPIOpenCLStencilFactory.cpp:39:16: note: in instantiation of member function 'MPIOpenCLStencil::DoPreIterationWork' requested here return new MPIOpenCLStencil( wCenter, ^ In file included from Stencil2Dmain.cpp:32: In file included from ../../../../src/mpi/common/MPIHostStencilFactory.cpp:4: In file included from ../../../../src/mpi/common/MPIHostStencil.h:7: ../../../../src/mpi/common/MPI2DGridProgram.h:105:10: note: must qualify identifier to find this declaration in dependent base class void DoHaloExchange( Matrix2D& mtx ); ^ In file included from Stencil2Dmain.cpp:35: ./MPIOpenCLStencil.cpp:65:9: error: use of undeclared identifier 'DoHaloExchange' DoHaloExchange( mtx ); ^ this-> In file included from Stencil2Dmain.cpp:34: ./MPIOpenCLStencilFactory.cpp:39:16: note: in instantiation of member function 'MPIOpenCLStencil::operator()' requested here return new MPIOpenCLStencil( wCenter, ^ In file included from Stencil2Dmain.cpp:32: In file included from ../../../../src/mpi/common/MPIHostStencilFactory.cpp:4: In file included from ../../../../src/mpi/common/MPIHostStencil.h:7: ../../../../src/mpi/common/MPI2DGridProgram.h:105:10: note: must qualify identifier to find this declaration in dependent base class void DoHaloExchange( Matrix2D& mtx ); ^ In file included from Stencil2Dmain.cpp:33: ../../../../src/mpi/common/MPIHostStencil.cpp:58:13: error: no member named 'DumpData' in 'MPIHostStencil' DumpData( ofs, mtx, "before halo exchange" ); ^~~~ In file included from Stencil2Dmain.cpp:32: ../../../../src/mpi/common/MPIHostStencilFactory.cpp:20:16: note: in instantiation of member function 'MPIHostStencil::DoPreIterationWork' requested here return new MPIHostStencil( wCenter, ^ In file included from Stencil2Dmain.cpp:33: ../../../../src/mpi/common/MPIHostStencil.cpp:60:9: error: no member named 'DoHaloExchange' in 'MPIHostStencil' DoHaloExchange( mtx ); ^~~~~~ ../../../../src/mpi/common/MPIHostStencil.cpp:63:13: error: no member named 'DumpData' in 'MPIHostStencil' DumpData( ofs, mtx, "after halo exchange" ); ^~~~ In file included from Stencil2Dmain.cpp:35: ./MPIOpenCLStencil.cpp:249:9: error: no member named 'DoHaloExchange' in 'MPIOpenCLStencil' DoHaloExchange( mtx ); ^~~~~~ In file included from Stencil2Dmain.cpp:34: ./MPIOpenCLStencilFactory.cpp:39:16: note: in instantiation of member function 'MPIOpenCLStencil::DoPreIterationWork' requested here return new MPIOpenCLStencil( wCenter, ^ In file included from Stencil2Dmain.cpp:35: ./MPIOpenCLStencil.cpp:65:9: error: no member named 'DoHaloExchange' in 'MPIOpenCLStencil' DoHaloExchange( mtx ); ^~~~~~ In file included from Stencil2Dmain.cpp:34: ./MPIOpenCLStencilFactory.cpp:39:16: note: in instantiation of member function 'MPIOpenCLStencil::operator()' requested here return new MPIOpenCLStencil( wCenter, ^ 12 errors generated.

Any help is appreciated.


Reply to this email directly or view it on GitHub: https://github.com/spaffy/shoc/issues/11

Philip C. Roth | +1 865 241-1543 | http://ft.ornl.gov/~rothpc

kspaff commented 11 years ago

Closing old issue