Comments (4)
I think that we want a different approach to setting of cuda, which is probably easily dealt with cmake. We want to detect which cuda version is installed and change the make file accordingly so the -gencode arch=XX, code=XX but also other things reflects what is installed in the system and what GPU is present. I'm not good with bash so correct me if I'm wrong, but that is not what the setup seems to be doing. Jan could help you more regarding what CUDA is doing when it is installed, I do not know much about that.
from astro-accelerate.
@KAdamek Thanks for the feedback. Correct, the script does not "auto detect" which CUDA version is installed.
As far as I'm aware, a CUDA library user needs to set $PATH
and $LD_LIBRARY_PATH
first, before being able to do CUDA function calls in a terminal as it looks like you're suggesting. (See https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#environment-setup)
My plan is to start moving the build system to CMake, this could subsume a portion of this script once that is done.
from astro-accelerate.
from astro-accelerate.
I think the point here is that the makefile
does not work without PATH
and LD_LIBRARY_PATH
being set. Similarly, nvcc --version
also does not work unless the user sets PATH
and LD_LIBRARY_PATH
. The setup.sh
script is there to make the process more user-friendly.
By the sounds of it, we could use /usr/local/cuda/
in setup.sh
instead of /usr/local/cuda-{version}
. I have edited cc_53_setupscript to reflect this.
from astro-accelerate.
Related Issues (20)
- Add journal citation and DOI to executable HOT 1
- CUDA_ARCH_VERSION checking in device_info causes compilation error
- Possible maxshift underestimate in aa_ddtr_strategy.cpp HOT 3
- Extending logging system HOT 1
- Inconsistent report on number of samples from header and actual file size HOT 1
- FDAS removing unused variables
- MSD bug. HOT 1
- Binning and swaping problem; Stripe appear in results HOT 1
- Dedispersion for number of channels > 16k HOT 1
- Generic Makefile HOT 1
- Overcompensating for binning?
- autotune failure; missing defined arguments; HOT 2
- Dedispersion kernel not launching HOT 1
- TimeLog class not clearing variables
- Binning kernel out of bounds
- Python script not working properly
- master does not build using supplied Makefile
- FDAS parameter ACCEL_STEP does not work for other values than 2.0
- Error handling
- Can astro-accelerate run on a A100 GPU (Ampere architecture) ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astro-accelerate.