Opened 9 years ago

Closed 9 years ago

#787 closed defect (worksforme)

configure doesn't find my ATLAS

Reported by: Peter Owned by: Peter
Priority: major Milestone:
Component: build Version: 0.11.1
Keywords: Cc:

Description

The autoconf code

  AC_SEARCH_LIBS([ATL_xerbla], [atlas],
                 [AC_SEARCH_LIBS([cblas_sgemm], [cblas],
                                 [yat_cblas_ok=yes;
                                  CBLAS_LIB="-lcblas -latlas"])])

results in

configure:18386: checking for library containing ATL_xerbla
configure:18417: ./libtool --mode=link --tag=CXX g++ -o conftest   -L/usr/lib64/atlas conftest.cpp -lm  >&5
libtool: link: g++ -o conftest conftest.cpp  -L/usr/lib64/atlas -lm

that is -latlas is not added. YAT_USE_LIBTOOL_PUSH is called before the atlas detection, so something is probably going on there.

Change History (2)

comment:1 Changed 9 years ago by Peter

Status: newassigned

comment:2 Changed 9 years ago by Peter

Milestone: yat 0.11.2
Resolution: worksforme
Status: assignedclosed

Need to install atlas-devel to have libatlas.so available to link against. The macro tries linking against empty string causing the confusion in description.

Note: See TracTickets for help on using tickets.