-
Notifications
You must be signed in to change notification settings - Fork 283
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
Conversation
@@ -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() |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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...
Can we get generoso to make a test report for this ? Can't remember if that's easy to do? |
@akesandgren Not easily currently, the bot only listens to requests in the easyconfigs repo. I kicked off a couple of |
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 5 out of 5 (5 easyconfigs in total) |
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Going in, thanks @ocaisa! |
Fixes #2400