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

Samping via FabSim #140

Closed
djgroen opened this issue Aug 1, 2019 · 6 comments

Comments

@djgroen
Copy link
Owner

commented Aug 1, 2019

This is a continuation of UCL-CCS/EasyVVUQ#127

@wedeling I have now developed a first API version, that can either be imported through $pythonpath or just inserted directly into a code base.

You can find the code here:
https://github.com/djgroen/FabSim3/blob/master/lib/fabsim3_cmd_api.py

It's part of commit 369d3c5.

Does this approach work for your purposes? And if so, are there any other specific functions you would like me to add to it?

@djgroen djgroen added this to the VECMA M15 release milestone Aug 1, 2019
@djgroen djgroen added the UQP label Aug 1, 2019
@wedeling

This comment has been minimized.

Copy link
Collaborator

commented Aug 1, 2019

I'm checking it out now

@wedeling

This comment has been minimized.

Copy link
Collaborator

commented Aug 1, 2019

@djgroen This works for my purpose. There were some errors in the fabsim3_cmd_api.py file, so I've made a copy in the code base of the example test case that I'm using for the EasyVVUQ article:

https://github.com/wedeling/FabUQCampaign/blob/master/examples/ocean_2D_paper/fabsim3_cmd_api.py

This file works with FabUQCampaign. To submit a job I use

    fab.run_uq_ensemble(my_campaign.campaign_dir, 'ocean', machine='eagle_vecma')

Here fab is the imported file above. It can take some time for the samples to complete, so I've made a separate script for post processing in which I get the results from eagle via

    fab.get_uq_samples(my_campaign.campaign_dir, machine='eagle_vecma')
@djgroen

This comment has been minimized.

Copy link
Owner Author

commented Aug 1, 2019

@wedeling Thanks a lot! I've updated the script in the FabSim3 repo as well now with your changes :).

I leave this ticket open because we need to add documentation still :).

@wedeling

This comment has been minimized.

Copy link
Collaborator

commented Aug 2, 2019

@djgroen btw, do you think we should include this in the EasyVVUQ paper already? I think it probably should be, as the source code I use will be made available as well

@djgroen

This comment has been minimized.

Copy link
Owner Author

commented Aug 2, 2019

@wedeling Yes, I am in full favour of that :).

@djgroen

This comment has been minimized.

Copy link
Owner Author

commented Sep 12, 2019

@djgroen djgroen closed this Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.