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

add attribute check for toolchainopts documentation #1839

Merged
merged 3 commits into from
Jul 8, 2016

Conversation

Caylo
Copy link
Contributor

@Caylo Caylo commented Jul 8, 2016

fixes a bug in #1830 for toolchains without MPI options

@@ -564,7 +564,14 @@ def avail_toolchain_opts(name, output_format=FORMAT_TXT):
raise EasyBuildError("Couldn't find toolchain: '%s'. To see available toolchains, use --list-toolchains" % name)
tc = tc_class(version='1.0') # version doesn't matter here, but needs to be defined

options = [tc.COMPILER_SHARED_OPTS, tc.COMPILER_UNIQUE_OPTS, tc.MPI_SHARED_OPTS, tc.MPI_UNIQUE_OPTS]
mpishared = []
mpiunique = []
Copy link
Member

Choose a reason for hiding this comment

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

this won't work, since you use these values in .update(..), so they should be {} instead?

@boegel boegel added this to the v2.8.2 milestone Jul 8, 2016
options = [tc.COMPILER_SHARED_OPTS, tc.COMPILER_UNIQUE_OPTS, tc.MPI_SHARED_OPTS, tc.MPI_UNIQUE_OPTS]

mpishared = []
mpiunique = []
Copy link
Member

Choose a reason for hiding this comment

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

@Caylo these's are longer used, so please remove?

@boegel
Copy link
Member

boegel commented Jul 8, 2016

Thanks @Caylo!

@boegel boegel merged commit 4f80d1d into easybuilders:develop Jul 8, 2016
boegel added a commit to boegel/easybuild-framework that referenced this pull request Jul 8, 2016
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.

2 participants