Issues with ATLAS - unable to make CAFFE

90 views
Skip to first unread message

Filip K

unread,
Dec 27, 2016, 2:05:42 PM12/27/16
to Caffe Users
I am trying to "make all" caffe, but I am unable to do it. 


When I run it,it gets to this point:

MAKE:
/usr/bin/ld: cannot find -lcblas
/usr/bin/ld: cannot find -latlas
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
collect2
: error: ld returned 1 exit status
make
: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1

then when I try building running CMAKE, I get this:

CMAKE:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
 
Could NOT find Atlas (missing: Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY)
Call Stack (most recent call first):
 
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  cmake
/Modules/FindAtlas.cmake:43 (find_package_handle_standard_args)
  cmake
/Dependencies.cmake:88 (find_package)
 
CMakeLists.txt:43 (include)

I have checked my:

1) /usr/include  and I seem to have two ATLAS include folders: 

/usr/include/atlas-x86_64-base
/usr/include/atlas

so I assume my CMAKE is using the "second" inlcude

2) /usr/lib - I am not sure what should I be looking for, so I would appreciate if someone could advise me what should I be looking for to check if I have it.


Any ideas how to fix it?

Thanks.

Reply all
Reply to author
Forward
0 new messages