Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329419 - BigDFT ebuild
Summary: BigDFT ebuild
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://inac.cea.fr/L_Sim/BigDFT/
Whiteboard: sunrise-suggested
Keywords: EBUILD
Depends on: 329423
Blocks: 249493
  Show dependency tree
 
Reported: 2010-07-22 14:32 UTC by Honza Macháček
Modified: 2011-09-11 14:08 UTC (History)
2 users (show)

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


Attachments
sci-libs/bigdft-1.2.0.2-r2.ebuild (bigdft-1.2.0.2-r2.ebuild,2.26 KB, text/plain)
2010-07-22 14:44 UTC, Honza Macháček
Details
bigdft-1.2.0.2-0001.patch (bigdft-1.2.0.2-0001.patch,4.87 KB, patch)
2010-07-22 14:46 UTC, Honza Macháček
Details | Diff
bigdft-1.2.0.2-0002.patch (bigdft-1.2.0.2-0002.patch,557 bytes, patch)
2010-07-22 14:47 UTC, Honza Macháček
Details | Diff
bigdft-1.2.0.2-0003.patch (bigdft-1.2.0.2-0003.patch,620 bytes, patch)
2010-07-22 14:48 UTC, Honza Macháček
Details | Diff
bigdft-1.2.0.2-0004.patch (bigdft-1.2.0.2-0004.patch,833 bytes, patch)
2010-07-22 14:48 UTC, Honza Macháček
Details | Diff
bigdft-1.2.0.2-testH.patch (bigdft-1.2.0.2-testH.patch,28.41 KB, patch)
2010-07-22 14:53 UTC, Honza Macháček
Details | Diff
bigdft-1.4.0.ebuild.patch (bigdft-1.4.0.ebuild.patch,419 bytes, text/plain)
2010-11-08 19:14 UTC, Joel Berendzen
Details
bigdft-1.2.0.2.ebuild (bigdft-1.2.0.2.ebuild,2.12 KB, text/plain)
2011-01-19 21:22 UTC, Honza Macháček
Details
bigdft-1.2.0.2.ebuild (bigdft-1.2.0.2.ebuild,2.12 KB, text/plain)
2011-01-20 21:47 UTC, Honza Macháček
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Honza Macháček 2010-07-22 14:32:28 UTC
A library for DFT calculations, used by sci-physic/abinit The Abinit ebuild in the tree downloads its sources and compiles the library inside its own compilation. Should have an ebuild of its own.
Comment 1 Honza Macháček 2010-07-22 14:44:19 UTC
Created attachment 239809 [details]
sci-libs/bigdft-1.2.0.2-r2.ebuild

An ebuild for BigDFT usefull for sci-physics/abinit-6.0.4 Based on the work of Donnie Berkholz in his overlay, related to the bug 249493; incorporates Abinit patches.
Comment 2 Honza Macháček 2010-07-22 14:46:46 UTC
Created attachment 239811 [details, diff]
bigdft-1.2.0.2-0001.patch

Patch number 1 from Abinit.
Comment 3 Honza Macháček 2010-07-22 14:47:34 UTC
Created attachment 239813 [details, diff]
bigdft-1.2.0.2-0002.patch

Patch number 2 from Abinit.
Comment 4 Honza Macháček 2010-07-22 14:48:09 UTC
Created attachment 239815 [details, diff]
bigdft-1.2.0.2-0003.patch

Patch number 3 from Abinit.
Comment 5 Honza Macháček 2010-07-22 14:48:46 UTC
Created attachment 239817 [details, diff]
bigdft-1.2.0.2-0004.patch

Patch number 4 from Abinit.
Comment 6 Honza Macháček 2010-07-22 14:53:37 UTC
Created attachment 239819 [details, diff]
bigdft-1.2.0.2-testH.patch

A patch to allow running tests.
Comment 7 Honza Macháček 2010-07-22 14:54:29 UTC
Uses Libxc.
Comment 8 Michael Weber (RETIRED) gentoo-dev 2010-07-22 19:19:22 UTC
Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Thanks,
On behalf of the Gentoo Sunrise Team,
Michael.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 9 Joel Berendzen 2010-11-08 19:14:42 UTC
Created attachment 253687 [details]
bigdft-1.4.0.ebuild.patch 

Version bump, builds under gcc 4.5 now.  Haven't tested with cuda.
Comment 10 J.Borme 2011-01-19 10:00:57 UTC
This ebuild fails at my place because of the use of tc-getFC. Apparently some eclass has been removed and this is not provided any more.

See the following : http://archives.gentoo.org/gentoo-science/msg_ef25aeef119aff99e4d9cd5eae435abf.xml

It builds if I remove the reference to MY_FC from the ebuild.




Comment 11 Honza Macháček 2011-01-19 21:22:05 UTC
Created attachment 260295 [details]
bigdft-1.2.0.2.ebuild

The current sci-libs/bigdft-1.2.0.2 ebuild I use with abinit. Now in the sci overlay.

I do not upgrade to the current bigDFT version because abinit still uses this old one and is not compatible with newer ones. This, in combination with my starting to maintain the abinit & friends ebuilds in the sci overlay, caused that I've been neglecting this bug lately, as well as all the other bugs related to the abinit ebuild.

The problem was probably caused by the obsolete FORTRANC variable, the current usage of tc-getFC works well, at least for me. The MY_FC variable serves to enable the MPI support.
Comment 12 J.Borme 2011-01-20 20:53:51 UTC
(In reply to comment #11)
> The current sci-libs/bigdft-1.2.0.2 ebuild I use with abinit. Now in the sci
> overlay.

		MY_FC="${tc-getFC}"
		MY_CC="$(tc-getCC)"

I think this is bogus, should be $() instead of ${}. Same problem in sci-physics/abinit-6.4.2.ebuild, line 97.
Comment 13 Honza Macháček 2011-01-20 21:47:52 UTC
Created attachment 260403 [details]
bigdft-1.2.0.2.ebuild

The braces corrected. Thanks for having found the typo.
Comment 14 J.Borme 2011-07-19 13:11:22 UTC
Source file was removed from the server.

Actually the request http://inac.cea.fr/L_Sim/BigDFT/bigdft-1.2.0.2.tar.gz
displays a list of existing files with similar names, suggesting versions 1.2.0.3 or 1.2.0.4. (and higher versions up to 1.5.2 at the moment).

ebuild should be updated to the newer minor revisions.
Comment 15 J.Borme 2011-09-11 14:08:09 UTC
SRC_URI is (still) outdated. Fortunately an alternative download location is a available. ebuild must be updated to use:

http://archives.abinit.org/plugins/${P}.tar.gz

Alternatively, the reader can manually download the source from:

http://www.abinit.org/downloads/plug-in-sources