Opened 13 years ago

Closed 13 years ago

#332 closed enhancement (wontfix)

configure does not find my ATLAS

Reported by: Peter Owned by: Jari Häkkinen
Priority: major Milestone:
Component: build Version: trunk
Keywords: Cc:

Description

I am using Fedora 7 and have ATLAS installed in /usr/lib/atlas/.

Configure does not find this installation, but instead GSL BLAS is used. Perhaps an additional option is needed pointing where ATLAS can be found.

Change History (5)

comment:1 Changed 13 years ago by Peter

I found the comment in README saying

hardware architecture. If you have ATLAS installed and the configure
script fails to locate it, try to add the location to the atlas
libraries when running configure:

  #> LDFLAGS="/usr/lib64/atlas" ./configure

However trying: LDFLAGS="/usr/lib/atlas" ./configure failed with message

configure: error: C++ compiler cannot create executables
See `config.log' for more details.

and in config.log I find these lines

configure:2648: g++   /usr/lib/atlas/ conftest.cpp  >&5
/usr/lib/atlas/: file not recognized: Is a directory
collect2: ld returned 1 exit status

comment:2 Changed 13 years ago by Jari Häkkinen

#> LDFLAGS="/usr/lib64/atlas" ./configure

should be

#> LDFLAGS="-L/usr/lib64/atlas" ./configure

README updated in http://trac.thep.lu.se/yat/changeset/1180

comment:3 Changed 13 years ago by Peter

That helped together with installing atlas-devel. Seems like that gave atlas header files. I don't wanna speculate how that helped me because it will only add on the confusion.

Perhaps it is overkill to have an option for this, but I leave this ticket open.

comment:4 Changed 13 years ago by Jari Häkkinen

I do not think there should be an option for this. People wanting to use ATLAS with yat but with ATLAS libs installed unconventionally will read the README. Maybe the README can be improved though.

comment:5 Changed 13 years ago by Peter

Milestone: yat 0.x+
Resolution: wontfix
Status: newclosed

Ok, then we close it.

Note: See TracTickets for help on using tickets.