[petsc-dev] Extra String with new BuildSystem

Chekuri Choudary cchoudary at rnet-tech.com
Wed Nov 7 10:33:51 CST 2012


I have a custom vector type in a folder /src/vec/vec/impls/seq/seqgpu. With
the new BuildSystem, when I do a configure, I get an extra string
"VecSetValues_SeqGPU " in the automatically generated file
/src/vec/vec/impls/seq/seqgpu/ftn-auto/vecgpuf.c as shown below. This issue
did not occur  with previous BuildSystems. Please also find the header file
attached. I was wondering if I am doing something wrong or if something in
the BuildSystem has changed. Any help is greatly appreciated.

 

#if defined(__cplusplus)

extern "C" {

#endif

void PETSC_STDCALL VecSetValues_SeqGPU vecsetvalues_(Vec x,PetscInt *ni,
PetscInt ix[], PetscScalar y[],InsertMode *iora, int *__ierr ){

*__ierr = VecSetValues(

        (Vec)PetscToPointer((x) ),*ni,ix,y,*iora);

}

#if defined(__cplusplus)

}

#endif

 

Thanks

Shiva

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121107/ee1d3193/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gpuvecimpl.h
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121107/ee1d3193/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile
Type: application/octet-stream
Size: 321 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121107/ee1d3193/attachment.obj>


More information about the petsc-dev mailing list