Coder Social home page Coder Social logo

compile error on mac os x about shoc HOT 2 CLOSED

vetter avatar vetter commented on August 20, 2024
compile error on mac os x

from shoc.

Comments (2)

rothpc avatar rothpc commented on August 20, 2024

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:

  • which MPI implementation you are using (including version)
  • which underlying compiler your MPI uses (including version)
  • which version of CUDA you are using
  • which version of OS X you are using.

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 [email protected] 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

from shoc.

kspaff avatar kspaff commented on August 20, 2024

Closing old issue

from shoc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.