Makefile:605 in caffe makeCUDA: How to use -arch and -code and SM vs COMPUTEWhat is the difference between the GNU Makefile variable assignments =, ?=, := and +=?What is the purpose of .PHONY in a makefile?Unable to find lmdb while installing caffe with make allError message during installing caffe command 'make all' about “caffe::cudnn::dataType<double>::zero”Caffe 1 Installation Error in Ubuntu17.04 - “undefined reference 'protobuf' and 'libcaffe.so'”Build caffe wrong when input “ make all ”Makefile:575: recipe for target '.build_release/src/caffe/parallel.o' failedCaffe Compilation Error with “adadelta_solver”Which protobuf version to use with caffe?make: *** [.build_release/src/caffe/solvers/sgd_solver.o] Error 1

Send out email when Apex Queueable fails and test it

How seriously should I take size and weight limits of hand luggage?

Is it possible to create a QR code using text?

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

What is a Samsaran Word™?

What is the fastest integer factorization to break RSA?

Ambiguity in the definition of entropy

Implication of namely

Processor speed limited at 0.4 Ghz

How to install cross-compiler on Ubuntu 18.04?

Getting extremely large arrows with tikzcd

What are the G forces leaving Earth orbit?

What Exploit Are These User Agents Trying to Use?

Is "/bin/[.exe" a legitimate file? [Cygwin, Windows 10]

Why are UK visa biometrics appointments suspended at USCIS Application Support Centers?

Placement of More Information/Help Icon button for Radio Buttons

What's the meaning of "Sollensaussagen"?

How to stretch the corners of this image so that it looks like a perfect rectangle?

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

Car headlights in a world without electricity

Avoiding the "not like other girls" trope?

Notepad++ delete until colon for every line with replace all

If a warlock makes a Dancing Sword their pact weapon, is there a way to prevent it from disappearing if it's farther away for more than a minute?

Could the museum Saturn V's be refitted for one more flight?



Makefile:605 in caffe make


CUDA: How to use -arch and -code and SM vs COMPUTEWhat is the difference between the GNU Makefile variable assignments =, ?=, := and +=?What is the purpose of .PHONY in a makefile?Unable to find lmdb while installing caffe with make allError message during installing caffe command 'make all' about “caffe::cudnn::dataType<double>::zero”Caffe 1 Installation Error in Ubuntu17.04 - “undefined reference 'protobuf' and 'libcaffe.so'”Build caffe wrong when input “ make all ”Makefile:575: recipe for target '.build_release/src/caffe/parallel.o' failedCaffe Compilation Error with “adadelta_solver”Which protobuf version to use with caffe?make: *** [.build_release/src/caffe/solvers/sgd_solver.o] Error 1













1















When I make caffe makefile with command make all -j4, there is an error on line 605 of makeprofile, Im not sure is there anything wrong or not, I didn't edit this line. It seem to be a wrong version of cuda? or for other reason...



error message:



NVCC src/caffe/layers/swish_layer.cu
NVCC src/caffe/layers/cudnn_lrn_layer.cu
NVCC src/caffe/layers/im2col_layer.cu
nvcc fatal : Option '--generate-code arch=-gencode', missing code
NVCC src/caffe/layers/dropout_layer.cu
nvcc fatal : Option '--generate-code arch=-gencode', missing code
nvcc fatal : Option '--generate-code arch=-gencode', missing code
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/swish_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/swish_layer.o] Error 1
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/cudnn_lrn_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/cudnn_lrn_layer.o] Error 1
nvcc fatal : Option '--generate-code arch=-gencode', missing code
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/im2col_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/im2col_layer.o] Error 1


environment:



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
CUDA Version 10.0.130
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85









share|improve this question
























  • These messages are simply make telling you that the compile failed. You have to post the failure messages from the compiler if you want help solving that problem.

    – MadScientist
    Mar 7 at 22:00











  • oh sorry, I have complete the error message,so is there something wrong with nvcc?

    – Proth DU
    Mar 7 at 22:26











  • I assume. I don't know what nvcc is or what those options mean. Maybe someone familiar with caffe will know.

    – MadScientist
    Mar 8 at 0:34











  • fine..thx anyway

    – Proth DU
    Mar 8 at 8:10











  • For some reason, the SM compute capability code is not provided to nvcc, It must be something like -gencode arch=compute_62,code=sm_62

    – Dmytro Prylipko
    Mar 9 at 9:44















1















When I make caffe makefile with command make all -j4, there is an error on line 605 of makeprofile, Im not sure is there anything wrong or not, I didn't edit this line. It seem to be a wrong version of cuda? or for other reason...



error message:



NVCC src/caffe/layers/swish_layer.cu
NVCC src/caffe/layers/cudnn_lrn_layer.cu
NVCC src/caffe/layers/im2col_layer.cu
nvcc fatal : Option '--generate-code arch=-gencode', missing code
NVCC src/caffe/layers/dropout_layer.cu
nvcc fatal : Option '--generate-code arch=-gencode', missing code
nvcc fatal : Option '--generate-code arch=-gencode', missing code
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/swish_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/swish_layer.o] Error 1
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/cudnn_lrn_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/cudnn_lrn_layer.o] Error 1
nvcc fatal : Option '--generate-code arch=-gencode', missing code
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/im2col_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/im2col_layer.o] Error 1


environment:



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
CUDA Version 10.0.130
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85









share|improve this question
























  • These messages are simply make telling you that the compile failed. You have to post the failure messages from the compiler if you want help solving that problem.

    – MadScientist
    Mar 7 at 22:00











  • oh sorry, I have complete the error message,so is there something wrong with nvcc?

    – Proth DU
    Mar 7 at 22:26











  • I assume. I don't know what nvcc is or what those options mean. Maybe someone familiar with caffe will know.

    – MadScientist
    Mar 8 at 0:34











  • fine..thx anyway

    – Proth DU
    Mar 8 at 8:10











  • For some reason, the SM compute capability code is not provided to nvcc, It must be something like -gencode arch=compute_62,code=sm_62

    – Dmytro Prylipko
    Mar 9 at 9:44













1












1








1








When I make caffe makefile with command make all -j4, there is an error on line 605 of makeprofile, Im not sure is there anything wrong or not, I didn't edit this line. It seem to be a wrong version of cuda? or for other reason...



error message:



NVCC src/caffe/layers/swish_layer.cu
NVCC src/caffe/layers/cudnn_lrn_layer.cu
NVCC src/caffe/layers/im2col_layer.cu
nvcc fatal : Option '--generate-code arch=-gencode', missing code
NVCC src/caffe/layers/dropout_layer.cu
nvcc fatal : Option '--generate-code arch=-gencode', missing code
nvcc fatal : Option '--generate-code arch=-gencode', missing code
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/swish_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/swish_layer.o] Error 1
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/cudnn_lrn_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/cudnn_lrn_layer.o] Error 1
nvcc fatal : Option '--generate-code arch=-gencode', missing code
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/im2col_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/im2col_layer.o] Error 1


environment:



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
CUDA Version 10.0.130
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85









share|improve this question
















When I make caffe makefile with command make all -j4, there is an error on line 605 of makeprofile, Im not sure is there anything wrong or not, I didn't edit this line. It seem to be a wrong version of cuda? or for other reason...



error message:



NVCC src/caffe/layers/swish_layer.cu
NVCC src/caffe/layers/cudnn_lrn_layer.cu
NVCC src/caffe/layers/im2col_layer.cu
nvcc fatal : Option '--generate-code arch=-gencode', missing code
NVCC src/caffe/layers/dropout_layer.cu
nvcc fatal : Option '--generate-code arch=-gencode', missing code
nvcc fatal : Option '--generate-code arch=-gencode', missing code
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/swish_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/swish_layer.o] Error 1
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/cudnn_lrn_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/cudnn_lrn_layer.o] Error 1
nvcc fatal : Option '--generate-code arch=-gencode', missing code
Makefile:605: recipe for target '.build_release/cuda/src/caffe/layers/im2col_layer.o' failed
make: *** [.build_release/cuda/src/caffe/layers/im2col_layer.o] Error 1


environment:



No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
CUDA Version 10.0.130
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85






makefile caffe ubuntu-18.04






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 7 at 22:25







Proth DU

















asked Mar 7 at 20:37









Proth DUProth DU

62




62












  • These messages are simply make telling you that the compile failed. You have to post the failure messages from the compiler if you want help solving that problem.

    – MadScientist
    Mar 7 at 22:00











  • oh sorry, I have complete the error message,so is there something wrong with nvcc?

    – Proth DU
    Mar 7 at 22:26











  • I assume. I don't know what nvcc is or what those options mean. Maybe someone familiar with caffe will know.

    – MadScientist
    Mar 8 at 0:34











  • fine..thx anyway

    – Proth DU
    Mar 8 at 8:10











  • For some reason, the SM compute capability code is not provided to nvcc, It must be something like -gencode arch=compute_62,code=sm_62

    – Dmytro Prylipko
    Mar 9 at 9:44

















  • These messages are simply make telling you that the compile failed. You have to post the failure messages from the compiler if you want help solving that problem.

    – MadScientist
    Mar 7 at 22:00











  • oh sorry, I have complete the error message,so is there something wrong with nvcc?

    – Proth DU
    Mar 7 at 22:26











  • I assume. I don't know what nvcc is or what those options mean. Maybe someone familiar with caffe will know.

    – MadScientist
    Mar 8 at 0:34











  • fine..thx anyway

    – Proth DU
    Mar 8 at 8:10











  • For some reason, the SM compute capability code is not provided to nvcc, It must be something like -gencode arch=compute_62,code=sm_62

    – Dmytro Prylipko
    Mar 9 at 9:44
















These messages are simply make telling you that the compile failed. You have to post the failure messages from the compiler if you want help solving that problem.

– MadScientist
Mar 7 at 22:00





These messages are simply make telling you that the compile failed. You have to post the failure messages from the compiler if you want help solving that problem.

– MadScientist
Mar 7 at 22:00













oh sorry, I have complete the error message,so is there something wrong with nvcc?

– Proth DU
Mar 7 at 22:26





oh sorry, I have complete the error message,so is there something wrong with nvcc?

– Proth DU
Mar 7 at 22:26













I assume. I don't know what nvcc is or what those options mean. Maybe someone familiar with caffe will know.

– MadScientist
Mar 8 at 0:34





I assume. I don't know what nvcc is or what those options mean. Maybe someone familiar with caffe will know.

– MadScientist
Mar 8 at 0:34













fine..thx anyway

– Proth DU
Mar 8 at 8:10





fine..thx anyway

– Proth DU
Mar 8 at 8:10













For some reason, the SM compute capability code is not provided to nvcc, It must be something like -gencode arch=compute_62,code=sm_62

– Dmytro Prylipko
Mar 9 at 9:44





For some reason, the SM compute capability code is not provided to nvcc, It must be something like -gencode arch=compute_62,code=sm_62

– Dmytro Prylipko
Mar 9 at 9:44












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55052424%2fmakefile605-in-caffe-make%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55052424%2fmakefile605-in-caffe-make%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved