Skip to content

Allow NAMD to be built on POWER, and also use the CUDA arch info#2113

Merged
migueldiascosta merged 1 commit intoeasybuilders:developfrom
bear-rsg:namd-base-arch
Aug 13, 2020
Merged

Allow NAMD to be built on POWER, and also use the CUDA arch info#2113
migueldiascosta merged 1 commit intoeasybuilders:developfrom
bear-rsg:namd-base-arch

Conversation

@edmondac
Copy link
Copy Markdown
Contributor

An easyconfigs PR for NAMD 2.14 will follow this PR

@edmondac
Copy link
Copy Markdown
Contributor Author

Test reports available in easybuilders/easybuild-easyconfigs#11090

Copy link
Copy Markdown
Member

@migueldiascosta migueldiascosta left a comment

Choose a reason for hiding this comment

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

lgtm

@migueldiascosta
Copy link
Copy Markdown
Member

Going in, thanks @edmondac!

@migueldiascosta migueldiascosta merged commit 3aa24ae into easybuilders:develop Aug 13, 2020
# see http://charm.cs.illinois.edu/manuals/html/charm++/A.html
'charm_arch': [None, "Charm++ target architecture", MANDATORY],
'charm_opts': ['--with-production', "Charm++ build options", CUSTOM],
'namd_basearch': ['Linux-x86_64', "NAMD base target architecture (compiler family is appended", CUSTOM],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

actually, if someone out there has been using namd_basearch in easyconfigs, this will break them, wouldn't it have been safer to keep the extra option with 'None' as default and then set it in the easyblock only when it's not set in the easyconfig?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Agreed, we shouldn't remove custom easyconfig parameters, that's not a backwards compatible change (especially since in EasyBuild 4.x we complain about unknown easyconfig parameters).

I'll open a PR to fix this.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

see #2123

elif arch == POWER:
basearch = 'Linux-POWER'

cuda = get_software_root('CUDA')
Copy link
Copy Markdown
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 as expected, since dependencies are not loaded yet at this point, this should be done in prepare_step...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants