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

Can we add an API call to SCR that sets user parameters? #91

Closed
pozulp opened this issue Sep 27, 2017 · 1 comment
Closed

Can we add an API call to SCR that sets user parameters? #91

pozulp opened this issue Sep 27, 2017 · 1 comment

Comments

@pozulp
Copy link
Member

pozulp commented Sep 27, 2017

Section 6 "Configure a job" of the SCR User's Manual says

SCR searches the following locations in the following order for a parameter value, taking the first value it finds.

  1. Environment variables,
  2. User configuration file,
  3. System configuration file,
  4. Compile-time constants.

Some parameters, such as the location of the control directory, cannot be specified by the user. Such parameters must be either set in the system configuration file or hard-coded into SCR as compile-time constants.

Can we add an API call to SCR that sets user parameters, like those specified in 1. and 2.? Doing this would allow users of my code to put all scr configuration parameters inside of the input deck to my code.

Note that if SCR needs user-settable parameters at SCR_Init time, then they could be passed there instead of a new API call.

@becker33
Copy link
Collaborator

Closing as duplicate of #40. #40 has been tagged for v1.3 and assigned to me. By noting #40 by reference here, this conversation will be linked to from #40.

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