Closed matze closed 10 years ago
I totally agree. I just discovered SHOC and think it's a phantastic project, but the build system is a bit inflexible.
Peter,
I don’t know if this response ever made it to you:
We have a script called build-aux/bootstrap.sh in the build repository that can be used to regenerate the configure and automake-based makefiles. The user manual documents how to use it to regenerate configure and the Makefile.in files.
Phil Roth
On Feb 19, 2014, at 8:39 , Peter Steinbach notifications@github.com wrote:
I totally agree. I just discovered SHOC and think it's a phantastic project, but the build system is a bit inflexible.
— Reply to this email directly or view it on GitHub.
Philip C. Roth | +1 865 241-1543 | http://ft.ornl.gov/~rothpc
Hi,
thank you, Phil, for the reply. I did actually read the manual, but stopped reading once I hit "configure;make;make install" in section 3.1 (Page 2). I reviewed the manual upon you message and eventually found secion 3.1.5 (Page 6) that describes how the configure script can be regenerated. However from reading your manual, it didn't occur to me why this is necessary at all. Maybe you wanna add a clarification that if people stumble upon problems with the default configure script, they have the option to generate a more custom version fitting to their operating system and chosen environment. This would make it more clear why ./build-aux/bootstrap.sh exists.
Peter
I tried to build SHOC but I encountered some problems:
/usr/local/cuda
which is hard to find for the configure script. Some flags likeOPENCL_CFLAGS
andOPENCL_LIBS
would help. But abusingCXXFLAGS
(CFLAGS
on the other hand not ...) helps though.$HOME/usr
but running shocdriver in$HOME/usr/bin
tells me that it cannot find driver.pl. But the actual programs work just fine.