First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 129622
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Adam Piątyszek <ediap@users.sourceforge.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
itpp-3.10.1.ebuild itpp-3.10.1.ebuild (version bump with a few modifications) text/plain Adam Piątyszek 2006-04-11 11:59 0000 1.61 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 129622 depends on: Show dependency tree
Show dependency graph
Bug 129622 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-11 11:57 0000
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 From Adam Piątyszek 2006-04-11 11:59:26 0000 -------
Created an attachment (id=84459) [edit]
itpp-3.10.1.ebuild (version bump with a few modifications)

------- Comment #2 From Markus Dittrich 2006-04-12 07:12:16 0000 -------
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 From Adam Piątyszek 2006-04-12 11:05:27 0000 -------
(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 From Sébastien Fabbro 2006-04-12 15:02:07 0000 -------
(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 From Markus Dittrich 2006-04-13 06:46:37 0000 -------
(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 From Markus Dittrich 2006-04-13 06:47:39 0000 -------
Hi Adam,

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

best,
Markus

------- Comment #7 From Adam Piątyszek 2006-04-13 07:03:27 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug