========================================== See documentation/faq.html and documentation/bugreporting.html for help with installation problems. Please send EVERYTHING printed out below when reporting problems To subscribe to the PETSc announcement list, send mail to majordomo@mcs.anl.gov with the message: subscribe petsc-announce To subscribe to the PETSc users mailing list, send mail to majordomo@mcs.anl.gov with the message: subscribe petsc-users ========================================== On Wed Mar 6 10:16:11 EST 2013 on air.local Machine characteristics: Darwin air.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 ----------------------------------------- Using PETSc directory: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8 Using PETSc arch: darwin12.2.0-c-opt ----------------------------------------- PETSC_VERSION_RELEASE 1 PETSC_VERSION_MAJOR 3 PETSC_VERSION_MINOR 1 PETSC_VERSION_SUBMINOR 0 PETSC_VERSION_PATCH 8 PETSC_VERSION_DATE "Mar, 25, 2010" PETSC_VERSION_PATCH_DATE "Thu Mar 17 13:37:48 CDT 2011" PETSC_VERSION_HG "1409dfc44c26997c47851592fa5dce2a0c80bb8d" PETSC_VERSION_DATE_HG "Thu Mar 17 12:43:03 2011 -0500" PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \ ----------------------------------------- Using configure Options: --prefix=/Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/../ --with-scalar-type=complex --with-language=c --with-fortran=0 --with-mpi-include=/opt/local/include/openmpi --with-mpi-lib="[/opt/local/lib/libmpi_cxx.dylib,/opt/local/lib/libmpi.dylib]" --with-mpiexec=/opt/local/bin/openmpirun --with-x=0 --with-debugging=0 --with-lapack-lib=/usr/lib/liblapack.dylib --with-blas-lib=/usr/lib/libblas.dylib Using configuration flags: #define INCLUDED_PETSCCONF_H #define IS_COLORING_MAX 65535 #define STDC_HEADERS 1 #define MPIU_COLORING_VALUE MPI_UNSIGNED_SHORT #define PETSC_HAVE_BUILTIN_EXPECT 1 #define PETSC_UINTPTR_T uintptr_t #define PETSC_PATH_SEPARATOR ':' #define PETSC_SLSUFFIX "" #define PETSC_DIR_SEPARATOR '/' #define PETSC_LIB_DIR "/Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/../lib" #define PETSC_STATIC_INLINE static inline #define PETSC_REPLACE_DIR_SEPARATOR '\\' #define PETSC_RESTRICT __restrict__ #define PETSC_HAVE_XMMINTRIN_H 1 #define PETSC_HAVE_MPI 1 #define PETSC_Prefetch(a,b,c) _mm_prefetch((const void*)(a),(int)(c)) #define PETSC_HAVE_BLASLAPACK 1 #define PETSC_USE_SOCKET_VIEWER 1 #define PETSC_USE_SINGLE_LIBRARY 1 #define PETSC_HAVE_STRING_H 1 #define PETSC_HAVE_SYS_TYPES_H 1 #define PETSC_HAVE_DLFCN_H 1 #define PETSC_HAVE_MACHINE_ENDIAN_H 1 #define PETSC_HAVE_STDINT_H 1 #define PETSC_HAVE_TIME_H 1 #define PETSC_HAVE_MATH_H 1 #define PETSC_HAVE_STDLIB_H 1 #define PETSC_HAVE_SYS_PARAM_H 1 #define PETSC_HAVE_SYS_SOCKET_H 1 #define PETSC_HAVE_UNISTD_H 1 #define PETSC_HAVE_CXXABI_H 1 #define PETSC_HAVE_SYS_WAIT_H 1 #define PETSC_HAVE_LIMITS_H 1 #define PETSC_HAVE_SYS_UTSNAME_H 1 #define PETSC_HAVE_NETINET_IN_H 1 #define PETSC_HAVE_FLOAT_H 1 #define PETSC_HAVE_SYS_RESOURCE_H 1 #define PETSC_HAVE_SYS_TIMES_H 1 #define PETSC_HAVE_NETDB_H 1 #define PETSC_HAVE_SEARCH_H 1 #define PETSC_HAVE_PWD_H 1 #define PETSC_HAVE_FCNTL_H 1 #define PETSC_HAVE_STRINGS_H 1 #define PETSC_HAVE_MEMORY_H 1 #define PETSC_TIME_WITH_SYS_TIME 1 #define PETSC_HAVE_SYS_TIME_H 1 #define PETSC_PRINTF_FORMAT_CHECK(A,B) __attribute__((format (printf, A, B))) #define PETSC_HAVE_RTLD_NOW 1 #define PETSC_HAVE_RTLD_LOCAL 1 #define PETSC_HAVE_RTLD_LAZY 1 #define PETSC_C_STATIC_INLINE static inline #define PETSC_HAVE_RTLD_GLOBAL 1 #define PETSC_C_RESTRICT __restrict__ #define PETSC_HAVE_LIBBLAS 1 #define PETSC_HAVE_LIBDL 1 #define PETSC_HAVE_LIBMPI 1 #define PETSC_HAVE_LIBLAPACK 1 #define PETSC_HAVE_LIBMPI_CXX 1 #define PETSC_HAVE_ERF 1 #define PETSC_ARCH "darwin12.2.0-c-opt" #define PETSC_DIR "/Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8" #define HAVE_GZIP 1 #define PETSC_CLANGUAGE_C 1 #define PETSC_USE_EXTERN_CXX #define PETSC_USE_ERRORCHECKING 1 #define PETSC_SIZEOF_MPI_COMM 8 #define PETSC_BITS_PER_BYTE 8 #define PETSC_SIZEOF_MPI_FINT 4 #define PETSC_SIZEOF_VOID_P 8 #define PETSC_RETSIGTYPE void #define PETSC_SIZEOF_LONG 8 #define PETSC_SIZEOF_SIZE_T 8 #define PETSC_SIZEOF_CHAR 1 #define PETSC_SIZEOF_DOUBLE 8 #define PETSC_SIZEOF_FLOAT 4 #define PETSC_HAVE_C99_COMPLEX 1 #define PETSC_SIZEOF_INT 4 #define PETSC_SIZEOF_LONG_LONG 8 #define PETSC_SIZEOF_SHORT 2 #define PETSC_HAVE_STRCASECMP 1 #define PETSC_HAVE_POPEN 1 #define PETSC_HAVE_SIGSET 1 #define PETSC_HAVE_GETWD 1 #define PETSC_HAVE_VSNPRINTF 1 #define PETSC_HAVE_TIMES 1 #define PETSC_HAVE_DLSYM 1 #define PETSC_HAVE_SNPRINTF 1 #define PETSC_HAVE_GETPWUID 1 #define PETSC_HAVE_GETHOSTBYNAME 1 #define PETSC_HAVE_SLEEP 1 #define PETSC_HAVE_DLERROR 1 #define PETSC_HAVE_FORK 1 #define PETSC_HAVE_RAND 1 #define PETSC_HAVE_GETTIMEOFDAY 1 #define PETSC_HAVE_DLCLOSE 1 #define PETSC_HAVE_UNAME 1 #define PETSC_HAVE_GETHOSTNAME 1 #define PETSC_HAVE_MKSTEMP 1 #define PETSC_HAVE_SIGACTION 1 #define PETSC_HAVE_DRAND48 1 #define PETSC_HAVE_VA_COPY 1 #define PETSC_HAVE_CLOCK 1 #define PETSC_HAVE_ACCESS 1 #define PETSC_HAVE_SIGNAL 1 #define PETSC_HAVE_USLEEP 1 #define PETSC_HAVE_GETRUSAGE 1 #define PETSC_HAVE_TASK_INFO 1 #define PETSC_HAVE_VFPRINTF 1 #define PETSC_HAVE_NANOSLEEP 1 #define PETSC_HAVE_GETDOMAINNAME 1 #define PETSC_HAVE_TIME 1 #define PETSC_HAVE_LSEEK 1 #define PETSC_HAVE_SOCKET 1 #define PETSC_HAVE_READLINK 1 #define PETSC_HAVE_REALPATH 1 #define PETSC_HAVE_DLOPEN 1 #define PETSC_HAVE_MEMMOVE 1 #define PETSC_HAVE_GETCWD 1 #define PETSC_HAVE_VPRINTF 1 #define PETSC_HAVE_BZERO 1 #define PETSC_HAVE_GETPAGESIZE 1 #define PETSC_LEVEL1_DCACHE_LINESIZE 32 #define PETSC_LEVEL1_DCACHE_SIZE 32768 #define PETSC_LEVEL1_DCACHE_ASSOC 2 #define PETSC_USE_GDB_DEBUGGER 1 #define PETSC_USE_KBYTES_FOR_SIZE 1 #define PETSC_USE_INFO 1 #define PETSC_PETSC_USE_BACKWARD_LOOP 1 #define PETSC_Alignx(a,b) #define PETSC_USE_LOG 1 #define PETSC_IS_COLOR_VALUE_TYPE short #define PETSC_USE_CTABLE 1 #define PETSC_HAVE_ISINF 1 #define PETSC_HAVE_ISNAN 1 #define PETSC_USE_COMPLEX 1 #define PETSC_HAVE_MPI_COMM_C2F 1 #define PETSC_HAVE_MPI_LONG_DOUBLE 1 #define PETSC_HAVE_MPI_COMM_F2C 1 #define PETSC_HAVE_MPI_FINT 1 #define PETSC_HAVE_MPI_COMM_SPAWN 1 #define PETSC_HAVE_MPI_FINALIZED 1 #define PETSC_HAVE_MPI_WIN_CREATE 1 #define PETSC_HAVE_MPIIO 1 #define PETSC_HAVE_MPI_ALLTOALLW 1 #define PETSC_HAVE_MPI_IN_PLACE 1 #define PETSC_MEMALIGN 16 #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #define PETSC_HAVE_SHARED_LIBRARIES 1 ----------------------------------------- Using include paths: -I/Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/darwin12.2.0-c-opt/include -I/Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include -I/opt/local/include/openmpi ------------------------------------------ Using C/C++ compiler: gcc -Wall -Wwrite-strings -Wno-strict-aliasing -O C/C++ Compiler version: ----------------------------------------- Using C/C++ linker: gcc Using C/C++ flags: -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wall -Wwrite-strings -Wno-strict-aliasing -O ----------------------------------------- Using libraries: -L/Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/darwin12.2.0-c-opt/lib -L/Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/darwin12.2.0-c-opt/lib -lpetsc -L/usr/lib -llapack -lblas -L/opt/local/lib -lmpi_cxx -lmpi -ldl ------------------------------------------ Using mpiexec: /opt/local/bin/openmpirun ========================================== /bin/rm -f -rf /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/darwin12.2.0-c-opt/lib/libpetsc*.* /bin/rm -f -f /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/darwin12.2.0-c-opt/include/petsc*.mod BEGINNING TO COMPILE LIBRARIES IN ALL DIRECTORIES ========================================= libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/inline libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer/impls libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer/impls/socket In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:413, from send.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: ‘MPI_Datatype’ redeclared as different kind of symbol /opt/local/include/openmpi/mpi.h:320: error: previous declaration of ‘MPI_Datatype’ was here /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: warning: type defaults to ‘int’ in declaration of ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: conflicting types for ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: previous declaration of ‘MPI_Datatype’ was here In file included from send.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1212: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1213: error: expected ‘)’ before ‘PetscDataType’ In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1467, from send.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h: In function ‘PetscExceptionTrySync_Private’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h:430: warning: passing argument 4 of ‘MPI_Allreduce’ makes pointer from integer without a cast In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1551, from send.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:312: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: In function ‘TypeSize’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: ‘type’ undeclared (first use in this function) /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: (Each undeclared identifier is reported only once /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: for each function it appears in.) In file included from send.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2023: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2024: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ ar: send.o: No such file or directory libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer/impls/ascii In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:413, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/ascii/asciiimpl.h:3, from filev.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: ‘MPI_Datatype’ redeclared as different kind of symbol /opt/local/include/openmpi/mpi.h:320: error: previous declaration of ‘MPI_Datatype’ was here /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: warning: type defaults to ‘int’ in declaration of ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: conflicting types for ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: previous declaration of ‘MPI_Datatype’ was here In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/ascii/asciiimpl.h:3, from filev.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1212: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1213: error: expected ‘)’ before ‘PetscDataType’ In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1467, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/ascii/asciiimpl.h:3, from filev.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h: In function ‘PetscExceptionTrySync_Private’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h:430: warning: passing argument 4 of ‘MPI_Allreduce’ makes pointer from integer without a cast In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1551, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/ascii/asciiimpl.h:3, from filev.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:312: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: In function ‘TypeSize’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: ‘type’ undeclared (first use in this function) /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: (Each undeclared identifier is reported only once /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: for each function it appears in.) In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/ascii/asciiimpl.h:3, from filev.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2023: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2024: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:413, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/ascii/asciiimpl.h:3, from vcreatea.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: ‘MPI_Datatype’ redeclared as different kind of symbol /opt/local/include/openmpi/mpi.h:320: error: previous declaration of ‘MPI_Datatype’ was here /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: warning: type defaults to ‘int’ in declaration of ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: conflicting types for ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: previous declaration of ‘MPI_Datatype’ was here In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/ascii/asciiimpl.h:3, from vcreatea.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1212: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1213: error: expected ‘)’ before ‘PetscDataType’ In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1467, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/ascii/asciiimpl.h:3, from vcreatea.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h: In function ‘PetscExceptionTrySync_Private’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h:430: warning: passing argument 4 of ‘MPI_Allreduce’ makes pointer from integer without a cast In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1551, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/ascii/asciiimpl.h:3, from vcreatea.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:312: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: In function ‘TypeSize’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: ‘type’ undeclared (first use in this function) /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: (Each undeclared identifier is reported only once /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: for each function it appears in.) In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/ascii/asciiimpl.h:3, from vcreatea.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2023: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2024: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ ar: filev.o: No such file or directory ar: vcreatea.o: No such file or directory libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer/impls/binary In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:413, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from binv.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: ‘MPI_Datatype’ redeclared as different kind of symbol /opt/local/include/openmpi/mpi.h:320: error: previous declaration of ‘MPI_Datatype’ was here /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: warning: type defaults to ‘int’ in declaration of ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: conflicting types for ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: previous declaration of ‘MPI_Datatype’ was here In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from binv.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1212: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1213: error: expected ‘)’ before ‘PetscDataType’ In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1467, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from binv.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h: In function ‘PetscExceptionTrySync_Private’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h:430: warning: passing argument 4 of ‘MPI_Allreduce’ makes pointer from integer without a cast In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1551, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from binv.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:312: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: In function ‘TypeSize’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: ‘type’ undeclared (first use in this function) /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: (Each undeclared identifier is reported only once /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: for each function it appears in.) In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from binv.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2023: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2024: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ binv.c: In function ‘PetscViewerBinaryMPIIO’: binv.c:550: warning: statement with no effect binv.c:550: error: expected ‘;’ before ‘mdtype’ binv.c:556: error: ‘mdtype’ undeclared (first use in this function) binv.c:556: error: too many arguments to function ‘PetscDataTypeToMPIDataType’ binv.c:559: error: too many arguments to function ‘MPIU_File_write_all’ binv.c:561: error: too many arguments to function ‘MPIU_File_read_all’ ar: binv.o: No such file or directory libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer/impls/string In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:413, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from stringv.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: ‘MPI_Datatype’ redeclared as different kind of symbol /opt/local/include/openmpi/mpi.h:320: error: previous declaration of ‘MPI_Datatype’ was here /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: warning: type defaults to ‘int’ in declaration of ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: conflicting types for ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: previous declaration of ‘MPI_Datatype’ was here In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from stringv.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1212: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1213: error: expected ‘)’ before ‘PetscDataType’ In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1467, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from stringv.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h: In function ‘PetscExceptionTrySync_Private’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h:430: warning: passing argument 4 of ‘MPI_Allreduce’ makes pointer from integer without a cast In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1551, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from stringv.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:312: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: In function ‘TypeSize’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: ‘type’ undeclared (first use in this function) /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: (Each undeclared identifier is reported only once /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: for each function it appears in.) In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from stringv.c:2: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2023: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2024: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ ar: stringv.o: No such file or directory libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer/impls/draw In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:413, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/draw/vdraw.h:8, from drawv.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: ‘MPI_Datatype’ redeclared as different kind of symbol /opt/local/include/openmpi/mpi.h:320: error: previous declaration of ‘MPI_Datatype’ was here /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: warning: type defaults to ‘int’ in declaration of ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: conflicting types for ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: previous declaration of ‘MPI_Datatype’ was here In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/draw/vdraw.h:8, from drawv.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1212: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1213: error: expected ‘)’ before ‘PetscDataType’ In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1467, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/draw/vdraw.h:8, from drawv.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h: In function ‘PetscExceptionTrySync_Private’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h:430: warning: passing argument 4 of ‘MPI_Allreduce’ makes pointer from integer without a cast In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1551, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/draw/vdraw.h:8, from drawv.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:312: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: In function ‘TypeSize’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: ‘type’ undeclared (first use in this function) /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: (Each undeclared identifier is reported only once /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: for each function it appears in.) In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/../src/sys/viewer/impls/draw/vdraw.h:8, from drawv.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2023: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2024: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ ar: drawv.o: No such file or directory libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer/impls/vu In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:413, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from petscvu.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: ‘MPI_Datatype’ redeclared as different kind of symbol /opt/local/include/openmpi/mpi.h:320: error: previous declaration of ‘MPI_Datatype’ was here /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: expected declaration specifiers or ‘...’ before ‘(’ token /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: warning: type defaults to ‘int’ in declaration of ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:212: error: conflicting types for ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscmath.h:211: error: previous declaration of ‘MPI_Datatype’ was here In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from petscvu.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1212: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1213: error: expected ‘)’ before ‘PetscDataType’ In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1467, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from petscvu.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h: In function ‘PetscExceptionTrySync_Private’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscerror.h:430: warning: passing argument 4 of ‘MPI_Allreduce’ makes pointer from integer without a cast In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:1551, from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from petscvu.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:312: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h: In function ‘TypeSize’: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: ‘type’ undeclared (first use in this function) /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: (Each undeclared identifier is reported only once /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petsclog.h:314: error: for each function it appears in.) In file included from /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/private/viewerimpl.h:5, from petscvu.c:3: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h: At top level: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2023: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/include/petscsys.h:2024: error: expected declaration specifiers or ‘...’ before ‘MPI_Datatype’ ar: petscvu.o: No such file or directory libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer/examples libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer/examples/tutorials libfast in: /Users/manav/Documents/codes/numerical_lib/petsc/complex/petsc-3.1-p8/src/sys/viewer/examples/tests