Skip to content

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

Merged
boegel merged 2 commits intoeasybuilders:developfrom
Micket:20231129171637_new_pr_comsol
Dec 29, 2023
Merged

also consider $EB_COMSOL_LICENSE_FILE environment variable in custom easyblock for COMSOL#3044
boegel merged 2 commits intoeasybuilders:developfrom
Micket:20231129171637_new_pr_comsol

Conversation

@Micket
Copy link
Copy Markdown
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.

Comment thread easybuild/easyblocks/c/comsol.py Outdated
"""Configure COMSOL installation: create license file."""

default_lic_env_var = 'LMCOMSOL_LICENSE_FILE'
default_lic_env_var = 'EB_COMSOL_LICENSE_FILE'
Copy link
Copy Markdown
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
Copy Markdown
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
@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