Shahzeb, I had a similar error a few days ago. It is probably somewhere in the build log. Without any patching, CUDA refuses to install if your gcc is too new (for CUDA 7.5 it can't be newer than gcc 4.8). For cuda and gcc versions in one place see here <http://stackoverflow.com/a/6622751/2554989>.
Cheers, Ben On Thu, Mar 2, 2017 at 3:23 PM, Siddiqui, Shahzeb < shahzeb.siddi...@pfizer.com> wrote: > Hello, > > > > I am puzzled why I am running into a issue when rebuilding CUDA with GCC > support. It works fine when building with dummy toolchain. > > > > hpcswadm@hpcv18$eb CUDA-7.5.18-GCC-6.2.0.eb -r .. > > == temporary log file in case of crash /tmp/eb-ds88em/easybuild-YiC3Kf.log > > == resolving dependencies ... > > == processing EasyBuild easyconfig /hpc/hpcswadm/easybuild/CUDA/ > CUDA-7.5.18-GCC-6.2.0.eb > > == building and installing Compiler/GCC/6.2.0/CUDA/7.5.18... > > == fetching files... > > == creating build dir, resetting environment... > > == unpacking... > > == patching... > > == preparing... > > == configuring... > > == building... > > == testing... > > == installing... > > == taking care of extensions... > > == postprocessing... > > == sanity checking... > > == FAILED: Installation ended unsuccessfully (build directory: > /nfs/grid/software/RHEL7-BUILD/easybuild/build/CUDA/7.5.18/GCC-6.2.0): > build failed (first 300 chars): Sanity check failed: no file of > ('bin/fatbinary',) in /nfs/grid/software/testing/RHEL7/easybuild/software/ > Compiler/GCC/6.2.0/CUDA/7.5.18, no file of ('bin/nvcc',) in > /nfs/grid/software/testing/RHEL7/easybuild/software/ > Compiler/GCC/6.2.0/CUDA/7.5.18, no file of ('bin/nvlink',) in > /nfs/grid/software/t > > == Results of the build can be found in the log file(s) > /tmp/eb-ds88em/easybuild-CUDA-7.5.18-20170302.152200.XsipE.log > > ERROR: Build of /hpc/hpcswadm/easybuild/CUDA/CUDA-7.5.18-GCC-6.2.0.eb > failed (err: "build failed (first 300 chars): Sanity check failed: no file > of ('bin/fatbinary',) in /nfs/grid/software/testing/ > RHEL7/easybuild/software/Compiler/GCC/6.2.0/CUDA/7.5.18, no file of > ('bin/nvcc',) in /nfs/grid/software/testing/RHEL7/easybuild/software/ > Compiler/GCC/6.2.0/CUDA/7.5.18, no file of ('bin/nvlink',) in > /nfs/grid/software/t") > > > > Shahzeb Siddiqui > > HPC Linux Engineer > > B2220-447.2 > > Groton, CT > > >