Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
libclfft
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • einsteinathome
  • libclfft
  • Issues
  • #1

Closed
Open
Opened Jun 11, 2019 by Reinhard Prix@ReinhardPrix

Problem building this on atlas [at least not very 'user friendly']

so I'm struggling to re-create how I built this on atlas. There seems to be some install-path mismatch between where cuda stuff gets installed and what the Makefile assumes:

eg on a GPU-enabled node, a3901 we have: $ source /usr/local/atlas-cuda/9.0/setup.sh ==> sets CUDA_INSTALL_PATH=/usr/local/atlas-cuda/9.0 and there we find $CUDA_INSTALL_PATH/include/CL/cl.h

in eclfft/src, however, the Makefile doesn't include this path, instead: CXXFLAGS += -O3 -Wall -g -I$(NVIDIA_SDK_INSTALL_PATH)/OpenCL/common/inc -I$(AMDAPPSDKROOT)/include -I../include -fPIC none of which matches the actual include path, and no env-variable I can set to make it actually find cl.h, and so I get: $ make make[1]: Entering directory '/work/repr/Software/development/eclfft/src' g++ -O3 -Wall -g -I/usr/local/cuda/OpenCL/common/inc -I/opt/AMDAPP/include -I../include -fPIC -c fft_setup.cpp In file included from fft_internal.h:66:0, from fft_setup.cpp:63: ../include/clFFT.h:70:23: fatal error: CL/cl.h: No such file or directory #include <CL/cl.h> ^ compilation terminated.

Am I missing something?

What is the 'official' way to correctly build this, and maybe should this be patched to be more user friendly?

PS: OK, I finally figured out by looking at the build-line that I can get this to work via CXXFLAGS=-I$CUDA_INSTALL_PATH/include make

but ideally the Makefile should simply include the possibility of a CUDA_INSTALL_PATH being available and use that as well?

Not sure who to best assign this to ...

/cc @hbeggenstein @maxBensch

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: einsteinathome/libclfft#1