Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{chem}[foss/2016b] QuantumESPRESSO v6.0 #3809

Conversation

ocaisa
Copy link
Member

@ocaisa ocaisa commented Nov 16, 2016

(created using eb --new-pr)

@ocaisa
Copy link
Member Author

ocaisa commented Nov 16, 2016

Requires easybuilders/easybuild-easyblocks#1041 for proper handling of gipaw

@boegel boegel added this to the 3.0.1 milestone Nov 20, 2016
]

patches = [
'QuantumESPRESSO-6.0_yambo-fixes-foss-2016b.patch',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ocaisa I think this is just a copy of an existing patch file, is that right?

In the existing easyconfig for QE 6.0 with intel/2016b, we've just reused the existing patch for 5.4.0 which still works fine, see https://github.com/hpcugent/easybuild-easyconfigs/pull/3647/files#diff-082859e229018fe3f3bc34fbb8e2551fR35.

Can we do that here too (and also remove the new patch from this PR)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this patch is very different, it patches quantum espresso (not yambo) to call the configure of yambo in a particular way. This passes through the dependencies I introduced in the easyconfig and sorts out some issues with the preprocessor.

dependencies = [
('netCDF-Fortran', '4.4.4'),
('libxc', '2.2.3'),
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ocaisa hmm, these dependencies are not there in the QE 6.0 easyconfig using intel/2016b that was added in #3647, so we should include them there too? Are you up for doing that (I can take care of retesting)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are necessary if you want to build yambo. Yambo will go away and download them on it's own though so it only results in a build failure if you try to build offline. Happy to fix this in intel/2016b but will also need to introduce my patch there...and this should definitely be checked as it almost certainly needs to be tweaked for intel (because of a different $CPP)

(both norm-conserving and ultrasoft)."""

toolchain = {'name': 'foss', 'version': '2016b'}
toolchainopts = {'usempi': True, 'openmp': True}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ocaisa hmm, openmp is not enabled in the QE 6.0 easyconfig using intel/2016b that was added in #3647, but it probably should be, can you enable it there too please?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the other PR will work without it because LIBFFT and LIBFFT_MT are the same for MKL, for foss you end up with a link error because of a missing threaded lib. I'll add it here

@@ -0,0 +1,14 @@
For backwards compatability gfortran has an intrinsic iargc so need to use that
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ocaisa please include author or ref where you got this patch, and fix typo ('compatibility')

@@ -34,6 +34,7 @@ source_urls = [

patches = [
'QuantumESPRESSO-5.4.0_yambo-fixes.patch',
'QuantumESPRESSO-6.0_yambo-fixes-foss-2016b.patch',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this patch would already resolve the same issues as the 5.4.0 patch, might be worth commenting out the first patch and seeing if this one works as a catch-all

@ocaisa
Copy link
Member Author

ocaisa commented Nov 21, 2016

@boegel Comments addressed but the intel config needs a check alright, I think things might work with just the new patch, the fix is quite generic...only the arguments to $CPP might be different in that case. The new patch does a more trivial solve of the problem with mpif90/ifort.

@boegel boegel modified the milestones: 3.0.1, 3.1.0 Nov 26, 2016
@boegel boegel modified the milestones: 3.1.0, 3.x Feb 1, 2017
@migueldiascosta
Copy link
Member

@ocaisa, this PR is being closed for the following reason(s): no activity for > 1 year.
Please don't hesitate to reopen this PR or add a comment if you feel this contribution is still relevant.
For more information on our policy w.r.t. closing PRs, see https://easybuild.readthedocs.io/en/latest/Contributing.html#why-a-pull-request-may-be-closed-by-a-maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants