Skip to content

Updates to NWChem easyblock for version 6.6 etc.#834

Open
valtandor wants to merge 48 commits intoeasybuilders:developfrom
valtandor:NWChem
Open

Updates to NWChem easyblock for version 6.6 etc.#834
valtandor wants to merge 48 commits intoeasybuilders:developfrom
valtandor:NWChem

Conversation

@valtandor
Copy link
Contributor

@hpcugentbot
Copy link

Automatic reply from Jenkins: Can I test this?

@boegel boegel added this to the v2.7.0 milestone Feb 18, 2016
@boegel
Copy link
Member

boegel commented Feb 18, 2016

@hajgato: are you up for giving this a review before I dive in? A 🍪 for testing it too (cfr. easybuilders/easybuild-easyconfigs#2512)

from easybuild.tools.filetools import adjust_permissions, mkdir, write_file
from easybuild.tools.modules import get_software_libdir, get_software_root, get_software_version
from easybuild.tools.run import run_cmd
from easybuild.tools.systemtools import get_avail_core_count, get_total_memory
Copy link
Member

Choose a reason for hiding this comment

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

@valtandor: this depends on easybuilders/easybuild-framework#1623, please make that clear in the PR description

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since easybuilders/easybuild-framework#1623 was merged in log ago, I trust that is no longer necessary.

@valtandor valtandor changed the title Updates to NWChem easyblock for version 6.6 etc. Updates to NWChem easyblock for version 6.6 etc. (depends on easybuild-framework #1623) Feb 18, 2016
@valtandor
Copy link
Contributor Author

@boegel: Done.

@boegel
Copy link
Member

boegel commented Feb 18, 2016

@valtandor: no, the description (the block of text below the title), not the title :)

@valtandor
Copy link
Contributor Author

@boegel: I trust that's better.

@boegel
Copy link
Member

boegel commented Feb 18, 2016

@valtandor: I'm nitpicking here, but if you copy-paste the link of the framework PR in the description, this PR will also pop up there (it already does now, because I included the link in a comment). Just so you know...

@valtandor valtandor changed the title Updates to NWChem easyblock for version 6.6 etc. (depends on easybuild-framework #1623) Updates to NWChem easyblock for version 6.6 etc. Feb 18, 2016
Copy link
Collaborator

Choose a reason for hiding this comment

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

@valtandor: I am not sure about this one. How would it affect the existing NWChem configs?

@hajgato
Copy link
Collaborator

hajgato commented Feb 19, 2016

SUCCESS NWChem-6.1.1-goolf-1.4.10-2012-06-27-Python-2.7.3.eb
https://gist.github.com/2df64e584b9d1e8c3e22

@hajgato
Copy link
Collaborator

hajgato commented Feb 19, 2016

@valtandor: @boegel: As I was afraid, the new libmpi line (#834 (diff)) breaks existing NWChem easyconfig(s):
FAILED NWChem-6.3.revision2-intel-2014b-2013-10-17-Python-2.7.8.eb
https://gist.github.com/459a597ac0f30e5af093

ld: cannot find -lmpifort
make: *** [all] Error 1

@boegel boegel modified the milestones: 3.2.0, 3.x Mar 14, 2017
@boegel boegel modified the milestones: 3.3.0, 3.2.0 May 2, 2017
@boegel boegel modified the milestones: 3.3.0, 3.x Jun 22, 2017
# run tests
for testx in tests:
cmd = "nwchem %s" % testx
if self.cfg['mpi_exe']:
Copy link
Contributor

Choose a reason for hiding this comment

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

If I remember correctly this is already defined in the respective MPI framework? @boegel ??

if shmmax_megabytes < (mem_avail_max + 512):
mem_avail = shmmax_megabytes - 512
self.log.warning("Found system SHMMAX of %d bytes (%d MB), less than (mem_avail_max - 512) MB" % (shmmax, shmmax_megabytes))
self.log.warning("MAYBE_SYSVSHMEM will be set to %d MB, but memory-intensive calculations may not run" % mem_avail)

Choose a reason for hiding this comment

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

line too long (127 > 120 characters)

shmmax_megabytes = int(float(shmmax) / 1048576.0)
if shmmax_megabytes < (mem_avail_max + 512):
mem_avail = shmmax_megabytes - 512
self.log.warning("Found system SHMMAX of %d bytes (%d MB), less than (mem_avail_max - 512) MB" % (shmmax, shmmax_megabytes))

Choose a reason for hiding this comment

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

line too long (136 > 120 characters)

@boegel boegel modified the milestones: 3.x, 4.x Feb 20, 2020
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.

6 participants

Comments