-
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
add custom easyblock for STAR-CCM+ #1613
Conversation
easybuild/easyblocks/s/star_ccm.py
Outdated
if len(cands) == 1: | ||
install_script = cands[0] | ||
|
||
env.setvar('CHECK_DISK_SPACE', 'OFF') |
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.
that's neat
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.
Yeah, and it gets better...
I just spent a couple of hours figuring out why the install script for STAR-CCM+ 16.06.008 was exiting with a non-zero exit code, with zero output.
After finding the log file (buried in $EBROOTSTARMINCCMPLUS/16.06.008/STAR-CCM+16.06.008/STAR-CCM+16.06.008_InstallLog.log
(yes, the version subdir is there twice...), and mostly seeing Status: SUCCESSFUL
, I was even more confused.
There was one Status: ERROR
though, in the disk space check step....
So it seems that setting $CHECK_DISK_SPACE
to OFF
skips the disk space check, but also marks that step as failed, and hence the install script exists with a non-zero exit code. 🤦
So to fix: either don't set $CHECK_DISK_SPACE
(if that works, I think it's only required when installing to an NFS mounted filesystem), or totally ignore the exit code of the install script and fully rely on the sanity check done by EasyBuild...
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 disabled this again, since it was causing trouble.
People can still resort to CHECK_DISK_SPACE=OFF eb ...
when installing STAR-CCM+, if the disk space check is causing trouble.
@boegel status of this one? |
@akesandgren I don't have time to get back to this, for now. |
@boegel Would be useful if you could get back to this one soon... |
…ler exit with non-zero exit code)
|
No description provided.