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

Make sure OpenFOAM sanity checks don't require builddir write permissions #2415

Merged
merged 1 commit into from
May 25, 2021

Conversation

ocaisa
Copy link
Member

@ocaisa ocaisa commented May 10, 2021

Fixes #2400

@@ -489,9 +490,10 @@ def sanity_check_step(self):
openfoamdir_path = os.path.join(self.installdir, self.openfoamdir)
motorbike_path = os.path.join(openfoamdir_path, 'tutorials', 'incompressible', 'simpleFoam', 'motorBike')
if os.path.exists(motorbike_path):
test_dir = tempfile.mkdtemp()
Copy link
Member Author

Choose a reason for hiding this comment

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

This may cause issues if the example is run on more than one node

Copy link
Member Author

Choose a reason for hiding this comment

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

but it is fixable by setting the --tmpdir option to be on a parallel file system

Copy link
Member

Choose a reason for hiding this comment

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

I think it's safe to assume that in general EasyBuild isn't running in a multi-node context...

@ocaisa ocaisa added bug fix EESSI Related to EESSI project labels May 10, 2021
@boegel boegel added this to the next release (4.3.5?) milestone May 12, 2021
@akesandgren
Copy link
Contributor

Can we get generoso to make a test report for this ? Can't remember if that's easy to do?

@boegel
Copy link
Member

boegel commented May 24, 2021

@akesandgren Not easily currently, the bot only listens to requests in the easyconfigs repo.

I kicked off a couple of --module-only tests, results should be in soon...

@boegel
Copy link
Member

boegel commented May 24, 2021

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS OpenFOAM-6-foss-2019b.eb
  • SUCCESS OpenFOAM-7-foss-2019b-20200508.eb
  • SUCCESS OpenFOAM-7-foss-2019b.eb
  • SUCCESS OpenFOAM-8-foss-2020a.eb
  • SUCCESS OpenFOAM-8-foss-2020b.eb

Build succeeded for 5 out of 5 (5 easyconfigs in total)
node2618.swalot.os - Linux centos linux 7.9.2009, x86_64, Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (haswell), Python 3.6.8
See https://gist.github.com/22f3a51c5b5d77c63a6f179f5cedec59 for a full test report.

@boegelbot
Copy link

Test report by @boegelbot

Overview of tested easyconfigs (in order)

  • SUCCESS OpenFOAM-8-foss-2020b.eb

Build succeeded for 1 out of 1 (1 easyconfigs in total)
generoso - Linux centos linux 8.2.2004, x86_64, Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz (haswell), Python 3.6.8
See https://gist.github.com/629e61e1834ce25ad7910d865a8fff47 for a full test report.

Copy link
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

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

LGTM

@akesandgren
Copy link
Contributor

Going in, thanks @ocaisa!

@akesandgren akesandgren merged commit e073d84 into easybuilders:develop May 25, 2021
@boegel boegel changed the title Make sure OpenFOAM sanity checks don't requite builddir write permissions Make sure OpenFOAM sanity checks don't require builddir write permissions Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix EESSI Related to EESSI project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenFOAM sanity check requires write permission in installation directory
4 participants