niessner / Opt

Opt DSL
Other
256 stars 68 forks source link

make: Nothing to be done for 'all'. #135

Open MadhurimaGhose05 opened 6 years ago

MadhurimaGhose05 commented 6 years ago

opt_make_error

Thanks a ton for your effort and great work @niessner !

Can someone please guide me, how to resolve this issue? How to "Make" Opt.

I have followed the steps:

Example script to get Opt (and terra) on a fresh Ubuntu install:

Get Opt

git clone https://github.com/niessner/Opt.git

Get the prerequisite utilities to download and unzip and compile if you don't already have them

sudo apt-get install wget zip clang

Get terra

wget https://github.com/zdevito/terra/releases/download/release-2016-03-25/terra-Linux-x86_64-332a506.zip unzip terra-Linux-x86_64-332a506.zip mv terra-Linux-x86_64-332a506 terra

Build and run an example on either platform

Build Opt itself

$ cd Opt/API/ $ make

But it gives the following error:

make: Nothing to be done for 'all'.

Thanks! Madhurima

Mx7f commented 6 years ago

Opt automatically gets built when you build an example. That's what the third line in your screenshot is doing, and it looks like there are no errors there. The problem seems to be in the compilation of the example, in the nvcc command. The error you are getting looks similar to: https://github.com/NVIDIA/nccl/issues/29

MadhurimaGhose05 commented 6 years ago

Thanks a ton for your explanation @Mx7f :+1: