Opened 9 years ago

Last modified 8 years ago

#50592 assigned defect

error with caffe variants

Reported by: emmanuel.moebel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: pachlioptas@…
Port: caffe

Description

When using the default variants (cpu, openblas, python27), the caffe port installs without problem. But when I try to install other variants I get an error. Used command : "sudo port install caffe -cpu +gpu" The error :

Error: org.macports.build for port caffe returned: command execution failed
Please see the log file for port caffe for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_caffe/caffe/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port caffe failed

(main.log is attached)

I know that the gpu variant needs /usr/local/cuda. I confirm that cuda is installed at the expected place (I installed it from the nvidia website, installed version is 7.5.20)

Attachments (1)

main.log (1.2 MB) - added by emmanuel.moebel@… 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by emmanuel.moebel@…

Attachment: main.log added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to hum@…

comment:2 Changed 9 years ago by emmanuel.moebel@…

When I try the universal variant, I get the error :

Error: Cannot install caffe for the arch(s) 'i386 x86_64' because
Error: its dependency py27-scipy is only installed for the arch 'x86_64'
Error: and does not have a universal variant.
Error: Unable to execute port: architecture mismatch

comment:3 Changed 9 years ago by pachlioptas@…

Cc: pachlioptas@… added

Cc Me!

comment:4 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from humem to macports-tickets@…
Status: newassigned
Note: See TracTickets for help on using tickets.