Skip to content

update ScaLAPACK easyblock to support installation with CMake for recent versions (>= v2.1.0)#2205

Merged
bartoldeman merged 2 commits intoeasybuilders:developfrom
boegel:20201019121139_new_pr_WUxyntVati
Oct 19, 2020
Merged

update ScaLAPACK easyblock to support installation with CMake for recent versions (>= v2.1.0)#2205
bartoldeman merged 2 commits intoeasybuilders:developfrom
boegel:20201019121139_new_pr_WUxyntVati

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Oct 19, 2020

(created using eb --new-pr)
required for foss/2020b (easybuilders/easybuild-easyconfigs#11489)

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 19, 2020

Looks like a big change at first, but most of it is changing indentation, and doesn't actually affect any of the existing ScaLAPACK easyconfigs (because none of them use CMake).

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Oct 19, 2020

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS ScaLAPACK-2.0.2-gompi-2019b.eb
  • SUCCESS ScaLAPACK-2.1.0-gompi-2020a.eb

Build succeeded for 2 out of 2 (2 easyconfigs in total)
node3408.kirlia.os - Linux centos linux 7.8.2003, x86_64, Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz (cascadelake), Python 2.7.5
See https://gist.github.com/0841185f71a767506fb1126b31803393 for a full test report.

Copy link
Copy Markdown
Contributor

@bartoldeman bartoldeman left a comment

Choose a reason for hiding this comment

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

looks ok in general but you have some very long if/else statements now, I'd find it easier to read in separate functions.

Comment thread easybuild/easyblocks/s/scalapack.py Outdated

# determine interface
interface = det_interface(self.log, os.path.join(blacs, 'bin'))
if not self.use_cmake:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you put this in a separate function please, it would reduce the nesting a bit.

e.g. def build_step_cmake(self): and def_build_step_make(self) or similar.

@bartoldeman
Copy link
Copy Markdown
Contributor

lgtm

@bartoldeman bartoldeman merged commit fa926dd into easybuilders:develop Oct 19, 2020
@boegel boegel deleted the 20201019121139_new_pr_WUxyntVati branch October 19, 2020 19:22
@migueldiascosta
Copy link
Copy Markdown
Member

Test report by @migueldiascosta

Overview of tested easyconfigs (in order)

  • SUCCESS OpenBLAS-0.3.9-GCC-9.3.0.eb
  • SUCCESS ScaLAPACK-2.1.0-gompi-2020a.eb

Build succeeded for 2 out of 2 (2 easyconfigs in total)
sms - Linux centos linux 7.6.1810, x86_64, AMD EPYC 7601 32-Core Processor (zen) (zen), Python 2.7.5
See https://gist.github.com/62e195ee954bcbee490a7b01f81bbbae for a full test report.

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