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

nvidia-gpu cannot be set by exporting an environment variable in bash #24

Closed
vyu16 opened this issue Nov 25, 2022 · 2 comments
Closed

Comments

@vyu16
Copy link
Contributor

vyu16 commented Nov 25, 2022

According to the USERS_GUIDE:

The user can change this default value by setting an enviroment variable to the desired value.

The name of this variable is always constructed in the following way:

ELPA_DEFAULT_tunable_parameter_name=value

(By the way environment is misspelled as enviroment.)

However, this doesn't seem to work well with the nvidia-gpu, amd-gup, and intel-gpu variables. Various online resources mentioned that it's not allowed to have a dash in the name of an environment variable. For example see this post on stackoverflow.

So to work this around in bash, something like

env 'ELPA_DEFAULT_nvidia-gpu=1' ./test_elpa.x ...

is needed, instead of the more familar way, export ELPA_DEFAULT_nvidia-gpu=1.

It would be great if this could be clarified in the USERS_GUIDE, or even better, createnvidia_gpu, amd_gpu, and intel_gpu as aliases to the existing ones.

@marekandreas
Copy link
Owner

Dear @vyu16,
thank you for bringing this up. We will have a look at this

@marekandreas
Copy link
Owner

We have updated the documentation in ELPA 2022.11.001.rc2. Concerning the aliases with an "_" instead of "-", we will introduce this in the first release of 2023. It is to short time to accept this change still in the ELPA 2022.11.001. release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants