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

Rename job configuration files #352

Merged

Conversation

lars-petter-hauge
Copy link
Contributor

Solves #306

libres will look for an executable in the same folder as the job
configuration file is located. If the name of the config is the same as
the name of the executable, libres will be confused. The usual standard
in ERT would be to capitalize the config file. On OSX systems, which are
case-insensitive, this isn't viable. The job config files are therefore
appended with "_CONFIG". The jobs will be installed as JOB_NAME
JOB_NAME_CONFIG, and the JOB_NAME_CONFIG will point to an executable
named job_name - which we install with entry-points. The user can use
the forward model job as normal: SIMULATION_JOB JOB_NAME

libres will look for an executable in the same folder as the job
configuration file is located. If the name of the config is the same as
the name of the executable, libres will be confused. The usual standard
in ERT would be to capitalize the config file. On OSX systems, which are
case-insensitive, this isn't viable. The job config files are therefore
appended with "_CONFIG". The jobs will be installed as JOB_NAME
JOB_NAME_CONFIG, and the JOB_NAME_CONFIG will point to an executable
named job_name - which we install with entry-points. The user can use
the forward model job as normal: SIMULATION_JOB JOB_NAME
@lars-petter-hauge
Copy link
Contributor Author

New issues spawned from this PR: #354

Copy link
Contributor

@oyvindeide oyvindeide left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing, was quite annoying to run the tests on mac before this.

@lars-petter-hauge lars-petter-hauge merged commit 9a01c0a into equinor:master Oct 5, 2021
@lars-petter-hauge lars-petter-hauge deleted the rename_config_files branch October 5, 2021 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants