[Slackbuilds-users] Community Challenge! Help fix the last few SlackBuilds for 14.2

Thomas Morper thomas at beingboiled.info
Wed Jun 1 01:29:39 UTC 2016


On Mon, 30 May 2016, David Spencer wrote:

> 1. academic/Xyce
> 
> http://pastebin.com/nsMwxhgR
> 
> It looks like an underlinking error, but I can't see anything wrong
> with the link. There is a new version 6.4 upstream, I have tried it,
> but the same linking problem happens.  Maybe its dep
> libraries/trilinos is involved

This one is a bit tricky... the problem indeed is trilinos which can't be 
built with neither "atlas" (as stated in the info file) nor "blas" and 
"lapack" as currently present on SBo.

atlas is a very fragile library and highly dependent on certain compiler 
versions and CPU timings! The build is very old and the README is unclear 
on how to merge the atlas and lapack libraries to get the lapack functions 
that atlas doesn't cover.

On the other hand, blas and lapack 3.6.0 are too new for trilinos. 3.6.0 
replaced some deprecated functions, but the wrapper in trilinos still uses 
the old function names, resulting in a libepetra.so with unresolved 
symbols that will make Xyce fail.

So, this gets us the following options:

 1) Ditch atlas and build trilinos with blas and lapack downgraded to 
    version 3.5.0. Easy, unless this breaks other packages.

 2) Ditch atlas and patch trilinos to work with blas and lapack in version 
    3.6.0. There's no readymade patch available and I don't know how to do 
    this as this involves FORTRAN code.

 3) Bring atlas up to date and merge it with lapack for a fully functional 
    high-performance library. Ideally done by a maintainer who understands 
    how atlas works, aka "not me".

Any other options?

-- 


More information about the SlackBuilds-users mailing list