View Single Post
Old 2021-08-25, 17:48   #7
SethTro's Avatar
Apr 2019

1B116 Posts

Originally Posted by bsquared View Post
Very nice!
I haven't been able to build it yet. My knowledge of automake/autoconf is very limited, but trying to use these tools just throws a bunch of errors about missing files. Any advice on building this for linux?
There's some instructions in
This is what I use

autoreconf -i
./configure --enable-gpu=61 --with-cuda=/usr/local/cuda CC=gcc-9 -with-cgbn-include=/home/five/Projects/CGBN/include/cgbn
make -j8
Replace `--enable_gpu=61` with a different compute capability if you need one (and apply the change from #27 if you need SM_70) but you already seem to have that figured out.

Originally Posted by chris2be8 View Post
I'm trying to build it on Linux, but have not had much luck. I copied the process I used to build the previous version:

What version of CUDA Toolkit and runtime is needed to support CGBN? And where is cgbn.h on your system?
I ran `git clone` under /home/five/Projects
then added `-with-cgbn-include=/home/five/Projects/CGBN/include/cgbn` to the list of options I pass to `./configure`

Last fiddled with by SethTro on 2021-08-25 at 18:08
SethTro is offline   Reply With Quote