sieve-dev Errors Compiling examples - Petsc-dev with Sieve
Pedro Juan Torres Lopez
torres.pedrozpk at gmail.com
Thu Sep 24 22:52:06 CDT 2009
Hi,
I`m trying to test Sieve library, but compiling some examples in the
directory PETSC_DIR/src/dm/mesh/examples/tutorials I have got the errors
bellow, . Is there anything wrong with my configurations??. I send attached
my configure.log.
Thanks in advance.
Best Regards
Pedro
-----------------------------------------------------------------------------
Configuration:
./config/configure.py --with-clanguage=cxx --with-boost=1
--download-boost=/opt/petsc/boost.tar.gz --with-parmetis=yes
--download-parmetis=/home/ptorres/soft/ParMetis-dev-p3.tar.gz
--with-mpich-dir=/etc/mpich2 --download-f-blas-lapack=ifneeded
make ex2
mpicxx -o ex2.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -g
-I/opt/petsc/petsc-dev/src/dm/mesh/sieve
-I/opt/petsc/petsc-dev/externalpackages/Boost/ -I/usr/include
-I/opt/petsc/petsc-dev/linux-gnu-c-debug/include
-I/opt/petsc/petsc-dev/include -I/usr/include
-I/opt/petsc/petsc-dev/linux-gnu-c-debug/include
-I/opt/petsc/petsc-dev/externalpackages/Boost/
-D__SDIR__="src/dm/mesh/examples/tutorials/" ex2.c
ex2.c:19:24: erro: Generator.hh: Arquivo ou diretório inexistente
No arquivo incluÃdo de ex2.c:20:
/opt/petsc/petsc-dev/include/petscmesh.h:7:19: erro: Mesh.hh: Arquivo ou
diretório inexistente
/opt/petsc/petsc-dev/include/petscmesh.h:8:29: erro: CartesianSieve.hh:
Arquivo ou diretório inexistente
/opt/petsc/petsc-dev/include/petscmesh.h:9:27: erro: Distribution.hh:
Arquivo ou diretório inexistente
ex2.c:22:38: erro: ../src/dm/mesh/meshpcice.h: Arquivo ou diretório
inexistente
In file included from ex2.c:20:
/opt/petsc/petsc-dev/include/petscmesh.h:108: erro: âALEâ has not been
declared
/opt/petsc/petsc-dev/include/petscmesh.h:108: erro: expected â,â or â...â
before â<â token
/opt/petsc/petsc-dev/include/petscmesh.h:109: erro: expected â,â or â...â
before â::â token
/opt/petsc/petsc-dev/include/petscmesh.h:109: erro: ISO C++ forbids
declaration of âALEâ with no type
/opt/petsc/petsc-dev/include/petscmesh.h:121: erro: expected â,â or â...â
before â::â token
/opt/petsc/petsc-dev/include/petscmesh.h:121: erro: ISO C++ forbids
declaration of âALEâ with no type
/opt/petsc/petsc-dev/include/petscmesh.h:122: erro: expected â,â or â...â
before â::â token
/opt/petsc/petsc-dev/include/petscmesh.h:122: erro: ISO C++ forbids
declaration of âALEâ with no type
/opt/petsc/petsc-dev/include/petscmesh.h:123: erro: expected â,â or â...â
before â::â token
/opt/petsc/petsc-dev/include/petscmesh.h:123: erro: ISO C++ forbids
declaration of âALEâ with no type
/opt/petsc/petsc-dev/include/petscmesh.h:124: erro: expected â,â or â...â
before â::â token
/opt/petsc/petsc-dev/include/petscmesh.h:124: erro: ISO C++ forbids
declaration of âALEâ with no type
/opt/petsc/petsc-dev/include/petscmesh.h:147: erro: âALEâ has not been
declared
/opt/petsc/petsc-dev/include/petscmesh.h:147: erro: expected â,â or â...â
before â<â token
/opt/petsc/petsc-dev/include/petscmesh.h:148: erro: expected â,â or â...â
before â::â token
/opt/petsc/petsc-dev/include/petscmesh.h:148: erro: ISO C++ forbids
declaration of âALEâ with no type
/opt/petsc/petsc-dev/include/petscmesh.h:169: erro: âALEâ has not been
declared
/opt/petsc/petsc-dev/include/petscmesh.h:169: erro: expected â,â or â...â
before â<â token
/opt/petsc/petsc-dev/include/petscmesh.h:170: erro: expected â,â or â...â
before â::â token
/opt/petsc/petsc-dev/include/petscmesh.h:170: erro: ISO C++ forbids
declaration of âALEâ with no type
/opt/petsc/petsc-dev/include/petscmesh.h:171: erro: âALEâ has not been
declared
/opt/petsc/petsc-dev/include/petscmesh.h:171: erro: expected â,â or â...â
before â<â token
/opt/petsc/petsc-dev/include/petscmesh.h:172: erro: expected â,â or â...â
before â::â token
/opt/petsc/petsc-dev/include/petscmesh.h:172: erro: ISO C++ forbids
declaration of âALEâ with no type
/opt/petsc/petsc-dev/include/petscmesh.h:234: erro: âALEâ has not been
declared
/opt/petsc/petsc-dev/include/petscmesh.h:234: erro: expected â,â or â...â
before â<â token
/opt/petsc/petsc-dev/include/petscmesh.h:235: erro: expected â,â or â...â
before â::â token
/opt/petsc/petsc-dev/include/petscmesh.h:235: erro: ISO C++ forbids
declaration of âALEâ with no type
/opt/petsc/petsc-dev/include/petscmesh.h:236: erro: âALEâ has not been
declared
/opt/petsc/petsc-dev/include/petscmesh.h:236: erro: expected â,â or â...â
before â<â token
/opt/petsc/petsc-dev/include/petscmesh.h:237: erro: expected â,â or â...â
before â::â token
/opt/petsc/petsc-dev/include/petscmesh.h:237: erro: ISO C++ forbids
declaration of âALEâ with no type
ex2.c:24: erro: âALEâ has not been declared
ex2.c:42: erro: expected â,â or â...â before â<â token
ex2.c:42: erro: ISO C++ forbids declaration of âObjâ with no type
ex2.c:43: erro: expected â,â or â...â before â<â token
ex2.c:43: erro: ISO C++ forbids declaration of âObjâ with no type
ex2.c: In function âint main(int, char**)â:
ex2.c:76: erro: expected type-specifier before âALEâ
ex2.c:76: erro: expected `)' before â::â token
ex2.c:76: erro: expected `{' before â::â token
ex2.c:76: erro: â::Exceptionâ has not been declared
ex2.c:76: erro: expected `;' before âeâ
ex2.c: At global scope:
ex2.c:137: erro: expected â,â or â...â before â::â token
ex2.c:137: erro: ISO C++ forbids declaration of âALEâ with no type
ex2.c: In function âPetscErrorCode CreateSquareBoundary(int)â:
ex2.c:148: erro: âALEâ is not a class or namespace
ex2.c:148: erro: expected initializer before âpatchâ
ex2.c:151: erro: âALEâ is not a class or namespace
ex2.c:151: erro: expected `;' before âverticesâ
ex2.c:152: erro: expected initializer before â<â token
ex2.c:153: erro: expected initializer before â<â token
ex2.c:156: erro: âmeshâ was not declared in this scope
ex2.c:157: erro: âALEâ is not a class or namespace
ex2.c:157: erro: expected `;' before âedgeâ
ex2.c:161: erro: âverticesâ was not declared in this scope
ex2.c:161: erro: âALEâ is not a class or namespace
ex2.c:164: erro: âedgeâ was not declared in this scope
ex2.c:164: erro: âALEâ is not a class or namespace
ex2.c:165: erro: âsieveâ was not declared in this scope
ex2.c:165: erro: âverticesâ was not declared in this scope
ex2.c:168: erro: âedgeâ was not declared in this scope
ex2.c:168: erro: âALEâ is not a class or namespace
ex2.c:169: erro: âsieveâ was not declared in this scope
ex2.c:169: erro: âverticesâ was not declared in this scope
ex2.c:171: erro: âALEâ is not a class or namespace
ex2.c:174: erro: âALEâ is not a class or namespace
ex2.c:177: erro: âALEâ is not a class or namespace
ex2.c:181: erro: âsieveâ was not declared in this scope
ex2.c:182: erro: âtopologyâ was not declared in this scope
ex2.c:182: erro: âpatchâ was not declared in this scope
ex2.c:184: erro: âmeshâ was not declared in this scope
ex2.c:185: erro: âALEâ is not a class or namespace
ex2.c:185: erro: âALEâ is not a class or namespace
ex2.c:185: erro: â::buildCoordinatesâ has not been declared
ex2.c:187: erro: expected initializer before â<â token
ex2.c:191: erro: âmarkersâ was not declared in this scope
ex2.c:194: erro: âmarkersâ was not declared in this scope
ex2.c: At global scope:
ex2.c:213: erro: expected â,â or â...â before â::â token
ex2.c:213: erro: ISO C++ forbids declaration of âALEâ with no type
ex2.c: In function âPetscErrorCode CreateMeshBoundary(MPI_Comm, _p_Mesh**,
Options*)â:
ex2.c:347: erro: âObjâ was not declared in this scope
ex2.c:347: erro: âALEâ has not been declared
ex2.c:347: erro: âmâ was not declared in this scope
ex2.c:355: erro: expected initializer before â<â token
ex2.c:356: erro: expected initializer before â<â token
ex2.c:357: erro: expected initializer before â<â token
ex2.c:358: erro: expected initializer before â<â token
ex2.c:360: erro: âALEâ has not been declared
ex2.c:360: erro: expected `;' before âv_iterâ
ex2.c:360: erro: âv_iterâ was not declared in this scope
ex2.c:360: erro: âverticesâ was not declared in this scope
ex2.c:361: erro: âtopologyâ was not declared in this scope
ex2.c:361: erro: âmarkersâ was not declared in this scope
ex2.c:363: erro: âALEâ has not been declared
ex2.c:363: erro: expected `;' before âe_iterâ
ex2.c:363: erro: âe_iterâ was not declared in this scope
ex2.c:363: erro: âedgesâ was not declared in this scope
ex2.c:364: erro: âtopologyâ was not declared in this scope
ex2.c:364: erro: âmarkersâ was not declared in this scope
ex2.c:373: erro: âALEâ has not been declared
ex2.c:375: erro: expected type-specifier before âALEâ
ex2.c:375: erro: expected `;' before âALEâ
ex2.c: In function âPetscErrorCode CreateMesh(_p_Mesh*, _p_Mesh**,
Options*)â:
ex2.c:393: erro: âObjâ was not declared in this scope
ex2.c:393: erro: âALEâ has not been declared
ex2.c:393: erro: âmâ was not declared in this scope
ex2.c:397: erro: âALEâ has not been declared
ex2.c:397: erro: expected `;' before âstageâ
ex2.c:398: erro: âALEâ has not been declared
ex2.c:398: erro: âstageâ was not declared in this scope
ex2.c:402: erro: âALEâ has not been declared
ex2.c:404: erro: expected initializer before â<â token
ex2.c:405: erro: âtopologyâ was not declared in this scope
ex2.c: In function âPetscErrorCode DistributeMesh(_p_Mesh**, Options*)â:
ex2.c:424: erro: âALEâ has not been declared
ex2.c:424: erro: expected `;' before âstageâ
ex2.c:425: erro: âALEâ has not been declared
ex2.c:425: erro: âstageâ was not declared in this scope
ex2.c:428: erro: cannot convert â_p_Mesh**â to âconst char*â for argument
â2â to âPetscErrorCode MeshDistribute(_p_Mesh*, const char*, _p_Mesh**)â
ex2.c:434: erro: âALEâ has not been declared
ex2.c: In function âPetscErrorCode RefineMesh(_p_Mesh**, Options*)â:
ex2.c:450: erro: âALEâ has not been declared
ex2.c:450: erro: expected `;' before âstageâ
ex2.c:451: erro: âALEâ has not been declared
ex2.c:451: erro: âstageâ was not declared in this scope
ex2.c:460: erro: âALEâ has not been declared
ex2.c: In function âPetscErrorCode OutputVTK(_p_Mesh*, Options*)â:
ex2.c:475: erro: âALEâ has not been declared
ex2.c:475: erro: expected `;' before âstageâ
ex2.c:476: erro: âALEâ has not been declared
ex2.c:476: erro: âstageâ was not declared in this scope
ex2.c:494: erro: âALEâ has not been declared
ex2.c: In function âPetscErrorCode CreatePartition(_p_Mesh*)â:
ex2.c:504: erro: âObjâ was not declared in this scope
ex2.c:504: erro: âALEâ has not been declared
ex2.c:504: erro: âmâ was not declared in this scope
ex2.c:509: erro: âALE_LOG_EVENT_BEGINâ was not declared in this scope
ex2.c:510: erro: invalid conversion from âintâ to âconst char*â
ex2.c:510: erro: invalid conversion from â_p_SectionInt**â to âPetscIntâ
/opt/petsc/petsc-dev/include/petscmesh.h:254: erro: too few arguments to
function âPetscErrorCode MeshGetCellSectionInt(_p_Mesh*, const char*,
PetscInt, _p_SectionInt**)â
ex2.c:510: erro: at this point in file
ex2.c:514: erro: âALEâ has not been declared
ex2.c:514: erro: expected initializer before âpatchâ
ex2.c:515: erro: expected initializer before â<â token
ex2.c:516: erro: expected initializer before â<â token
ex2.c:517: erro: âALEâ has not been declared
ex2.c:517: erro: expected initializer before âendâ
ex2.c:518: erro: âALEâ has not been declared
ex2.c:518: erro: expected initializer before ârankâ
ex2.c:520: erro: âALEâ has not been declared
ex2.c:520: erro: expected `;' before âc_iterâ
ex2.c:520: erro: âc_iterâ was not declared in this scope
ex2.c:520: erro: âendâ was not declared in this scope
ex2.c:521: erro: ârankâ was not declared in this scope
ex2.c:524: erro: âALE_LOG_EVENT_ENDâ was not declared in this scope
make: [ex2.o] Erro 1 (ignorado)
mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -g -o ex2 ex2.o
-Wl,-rpath,/opt/petsc/petsc-dev/linux-gnu-c-debug/lib
-L/opt/petsc/petsc-dev/linux-gnu-c-debug/lib -lpetscdm -lpetscmat -lpetscvec
-lpetsc -lX11 -Wl,-rpath,/opt/petsc/petsc-dev/linux-gnu-c-debug/lib
-L/opt/petsc/petsc-dev/linux-gnu-c-debug/lib -lparmetis -lmetis -llapack
-lblas -L/usr/lib/gcc/x86_64-linux-gnu/4.2.4 -ldl -lgcc_s -lgfortran -lm -lm
-lstdc++ -lstdc++ -ldl -lgcc_s -ldl
c++: ex2.o: Arquivo ou diretório inexistente
make: [ex2] Erro 1 (ignorado)
/bin/rm -f -f ex2.o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/sieve-dev/attachments/20090925/298f3c6f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 648549 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/sieve-dev/attachments/20090925/298f3c6f/attachment-0001.obj>
More information about the sieve-dev
mailing list