Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129622 - itpp-3.10.1.ebuild (version bump)
Summary: itpp-3.10.1.ebuild (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo Science Related Packages
URL: http://itpp.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 11:57 UTC by Adam Piątyszek
Modified: 2006-04-13 07:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
itpp-3.10.1.ebuild (version bump with a few modifications) (itpp-3.10.1.ebuild,1.61 KB, text/plain)
2006-04-11 11:59 UTC, Adam Piątyszek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Piątyszek 2006-04-11 11:57:45 UTC
Hi!

Please find the attached ebuild, which is an updated version of the previous ebuild for this package.
I added an optional support for ACML's BLAS, LAPACK and FFT/IFFT routines. This required defining CPPFLAGS=-I/usr/include/acml and passing this to the configure command.

Thanks in advance for commiting this.

/ediap

PS. I have tested this ebuild on one AMD64 Gentoo system, and it worked OK. So "~amd64" flag might be added to the KEYWORDS as well.

PS2. This is a bug-fix release of the IT++ 3.10 series, so I suggest removing itpp-3.10.0.ebuild which contains a few bugs fixed in this release. Besides, itpp-3.9.1.ebuild might be removed as well, because 3.9 series are not maintained any more by the IT++ developers.
Comment 1 Adam Piątyszek 2006-04-11 11:59:26 UTC
Created attachment 84459 [details]
itpp-3.10.1.ebuild (version bump with a few modifications)
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2006-04-12 07:12:16 UTC
Hi Adam,

Thank you very much for the ebuild. Before I commit it, I was wondering
if you'd be ok with leaving the dependency on acml out until the header
file issue has been solved (I saw that you filed a bug about this and 
I agree with you). I don't like just appending -I/usr/include/acml to the
CFLAGS by default, since this directory doesn't exist for many users 
(like myself), and we'd had to add some eselect logic to only turn it on
if acml is the blas implementation used.

Once it is committed I'll file a bug with the amd64 herd and ask them
to mark it ~amd64.

Thanks.
Markus
Comment 3 Adam Piątyszek 2006-04-12 11:05:27 UTC
(In reply to comment #2)
> Thank you very much for the ebuild. Before I commit it, I was wondering
> if you'd be ok with leaving the dependency on acml out until the header
> file issue has been solved (I saw that you filed a bug about this and 
> I agree with you). I don't like just appending -I/usr/include/acml to the
> CFLAGS by default, since this directory doesn't exist for many users 
> (like myself), and we'd had to add some eselect logic to only turn it on
> if acml is the blas implementation used.

Sure. We can wait with this extra ACML support, until my question/bug-report about ACML's header file will be solved (I hope it will be this year ;-))
So, please comment the ACML dependency and commit the ebuild then.

BTW, the IT++ library is ready to work with Intel's MKL as well, providing that correct LDFLAGS and CPPFLAGS are provided to the configure command. 
However, there are two problems in Gentoo with MKL:
1) MKL 8.x.x is not in portage yet (only in a gentoo-science unofficial repository)
2) The ebuild in the gentoo-science overlay installs only BLAS and LAPACK libraries. Unfortunately, the FFT/IFFT implementation is not installed. I have to ask the author of this ebuild if it is possible not to remove the FFT/IFFT part of the MKL. 

> Once it is committed I'll file a bug with the amd64 herd and ask them
> to mark it ~amd64.

Remember to file a bug for cblas-reference as well :) Thanks!

/ediap
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2006-04-12 15:02:07 UTC
(In reply to comment #3)

> 2) The ebuild in the gentoo-science overlay installs only BLAS and LAPACK
> libraries. Unfortunately, the FFT/IFFT implementation is not installed. I have
> to ask the author of this ebuild if it is possible not to remove the FFT/IFFT
> part of the MKL. 

Hi

I took care of the ebuild (comment on bug #96426 for more).
The MKL ebuild in the overlay does install the fft/ifft implementation. They are installed in the standard mkl directory. A qlist mkl | grep lib should help, and the /etc/env.d/35mkl adds LD_LIBRARY_PATH for the shared libs. However this ebuild needs work for eselect which does not support it, and because the version 8.0.1.014 is already out of date, not available in the intel ftp, and simple bump does not work :(.

Sebastien
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2006-04-13 06:46:37 UTC
(In reply to comment #4) 
> I took care of the ebuild (comment on bug #96426 for more).
> The MKL ebuild in the overlay does install the fft/ifft implementation. They
> are installed in the standard mkl directory. A qlist mkl | grep lib should
> help, and the /etc/env.d/35mkl adds LD_LIBRARY_PATH for the shared libs.
> However this ebuild needs work for eselect which does not support it, and
> because the version 8.0.1.014 is already out of date, not available in the
> intel ftp, and simple bump does not work :(.
> 
> Sebastien

Hi Sebastien,

Thank you very much for your detailed comments. Hopefully, I'll
have time to look at the bug sometime soon and catch up on
what has been happening.

Best,
Markus
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2006-04-13 06:47:39 UTC
Hi Adam,

I bumped itpp to version 3.10.1 in cvs. Thank you very much
for your help.

best,
Markus
Comment 7 Adam Piątyszek 2006-04-13 07:03:27 UTC
Dear Sebastien,

(In reply to comment #4)
> I took care of the ebuild (comment on bug #96426 for more).
> The MKL ebuild in the overlay does install the fft/ifft implementation. They
> are installed in the standard mkl directory. A qlist mkl | grep lib should
> help, and the /etc/env.d/35mkl adds LD_LIBRARY_PATH for the shared libs.
> However this ebuild needs work for eselect which does not support it, and
> because the version 8.0.1.014 is already out of date, not available in the
> intel ftp, and simple bump does not work :(.

I have just checked the MKL ebuild and after bumping it to 8.0.2.004 the problem is easy to fix by just changing MYPV to:
MYPV=${PV/.004/}

I posted a ticker at gentooscience.org about this...

And you are right. All needed libraries are installed into /opt/intel/mkl/8.x.x, however this will need special LDFLAGS and CPPFLAGS support in the IT++ ebuild to work.

Thanks for your comments!

/ediap

PS. Markus: Thanks for commiting itpp-3.10.1.ebuild to CVS.