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

also consider $EB_COMSOL_LICENSE_FILE environment variable in custom easyblock for COMSOL #3044

Merged
merged 2 commits into from
Dec 29, 2023

Conversation

Micket
Copy link
Contributor

@Micket Micket commented Nov 29, 2023

(created using eb --new-pr)

I don't know if i really matters if i target this to develop or 5.0 branch. Noone ever merges my COMSOL easyconfigs anyway.

@@ -59,7 +59,7 @@ def extract_step(self):
def configure_step(self):
"""Configure COMSOL installation: create license file."""

default_lic_env_var = 'LMCOMSOL_LICENSE_FILE'
default_lic_env_var = 'EB_COMSOL_LICENSE_FILE'
Copy link
Member

Choose a reason for hiding this comment

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

Can't we consider both?

Need to check whether find_flexlm_license considers all variables passed to custom_env_vars (but I think it does)

Copy link
Contributor

@smoors smoors Dec 28, 2023

Choose a reason for hiding this comment

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

i just checked and it does consider all of them indeed. it also considers LM_LICENSE_FILE, but only if custom_env_vars does not yield a valid license.

@boegel boegel changed the title Use EB_COMSOL_LICENSE_FILE variable name Use $EB_COMSOL_LICENSE_FILE variable in custom easyblock for COMSOL Dec 6, 2023
@boegel boegel changed the title Use $EB_COMSOL_LICENSE_FILE variable in custom easyblock for COMSOL also consider $EB_COMSOL_LICENSE_FILE environment variable in custom easyblock for COMSOL Dec 29, 2023
@boegel boegel merged commit 6cd454a into easybuilders:develop Dec 29, 2023
47 checks passed
@Micket Micket deleted the 20231129171637_new_pr_comsol branch December 29, 2023 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants