make[1]: Entering directory '/home/Paul/projects/petsc' ========================================== See documentation/faq.html and documentation/bugreporting.html for help with installation problems. Please send EVERYTHING printed out below when reporting problems. Please check the mailing list archives and consider subscribing. http://www.mcs.anl.gov/petsc/miscellaneous/mailing-lists.html ========================================== Starting on Pauls-PC at Fri Sep 5 12:59:23 MDT 2014 Machine characteristics: CYGWIN_NT-6.1 Pauls-PC 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64 Cygwin ----------------------------------------- Using PETSc directory: /home/Paul/projects/petsc Using PETSc arch: cuda_build ----------------------------------------- PETSC_VERSION_RELEASE 0 PETSC_VERSION_MAJOR 3 PETSC_VERSION_MINOR 5 PETSC_VERSION_SUBMINOR 1 PETSC_VERSION_PATCH 0 PETSC_VERSION_DATE "unknown" PETSC_VERSION_GIT "unknown" PETSC_VERSION_DATE_GIT "unknown" PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \ PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ----------------------------------------- Using configure Options: --with-cmake=0 --with-mpi=0 --with-make-np=1 --with-debugging=0 --with-cc="win32fe cl" --with-cxx="win32fe cl" --with-language=cxx --with-c2html=0 --with-cuda=1 --with-cuda-arch=sm_30 --with-cuda-dir=/cygdrive/c/CUDA_6.5 --with-cusp=1 --with-cusp-dir=/home/Paul/projects/cusp --with-thrust=1 --with-thrust-dir=/cygdrive/c/CUDA_6.5/include/thrust --download-f2cblaslapack --with-cudac="win32fe nvcc" --useThreads=0 Using configuration flags: #define INCLUDED_PETSCCONF_H #define IS_COLORING_MAX 65535 #define MPI_Type_create_struct(count,lens,displs,types,newtype) MPI_Type_struct((count),(lens),(displs),(types),(newtype)) #define S_ISREG(a) (((a)&_S_IFMT) == _S_IFREG) #define W_OK 02 #define STDC_HEADERS 1 #define X_OK 01 #define R_OK 04 #define _USE_MATH_DEFINES 1 #define S_ISDIR(a) (((a)&_S_IFMT) == _S_IFDIR) #define MPI_Comm_create_errhandler(p_err_fun,p_errhandler) MPI_Errhandler_create((p_err_fun),(p_errhandler)) #define MPI_Comm_set_errhandler(comm,p_errhandler) MPI_Errhandler_set((comm),(p_errhandler)) #define MPIU_COLORING_VALUE MPI_UNSIGNED_SHORT #define PETSC_USE_WINDOWS_GRAPHICS 1 #define PETSC_UINTPTR_T uintptr_t #define PETSC_DEPRECATED(why) #define PETSC_HAVE_WINDOWS_H 1 #define PETSC_REPLACE_DIR_SEPARATOR '/' #define PETSC_HAVE_SETLASTERROR 1 #define PETSC_HAVE_MPI 1 #define PETSC_PREFETCH_HINT_T2 _MM_HINT_T2 #define PETSC_PREFETCH_HINT_T0 _MM_HINT_T0 #define PETSC_PREFETCH_HINT_T1 _MM_HINT_T1 #define PETSC_USE_SINGLE_LIBRARY 1 #define PETSC_DIR "C:\\cygwin64\\home\\Paul\\projects\\petsc" #define PETSC_HAVE_THRUST 1 #define PETSC_CANNOT_START_DEBUGGER 1 #define PETSC_HAVE_GETPROCADDRESS 1 #define PETSC_HAVE_F2CBLASLAPACK 1 #define PETSC_HAVE_LARGE_INTEGER_U 1 #define PETSC_USE_ISATTY 1 #define PETSC_HAVE_SOWING 1 #define PETSC_SLSUFFIX "" #define PETSC_FUNCTION_NAME_CXX __FUNCTION__ #define PETSC_HAVE_ATOLL 1 #define PETSC_HAVE_DOUBLE_ALIGN_MALLOC 1 #define PETSC_UNUSED #define PETSC_HAVE_CUDA 1 #define PETSC_HAVE_FREELIBRARY 1 #define PETSC_FUNCTION_NAME_C __FUNCTION__ #define PETSC_HAVE_GETCOMPUTERNAME 1 #define PETSC_HAVE_O_BINARY 1 #define PETSC_USE_MICROSOFT_TIME 1 #define PETSC_DIR_SEPARATOR '\\' #define PETSC_HAVE_LOADLIBRARY 1 #define PETSC_PATH_SEPARATOR ';' #define PETSC_HAVE_GETLASTERROR 1 #define PETSC_HAVE_CUSP 1 #define PETSC_HAVE_XMMINTRIN_H 1 #define PETSC_PREFETCH_HINT_NTA _MM_HINT_NTA #define PETSC_Prefetch(a,b,c) _mm_prefetch((const char*)(a),(c)) #define PETSC_HAVE_BLASLAPACK 1 #define PETSC_HAVE_GET_USER_NAME 1 #define PETSC_LIB_DIR "/home/Paul/projects/petsc/cuda_build/lib" #define PETSC_HAVE_GZIP 1 #define PETSC_HAVE_MALLOC_H 1 #define PETSC_HAVE_IO_H 1 #define PETSC_HAVE_TIME_H 1 #define PETSC_HAVE_MATH_H 1 #define PETSC_HAVE_STRING_H 1 #define PETSC_HAVE_FCNTL_H 1 #define PETSC_HAVE_DIRECT_H 1 #define PETSC_HAVE_WINDOWSX_H 1 #define PETSC_HAVE_SYS_TYPES_H 1 #define PETSC_HAVE_DOS_H 1 #define PETSC_HAVE_FLOAT_H 1 #define PETSC_HAVE_STDLIB_H 1 #define PETSC_HAVE_SEARCH_H 1 #define PETSC_HAVE_SETJMP_H 1 #define PETSC_HAVE_STDINT_H 1 #define PETSC_HAVE_WS2TCPIP_H 1 #define PETSC_HAVE_LIMITS_H 1 #define PETSC_CXX_RESTRICT __restrict #define PETSC_C_STATIC_INLINE static __inline #define PETSC_C_RESTRICT __restrict #define PETSC_HAVE_CXX_NAMESPACE 1 #define PETSC_CXX_STATIC_INLINE static inline #define PETSC_HAVE_LIBWS2_32 1 #define PETSC_HAVE_LIBF2CBLAS 1 #define PETSC_HAVE_LIBCUBLAS 1 #define PETSC_HAVE_LIBCUDART 1 #define PETSC_HAVE_FENV_H 1 #define PETSC_HAVE_LIBCUSPARSE 1 #define PETSC_HAVE_LIBF2CLAPACK 1 #define PETSC_HAVE_LIBADVAPI32 1 #define PETSC_HAVE_LIBGDI32 1 #define PETSC_HAVE_ERF 1 #define PETSC_HAVE_LIBCUFFT 1 #define PETSC_HAVE_LIBKERNEL32 1 #define PETSC_HAVE_TGAMMA 1 #define PETSC_HAVE_LIBUSER32 1 #define PETSC_ARCH "cuda_build" #define PETSC_CLANGUAGE_C 1 #define PETSC_USE_ERRORCHECKING 1 #define PETSC_BITS_PER_BYTE 8 #define PETSC_SIZEOF_VOID_P 8 #define PETSC_RETSIGTYPE void #define PETSC_HAVE___INT64 1 #define PETSC_HAVE_CXX_COMPLEX 1 #define PETSC_SIZEOF_LONG 4 #define PETSC_SIZEOF_INT 4 #define PETSC_SIZEOF_SIZE_T 8 #define PETSC_uid_t int #define PETSC_SIZEOF_CHAR 1 #define PETSC_SIZEOF_DOUBLE 8 #define PETSC_SIZEOF_FLOAT 4 #define PETSC_gid_t int #define PETSC_SIZEOF_LONG_LONG 8 #define PETSC_SIZEOF_SHORT 2 #define PETSC_HAVE_ACCESS 1 #define PETSC_HAVE__SET_OUTPUT_FORMAT 1 #define PETSC_HAVE_SIGNAL 1 #define PETSC_HAVE__LSEEK 1 #define PETSC_HAVE_VFPRINTF 1 #define PETSC_HAVE__GETCWD 1 #define PETSC_HAVE_MEMMOVE 1 #define PETSC_HAVE_RAND 1 #define PETSC_HAVE__SLEEP 1 #define PETSC_HAVE_TIME 1 #define PETSC_HAVE_GETCWD 1 #define PETSC_HAVE_LSEEK 1 #define PETSC_HAVE__VSNPRINTF 1 #define PETSC_HAVE_VPRINTF 1 #define PETSC_HAVE__ACCESS 1 #define PETSC_HAVE_STRICMP 1 #define PETSC_HAVE__SNPRINTF 1 #define PETSC_SIGNAL_CAST #define PETSC_HAVE_VA_COPY 1 #define PETSC_HAVE_CLOCK 1 #define PETSC_HAVE_MPIUNI 1 #define PETSC_HAVE_MPI_COMM_C2F 1 #define PETSC_HAVE_MPI_IN_PLACE 1 #define PETSC_HAVE_MPI_COMM_F2C 1 #define PETSC_HAVE_MPI_FINT 1 #define PETSC_BLASLAPACK_UNDERSCORE 1 #define PETSC_LEVEL1_DCACHE_LINESIZE 32 #define PETSC_LEVEL1_DCACHE_SIZE 32768 #define PETSC_LEVEL1_DCACHE_ASSOC 2 #define PETSC__BSD_SOURCE 1 #define PETSC_USE_PROC_FOR_SIZE 1 #define PETSC_USE_INFO 1 #define PETSC_Alignx(a,b) #define PETSC_USE_BACKWARD_LOOP 1 #define PETSC_IS_COLOR_VALUE_TYPE_SIZE PETSC_SIZEOF_SHORT #define PETSC_USE_MALLOC_COALESCED 1 #define PETSC_USE_LOG 1 #define PETSC_IS_COLOR_VALUE_TYPE short #define PETSC_USE_CTABLE 1 #define PETSC_USE_SCALAR_REAL 1 #define PETSC_HAVE_ISNAN 1 #define PETSC_HAVE_ISNORMAL 1 #define PETSC_HAVE__ISNAN 1 #define PETSC_HAVE__FINITE 1 #define PETSC_USE_REAL_DOUBLE 1 #define PETSC_HAVE_ISINF 1 #define PETSC_MEMALIGN 16 #define PETSC_MISSING_SIGUSR2 1 #define PETSC_MISSING_SIGURG 1 #define PETSC_MISSING_SIGPIPE 1 #define PETSC_MISSING_SIGHUP 1 #define PETSC_MISSING_SIGSTOP 1 #define PETSC_MISSING_SIGSYS 1 #define PETSC_MISSING_SIGCONT 1 #define PETSC_HAVE_WSAGETLASTERROR 1 #define PETSC_HAVE_CLOSESOCKET 1 #define PETSC_MISSING_SIGTSTP 1 #define PETSC_MISSING_SIGCHLD 1 #define PETSC_HAVE_SOCKET 1 #define PETSC_MISSING_SIGUSR1 1 #define PETSC_MISSING_SIGTRAP 1 #define PETSC_MISSING_SIGQUIT 1 #define PETSC_MISSING_SIGBUS 1 #define PETSC_HAVE_WINSOCK2_H 1 #define PETSC_MISSING_SIGALRM 1 #define PETSC_NEEDS_UTYPE_TYPEDEFS 1 #define PETSC_MISSING_SIGKILL 1 #define PETSC_VERSION_DATE_GIT "2014-08-19 17:52:18 -0600" #define PETSC_VERSION_GIT "v3.5.1-109-g3d99691" #define PETSC_HAVE_SHARED_LIBRARIES 1 #define PETSC_CUDA_EXTERN_C_BEGIN extern "C" { #define PETSC_CUDA_EXTERN_C_END } #define PETSC_HAVE_CUSP_SMOOTHED_AGGREGATION 1 ----------------------------------------- Using C/C++ compile: /home/Paul/projects/petsc/bin/win32fe/win32fe cl -c -MT -wd4996 -O2 -I/home/Paul/projects/petsc/include -I/home/Paul/projects/petsc/cuda_build/include -I/cygdrive/c/CUDA_6.5/include -I/home/Paul/projects/cusp/ -I/home/Paul/projects/cusp/include -I/cygdrive/c/CUDA_6.5/include/thrust/ -I/home/Paul/projects/petsc/include/mpiuni Using CUDA compile: /home/Paul/projects/petsc/bin/win32fe/win32fe nvcc -O -arch=sm_30 -c --compiler-options=-MT -wd4996 -O2 -I/home/Paul/projects/petsc/include -I/home/Paul/projects/petsc/cuda_build/include -I/cygdrive/c/CUDA_6.5/include -I/home/Paul/projects/cusp/ -I/home/Paul/projects/cusp/include -I/cygdrive/c/CUDA_6.5/include/thrust/ -I/home/Paul/projects/petsc/include/mpiuni ----------------------------------------- Using C/C++ linker: /home/Paul/projects/petsc/bin/win32fe/win32fe cl Using C/C++ flags: -MT -wd4996 -O2 ----------------------------------------- Using libraries: -L/home/Paul/projects/petsc/cuda_build/lib -lpetsc -lf2clapack -lf2cblas /cygdrive/c/CUDA_6.5/lib64/cufft.lib /cygdrive/c/CUDA_6.5/lib64/cublas.lib /cygdrive/c/CUDA_6.5/lib64/cudart.lib /cygdrive/c/CUDA_6.5/lib64/cusparse.lib Gdi32.lib User32.lib Advapi32.lib Kernel32.lib Ws2_32.lib ------------------------------------------ Using mpiexec: /home/Paul/projects/petsc/bin/mpiexec.uni ========================================== Building PETSc using GNU Make with 1 build threads ========================================== make[2]: Entering directory '/home/Paul/projects/petsc' /home/Paul/projects/petsc/bin/win32fe/win32fe nvcc -c -O -arch=sm_30 --compiler-options="-MT -wd4996 -O2 -I/home/Paul/projects/petsc/include -I/home/Paul/projects/petsc/cuda_build/include -I/cygdrive/c/CUDA_6.5/include -I/home/Paul/projects/cusp/ -I/home/Paul/projects/cusp/include -I/cygdrive/c/CUDA_6.5/include/thrust/ -I/home/Paul/projects/petsc/include/mpiuni " /home/Paul/projects/petsc/src/vec/vec/impls/mpi/mpicusp/mpicusp.cu -o cuda_build/obj/src/vec/vec/impls/mpi/mpicusp/mpicusp.o # Compile first so that if there is an error, it comes from a normal compile C:/cygwin64/home/Paul/projects/petsc/include\petscviewer.h(316): warning: conversion from pointer to smaller integer C:/cygwin64/home/Paul/projects/petsc/include\petscviewer.h(330): warning: conversion from pointer to smaller integer C:/cygwin64/home/Paul/projects/petsc/include\petscviewer.h(344): warning: conversion from pointer to smaller integer C:/cygwin64/home/Paul/projects/petsc/include\petscviewer.h(358): warning: conversion from pointer to smaller integer C:/cygwin64/home/Paul/projects/petsc/include\petscviewer.h(316): warning: conversion from pointer to smaller integer C:/cygwin64/home/Paul/projects/petsc/include\petscviewer.h(330): warning: conversion from pointer to smaller integer C:/cygwin64/home/Paul/projects/petsc/include\petscviewer.h(344): warning: conversion from pointer to smaller integer C:/cygwin64/home/Paul/projects/petsc/include\petscviewer.h(358): warning: conversion from pointer to smaller integer mpicusp.cu nvcc fatal : redefinition of argument 'optimize' gmakefile:167: recipe for target 'cuda_build/obj/src/vec/vec/impls/mpi/mpicusp/mpicusp.o' failed make[2]: *** [cuda_build/obj/src/vec/vec/impls/mpi/mpicusp/mpicusp.o] Error 1 make[2]: *** Deleting file 'cuda_build/obj/src/vec/vec/impls/mpi/mpicusp/mpicusp.o' make[2]: Leaving directory '/home/Paul/projects/petsc' /home/Paul/projects/petsc/conf/rules:105: recipe for target 'gnumake' failed make[1]: *** [gnumake] Error 2 make[1]: Leaving directory '/home/Paul/projects/petsc' **************************ERROR************************************* Error during compile, check cuda_build/conf/make.log Send it and cuda_build/conf/configure.log to petsc-maint@mcs.anl.gov ******************************************************************** Finishing at: Fri Sep 5 12:59:33 MDT 2014