On 1 July 2016 at 17:48, Derek Pisner dpisner@psychiatry.arizona.edu wrote:
Here is the output attachment.
Hmmm.... this is the actual error: ====== gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/dicom -I../xml2 -I../include/NrrdIO -DTEEM_DIO=0 -DTEEM_32BIT=0 -DTEEM_QNANHIBIT=1 -DTEEM_ENDIAN=1234 -I../jpeg -I../tiff -I../expat -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit/Algorithms -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit/BasicFilters -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit/Common -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit/IO -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit/Numerics -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit/Numerics/Statistics -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit/Review -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit/Review/Statistics -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit/SpatialObject -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/itk/current/include/InsightToolkit/Utilities -DHAVE_ITK_LIBS -I../glut -DHAVE_GLUT_LIBS -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/vxl/current/include/vxl/core -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/vxl/current/include/vxl/vcl -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/vxl/current/include/vxl/v3p/netlib -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/vxl/current/include/vxl/v3p/netlib/opt -I/usr/local/cuda/include -DHAVE_ZLIB -g -O3 -msse2 -mfpmath=sse -Wall -DUSE_SSE_MATHFUN -fopenmp -DHAVE_OPENMP -m64 -DLinux -DANSI -fdata-sections -ffunction-sections -Wl,--gc-sections -I/home/scanlab/Desktop/Derek/centos6-x86_64-packages/mni/current/include -DFS_CUDA -I/usr/local/cuda/include -DGCAMORPH_ON_GPU -MT libutils_cuda_a-mrisurf.o -MD -MP -MF .deps/libutils_cuda_a-mrisurf.Tpo -c -o libutils_cuda_a-mrisurf.o `test -f 'mrisurf.c' || echo './'`mrisurf.c In file included from /usr/local/cuda/include/cuda_runtime.h:59:0, from ../include/mrisurf_cuda.h:28, from mrisurf.c:664: /usr/local/cuda/include/host_config.h:159:2: error: #endif without #if #endif /* !__HOST_CONFIG_H__ */ ======
I've just tried doing a git pull, and restarting from ./setup_configure, and I can't reproduce this, I'm afraid.
You do absolutely want to have --enable-fermi-gpu set, though. Fermi is five years old, and that flag enables most of the acceleration of mri_ca_register.
Richard