-
Notifications
You must be signed in to change notification settings - Fork 14
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
Updating for new libE interface #88
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates
optimas
to use the latestlibEnsemble
release.Highlights
num_procs
andnum_gpus
ingen_specs["out"]
). This is more portable than the previous method and will work both with NVIDIA and AMD GPUs.Exploration
(including the logs) is now stored in theexploration
folder. This is done using the newworkflow_dir
feature of libEnsemble. The simulation folders are located inexploration/evaluations
.Note
It currently needs the develop libE branch.
Do not merge until these fixes have been included in a libEnsemble release:
workflow_dir
Libensemble/libensemble#1017Before merging:
Changes
num_procs
andnum_gpus
ingen_specs["out"]
). This is more portable than the previous method in which we were settingCUDA_VISIBLE_DEVICES
.set_env_to_slots
withset_env_to_gpus
in the generator function.gen_resources
is set to0
. To make sure no resources are allocated for the generator, we now setlibE_specs['zero_resource_workers'] = [1]
Exploration
(including the logs) is now stored in theexploration
folder. This is done using the newworkflow_dir
feature of libEnsemble. The simulation folders are located inexploration/evaluations
._reset_libensemble
method to theExploration
that makes sure that some module variables in libEnsemble are reset after finishing the run. This is needed in order to launch several runs from the same script.sim_dir_copy_files
are now made absolute before passing them to libEnsemble.n_proc
renamed ton_procs
in theTemplateEvaluator
.n_gpus=0
(it used to be1
).0.2.0
.From the changes above, these will affect the user:
exploration
directory, with the simulation folders being inexploration/evaluations
.n_proc
renamed ton_procs
in theTemplateEvaluator
. (this does not really have an impact, asn_proc
was just a placehold with no effect until now)n_gpus=0
(it used to be1
).