[petsc-dev] Petsc Make error

Jeswin Godwin jeswingodwin at gmail.com
Tue May 31 12:46:14 CDT 2011


Hey Satish,

I am student from Ohio state university working under prof Sadayappan,

I got an error while making petsc while compiling this file sacusppoly.cu.


nvcc -arch=sm_13 -c --compiler-options=-Wall -Wwrite-strings
-Wno-strict-aliasing -Wno-unknown-pragmas -g3
-I/home/balay/petsc-dev/include
-I/home/balay/petsc-dev/arch-cuda-double/include
-I/usr/local/cuda/include -I/home/balay/petsc-dev/include/mpiuni
-D__INSDIR__=src/ksp/pc/impls/sacusp/ sacusp.cu sacusppoly.cu
/usr/local/cuda/bin/../include/cusp/precond/detail/smoothed_aggregation.inl(374):
error: class "cusp::relaxation::polynomial<PetscScalar,
cusp::device_memory>" has no member "presmooth"
          detected during:
            instantiation of "void
cusp::precond::smoothed_aggregation<IndexType, ValueType,
MemorySpace>::_solve(const cusp::array1d<T, Alloc> &, cusp::array1d<T,
Alloc> &, size_t) [with IndexType=PetscInt, ValueType=PetscScalar,
MemorySpace=cusp::device_memory]"
(334): here
            instantiation of "void
cusp::precond::smoothed_aggregation<IndexType, ValueType,
MemorySpace>::solve(const cusp::array1d<T, Alloc> &, cusp::array1d<T,
Alloc> &, Monitor &) [with IndexType=PetscInt, ValueType=PetscScalar,
MemorySpace=cusp::device_memory,
Monitor=cusp::default_monitor<PetscScalar>]" sacusppoly.cu(90): here

/usr/local/cuda/bin/../include/cusp/precond/detail/smoothed_aggregation.inl(391):
error: class "cusp::relaxation::polynomial<PetscScalar,
cusp::device_memory>" has no member "postsmooth"
          detected during:
            instantiation of "void
cusp::precond::smoothed_aggregation<IndexType, ValueType,
MemorySpace>::_solve(const cusp::array1d<T, Alloc> &, cusp::array1d<T,
Alloc> &, size_t) [with IndexType=PetscInt, ValueType=PetscScalar,
MemorySpace=cusp::device_memory]"
(334): here
            instantiation of "void
cusp::precond::smoothed_aggregation<IndexType, ValueType,
MemorySpace>::solve(const cusp::array1d<T, Alloc> &, cusp::array1d<T,
Alloc> &, Monitor &) [with IndexType=PetscInt, ValueType=PetscScalar,
MemorySpace=cusp::device_memory,
Monitor=cusp::default_monitor<PetscScalar>]" sacusppoly.cu(90): here

2 errors detected in the compilation of
"/tmp/tmpxft_0000454b_00000000-16_sacusppoly.cpp1.ii".
/usr/bin/ar: sacusppoly.o: No such file or directory


Can you let me know how to get around this.


Jeswin Godwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110531/e73a86ea/attachment.html>


More information about the petsc-dev mailing list