charmplusplus / charm

The Charm++ parallel programming system. Visit https://charmplusplus.org/ for more information.
Apache License 2.0
207 stars 50 forks source link

Passing -cuda instead of cuda (as an option) breaks build #809

Closed mprobson closed 9 years ago

mprobson commented 9 years ago

Original issue: https://charm.cs.illinois.edu/redmine/issues/809


This was discovered by Ryan while trying to build cuda charm, e.g.:

kuck1`talent:~/Documents/bohm_files/charm$ ./build charm++ netlrts-linux-x86_64-smp-cuda -j8 -g
Selected Compiler: 
Selected Options:  smp cuda
Creating dir: netlrts-linux-x86_64-cuda-smp
Creating dir: netlrts-linux-x86_64-cuda-smp/tmp
Copying src/scripts/Makefile to netlrts-linux-x86_64-cuda-smp/tmp
Soft-linking over bin

https://slack-files.com/T03BRHNMT-F07J1MY84-09c4d0739b vs

kuck1`talent:~/Documents/bohm_files/charm$ ./build charm++ netlrts-linux-x86_64 cuda smp -j8 -g
checking for CUDA toolkit directory
CUDA_DIR=/usr/local/cuda
Selected Compiler: 
Selected Options:  cuda smp
Copying src/scripts/Makefile to netlrts-linux-x86_64-cuda-smp/tmp
Soft-linking over bin

https://slack-files.com/T03BRHNMT-F07J3MRCJ-b6608cc42c

This is because we're not executing the special.sh scripts in each machines directory because build isn't picking up the -cuda

mprobson commented 5 years ago

Original date: 2015-08-17 22:11:22


https://charm.cs.illinois.edu/gerrit/#/c/793/ https://github.com/UIUC-PPL/charm/commit/8267c42795df37984655d1625f91225062c7aad6

Just caught the -cuda option earlier with bigsim, etc