[petsc-dev] make error

Mark F. Adams mark.adams at columbia.edu
Mon Jan 28 15:02:22 CST 2013


I pulled today and did a deep clean but get this error:

[ 37%] Building C object CMakeFiles/petsc.dir/src/vec/vec/impls/mpi/pmap.c.o
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c: In function 'VecView_MPI_ASCII':
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:144: error: expected expression before 'else'
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:145: error: expected expression before 'else'
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:149: error: expected expression before 'else'
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:340: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:436: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:511: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:623: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:795: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:853: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:862: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:884: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:937: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:990: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:1024: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:1067: error: expected declaration or statement at end of input
/Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pdvec.c:1067: warning: control reaches end of non-void function
make[5]: *** [CMakeFiles/petsc.dir/src/vec/vec/impls/mpi/pdvec.c.o] Error 1




More information about the petsc-dev mailing list