Advertisement
Guest User

Untitled

a guest
May 20th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. configure:15289: Using CUDA dynamic library from /usr/local/cuda-9.2/lib64
  2. configure:15309: checking for cuInit in -lcuda
  3. 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
  4. configure:15334: $? = 0
  5. configure:15343: result: yes
  6. configure:15357: checking that CUDA Toolkit version and runtime version are the same
  7. 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
  8. configure:15398: $? = 0
  9. configure:15398: ./conftest
  10. configure:15398: $? = 255
  11. configure: program exited with status 255
  12. configure: failed program was:
  13. | /* confdefs.h */
  14. | #define PACKAGE_NAME "ecm"
  15. | #define PACKAGE_TARNAME "ecm"
  16. | #define PACKAGE_VERSION "7.0.4"
  17. | #define PACKAGE_STRING "ecm 7.0.4"
  18. | #define PACKAGE_BUGREPORT "ecm-discuss@lists.gforge.inria.fr"
  19. | #define PACKAGE_URL ""
  20. | #define PACKAGE "ecm"
  21. | #define VERSION "7.0.4"
  22. | #define ECM_VERSION "7.0.4"
  23. | #define STDC_HEADERS 1
  24. | #define HAVE_SYS_TYPES_H 1
  25. | #define HAVE_SYS_STAT_H 1
  26. | #define HAVE_STDLIB_H 1
  27. | #define HAVE_STRING_H 1
  28. | #define HAVE_MEMORY_H 1
  29. | #define HAVE_STRINGS_H 1
  30. | #define HAVE_INTTYPES_H 1
  31. | #define HAVE_STDINT_H 1
  32. | #define HAVE_UNISTD_H 1
  33. | #define HAVE_DLFCN_H 1
  34. | #define LT_OBJDIR ".libs/"
  35. | #define HAVE_UNSIGNED_LONG_LONG_INT 1
  36. | #define HAVE_LONG_LONG_INT 1
  37. | #define TIME_WITH_SYS_TIME 1
  38. | #define PRIuSIZE "zu"
  39. | #define PRIdSIZE "zd"
  40. | #define USE_ASM_REDC 1
  41. | #define HAVE_APRCL 1
  42. | #define HAVE_ALLOCA_H 1
  43. | #define HAVE_ALLOCA 1
  44. | #define STDC_HEADERS 1
  45. | #define HAVE_MATH_H 1
  46. | #define HAVE_LIMITS_H 1
  47. | #define HAVE_MALLOC_H 1
  48. | #define HAVE_STRINGS_H 1
  49. | #define HAVE_SYS_TIME_H 1
  50. | #define HAVE_UNISTD_H 1
  51. | #define HAVE_SIGNAL_H 1
  52. | #define HAVE_FCNTL_H 1
  53. | #define HAVE_CTYPE_H 1
  54. | #define HAVE_SYS_TYPES_H 1
  55. | #define HAVE_SYS_RESOURCE_H 1
  56. | #define HAVE_AIO_H 1
  57. | #define HAVE_LIBM 1
  58. | #define HAVE_LIBM 1
  59. | #define HAVE_LIBM 1
  60. | #define HAVE_LIBM 1
  61. | #define HAVE_LIBM 1
  62. | #define HAVE_LIBRT 1
  63. | #define HAVE_ISASCII 1
  64. | #define HAVE_MEMSET 1
  65. | #define HAVE_STRCHR 1
  66. | #define HAVE_STRLEN 1
  67. | #define HAVE_STRNCASECMP 1
  68. | #define HAVE_STRSTR 1
  69. | #define HAVE_ACCESS 1
  70. | #define HAVE_UNLINK 1
  71. | #define HAVE_ISSPACE 1
  72. | #define HAVE_ISDIGIT 1
  73. | #define HAVE_ISXDIGIT 1
  74. | #define HAVE_TIME 1
  75. | #define HAVE_CTIME 1
  76. | #define HAVE_GETHOSTNAME 1
  77. | #define HAVE_GETTIMEOFDAY 1
  78. | #define HAVE_GETRUSAGE 1
  79. | #define HAVE_MEMMOVE 1
  80. | #define HAVE_SIGNAL 1
  81. | #define HAVE_FCNTL 1
  82. | #define HAVE_FILENO 1
  83. | #define HAVE_SETVBUF 1
  84. | #define HAVE_FALLOCATE 1
  85. | #define HAVE_AIO_READ 1
  86. | #define HAVE_AIO_INIT 1
  87. | #define HAVE_MALLOC_USABLE_SIZE 1
  88. | #define HAVE_GMP_H 1
  89. | #define HAVE___GMPN_ADD_NC 1
  90. | #define HAVE___GMPN_MOD_34LSUB1 1
  91. | #define HAVE___GMPN_REDC_1 1
  92. | #define HAVE___GMPN_REDC_2 1
  93. | #define HAVE___GMPN_MULLO_N 1
  94. | #define HAVE___GMPN_REDC_N 1
  95. | #define HAVE___GMPN_PREINV_MOD_1 1
  96. | #define HAVE___GMPN_MOD_1S_4P_CPS 1
  97. | #define HAVE___GMPN_MOD_1S_4P 1
  98. | #define HAVE___GMPN_MUL_FFT 1
  99. | #define HAVE___GMPN_FFT_NEXT_SIZE 1
  100. | #define HAVE___GMPN_FFT_BEST_K 1
  101. | #define HAVE___GMPN_MULMOD_BNM1 1
  102. | #define HAVE___GMPN_MULMOD_BNM1_NEXT_SIZE 1
  103. | #define ATTRIBUTE_HOT __attribute__ ((hot))
  104. | #define HAVE_CUDA_H 1
  105. | #define HAVE_LIBCUDA 1
  106. | /* end confdefs.h. */
  107. |
  108. |
  109. | #include <stdio.h>
  110. | #include <string.h>
  111. | #include <cuda.h>
  112. | #include <cuda_runtime.h>
  113. |
  114. | int
  115. | main ()
  116. | {
  117. |
  118. | int libversion;
  119. | cudaError_t err;
  120. | err = cudaRuntimeGetVersion (&libversion);
  121. | if (err != cudaSuccess)
  122. | {
  123. | printf ("Could not get runtime version\n");
  124. | printf ("Error msg: %s\n", cudaGetErrorString(err));
  125. | return -1;
  126. | }
  127. | printf("(%d.%d/", CUDA_VERSION/1000, (CUDA_VERSION/10) % 10);
  128. | printf("%d.%d) ", libversion/1000, (libversion/10) % 10);
  129. | if (CUDA_VERSION == libversion)
  130. | return 0;
  131. | else
  132. | return 1;
  133. |
  134. | ;
  135. | return 0;
  136. | }
  137. configure:15403: result: no
  138. 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