-
Notifications
You must be signed in to change notification settings - Fork 304
Improve Mathematica easyblock to support license server configuration and version-specific executable names #3991
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
base: develop
Are you sure you want to change the base?
Conversation
…figuration and version-specific executable names
|
I checked the older versions on another cluster and obtained the following results. My cluster v14.2.1: v14.0 on other cluster: v12.1.1: |
Micket
left a comment
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
|
Test report by @Micket Overview of tested easyconfigs (in order)
Build succeeded for 0 out of 1 (1 easyconfigs in total) |
|
hrm.. how annoying, my university is only providing m with the iso file for sources, and the layout and everything is different. |
|
sorry i forgot about old #3707 |
Micket
left a comment
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, i managed to do the merge from the github ui
|
@sassy-crick you have mathematica? My source for install material only has the iso files so I can't test this easyblock. EB_MATHEMATICA_LICENSE_SERVER=math.lic.somewhere.com
eb --upload-test-report --include-easyblock-from-pr 3991 --rebuild --prefix /tmp Mathematica-14.2.0.eb should work with license server. |
|
@Micket i've installed before v14.2.1 fine from easybuilders/easybuild-easyconfigs#22823 using #3707 eblock as it's now with i've tried test report using this eblock, without our hook and passing the var for license as: and it failed it seems passing via the env var is not working |
|
mm, i'm getting the same error with the combination that worked before, using #3707 and the hook |
|
Unfortunately this merge breaks it for me as well. My file is still called 'Mathematica_14.2.1_LINUX.sh'. Was there a name change? |
|
Actually both is wrong: You should change it to: I could push the change if you want. |
… for Mathematica 14.1+
|
There was also a typo caused by the merge, which I have now corrected. You could try this: Edit: Info removed, see comment below. |
|
Edit: Log not uploaded first time. OK, I can confirm that these versions work with v14.2.1 ( |
actually it seems that is a matter of downloading the file with the documentation included or not.
if I choose Direct File Download for "Wolfram + Documentation" I get the either for 14.3.0, 14.2.1 or 14.1.0 as they show on the guide. if I choose instead Direct File Download for "Wolfram (Web Documentation Only)" I get the I don't know if we should prefer the latter as the download is smaller ? what a mess anyway, could you check on your side if you download now you get also the file with the |
|
Lets just use the sources[0] instead? That should be the script to run, no matter the version, bundle or not. |
If it is that easy, then yes! What's really annoying is that the documentation says Wolfram_%s_BNDL_LIN.sh, but it can be Wolfram_%s_LIN_Bndl.sh or Wolfram_%s_LIN.sh, as well. I get the software directly from the university and the file was called 'Mathematica_14.2.1_LINUX.sh'. So, I have no idea which version it is and will probably have the wrong checksum. |

...figuration and version-specific executable names
The executable names have changed for Mathematica 14. I asked Claude Sonnet 4.5 to modify the script using the installer output below. I also added an option to specify the licence file via the environment variable
EB_MATHEMATICA_LICENSE_SERVER.It's 100% AI, but it works and looks OK to me. Feel free to make changes.