Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- configure:15289: Using CUDA dynamic library from /usr/local/cuda-9.2/lib64
- configure:15309: checking for cuInit in -lcuda
- configure:15334: x86_64-linux-gnu-gcc -o conftest -I/usr/local/cuda-9.2/include/ -W -Wall -Wundef -pedantic -g -O2 -fdebug-prefix-map=/build/gmp-dLrWiR/gmp-6.1.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -I/usr/local/cuda-9.2/include/ -Wl,-rpath,/usr/local/cuda-9.2/lib64 -L/usr/local/cuda-9.2/lib64 conftest.c -lcuda -lrt -lm -lm -lm -lm -lm >&5
- configure:15334: $? = 0
- configure:15343: result: yes
- configure:15357: checking that CUDA Toolkit version and runtime version are the same
- configure:15398: x86_64-linux-gnu-gcc -o conftest -I/usr/local/cuda-9.2/include/ -W -Wall -Wundef -pedantic -g -O2 -fdebug-prefix-map=/build/gmp-dLrWiR/gmp-6.1.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -I/usr/local/cuda-9.2/include/ -Wl,-rpath,/usr/local/cuda-9.2/lib64 -L/usr/local/cuda-9.2/lib64 conftest.c -lcudart -lstdc++ -lcuda -lrt -lm -lm -lm -lm -lm >&5
- configure:15398: $? = 0
- configure:15398: ./conftest
- configure:15398: $? = 255
- configure: program exited with status 255
- configure: failed program was:
- | /* confdefs.h */
- | #define PACKAGE_NAME "ecm"
- | #define PACKAGE_TARNAME "ecm"
- | #define PACKAGE_VERSION "7.0.4"
- | #define PACKAGE_STRING "ecm 7.0.4"
- | #define PACKAGE_BUGREPORT "ecm-discuss@lists.gforge.inria.fr"
- | #define PACKAGE_URL ""
- | #define PACKAGE "ecm"
- | #define VERSION "7.0.4"
- | #define ECM_VERSION "7.0.4"
- | #define STDC_HEADERS 1
- | #define HAVE_SYS_TYPES_H 1
- | #define HAVE_SYS_STAT_H 1
- | #define HAVE_STDLIB_H 1
- | #define HAVE_STRING_H 1
- | #define HAVE_MEMORY_H 1
- | #define HAVE_STRINGS_H 1
- | #define HAVE_INTTYPES_H 1
- | #define HAVE_STDINT_H 1
- | #define HAVE_UNISTD_H 1
- | #define HAVE_DLFCN_H 1
- | #define LT_OBJDIR ".libs/"
- | #define HAVE_UNSIGNED_LONG_LONG_INT 1
- | #define HAVE_LONG_LONG_INT 1
- | #define TIME_WITH_SYS_TIME 1
- | #define PRIuSIZE "zu"
- | #define PRIdSIZE "zd"
- | #define USE_ASM_REDC 1
- | #define HAVE_APRCL 1
- | #define HAVE_ALLOCA_H 1
- | #define HAVE_ALLOCA 1
- | #define STDC_HEADERS 1
- | #define HAVE_MATH_H 1
- | #define HAVE_LIMITS_H 1
- | #define HAVE_MALLOC_H 1
- | #define HAVE_STRINGS_H 1
- | #define HAVE_SYS_TIME_H 1
- | #define HAVE_UNISTD_H 1
- | #define HAVE_SIGNAL_H 1
- | #define HAVE_FCNTL_H 1
- | #define HAVE_CTYPE_H 1
- | #define HAVE_SYS_TYPES_H 1
- | #define HAVE_SYS_RESOURCE_H 1
- | #define HAVE_AIO_H 1
- | #define HAVE_LIBM 1
- | #define HAVE_LIBM 1
- | #define HAVE_LIBM 1
- | #define HAVE_LIBM 1
- | #define HAVE_LIBM 1
- | #define HAVE_LIBRT 1
- | #define HAVE_ISASCII 1
- | #define HAVE_MEMSET 1
- | #define HAVE_STRCHR 1
- | #define HAVE_STRLEN 1
- | #define HAVE_STRNCASECMP 1
- | #define HAVE_STRSTR 1
- | #define HAVE_ACCESS 1
- | #define HAVE_UNLINK 1
- | #define HAVE_ISSPACE 1
- | #define HAVE_ISDIGIT 1
- | #define HAVE_ISXDIGIT 1
- | #define HAVE_TIME 1
- | #define HAVE_CTIME 1
- | #define HAVE_GETHOSTNAME 1
- | #define HAVE_GETTIMEOFDAY 1
- | #define HAVE_GETRUSAGE 1
- | #define HAVE_MEMMOVE 1
- | #define HAVE_SIGNAL 1
- | #define HAVE_FCNTL 1
- | #define HAVE_FILENO 1
- | #define HAVE_SETVBUF 1
- | #define HAVE_FALLOCATE 1
- | #define HAVE_AIO_READ 1
- | #define HAVE_AIO_INIT 1
- | #define HAVE_MALLOC_USABLE_SIZE 1
- | #define HAVE_GMP_H 1
- | #define HAVE___GMPN_ADD_NC 1
- | #define HAVE___GMPN_MOD_34LSUB1 1
- | #define HAVE___GMPN_REDC_1 1
- | #define HAVE___GMPN_REDC_2 1
- | #define HAVE___GMPN_MULLO_N 1
- | #define HAVE___GMPN_REDC_N 1
- | #define HAVE___GMPN_PREINV_MOD_1 1
- | #define HAVE___GMPN_MOD_1S_4P_CPS 1
- | #define HAVE___GMPN_MOD_1S_4P 1
- | #define HAVE___GMPN_MUL_FFT 1
- | #define HAVE___GMPN_FFT_NEXT_SIZE 1
- | #define HAVE___GMPN_FFT_BEST_K 1
- | #define HAVE___GMPN_MULMOD_BNM1 1
- | #define HAVE___GMPN_MULMOD_BNM1_NEXT_SIZE 1
- | #define ATTRIBUTE_HOT __attribute__ ((hot))
- | #define HAVE_CUDA_H 1
- | #define HAVE_LIBCUDA 1
- | /* end confdefs.h. */
- |
- |
- | #include <stdio.h>
- | #include <string.h>
- | #include <cuda.h>
- | #include <cuda_runtime.h>
- |
- | int
- | main ()
- | {
- |
- | int libversion;
- | cudaError_t err;
- | err = cudaRuntimeGetVersion (&libversion);
- | if (err != cudaSuccess)
- | {
- | printf ("Could not get runtime version\n");
- | printf ("Error msg: %s\n", cudaGetErrorString(err));
- | return -1;
- | }
- | printf("(%d.%d/", CUDA_VERSION/1000, (CUDA_VERSION/10) % 10);
- | printf("%d.%d) ", libversion/1000, (libversion/10) % 10);
- | if (CUDA_VERSION == libversion)
- | return 0;
- | else
- | return 1;
- |
- | ;
- | return 0;
- | }
- configure:15403: result: no
- configure:15405: error: 'cuda.h' and 'cudart' library have different versions, you have to reinstall CUDA properly, or use the --with-cuda parameter to tell configure the path to the CUDA library and header you want to use
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement