LBEM-CH / focus

High Throughput Electron Microscopy Image Processing Software
http://www.focus-em.org
GNU General Public License v2.0
35 stars 14 forks source link

Hard-coded CUDA path #240

Open sbliven opened 5 years ago

sbliven commented 5 years ago

The path to CUDA is currently hard-coded to /usr/local/cuda-5.5/include:

https://github.com/C-CINA/focus/blob/495463215f56d86203f0e2f9e54a7af9b55e9e4c/CMakeLists.txt#L84

This should be made configurable with an environmental variable, e.g. $CUDA_INCLUDE_DIR

rdrighetto commented 5 years ago

Dear Spencer,

Thanks for pointing that out! But was it causing you problems? This should be harmless in the current state of FOCUS. There's a field in the GUI Settings to specify the correct CUDA path, for programs that require it.

-- Ricardo Diogo Righetto

Em qua, 4 de set de 2019 às 09:54, Spencer Bliven notifications@github.com escreveu:

The path to CUDA is currently hard-coded to /usr/local/cuda-5.5/include:

https://github.com/C-CINA/focus/blob/495463215f56d86203f0e2f9e54a7af9b55e9e4c/CMakeLists.txt#L84

This should be made configurable with an environmental variable, e.g. $CUDA_INCLUDE_DIR

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/C-CINA/focus/issues/240?email_source=notifications&email_token=AB2W674V47MIKGM2H5BNOS3QH5SR3A5CNFSM4ITOTKJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJFRVRA, or mute the thread https://github.com/notifications/unsubscribe-auth/AB2W676D4GDIZMZYPESFBKTQH5SR3ANCNFSM4ITOTKJA .

sbliven commented 5 years ago

Ok, it's good to know it's a harmless error. I'm having trouble compiling and started chasing any warning I noticed.