Emeli's steps for using workflows #11
ejanderson1
started this conversation in
Ideas
Replies: 2 comments
-
Notes on re-running a workflow(i.e., if you want to make changes to workflow script and resubmit it)
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Creating a workflow script
Step 1 - setup:
Step 2 - create workflow
Step 3 - add a wf step to update renv on the HPC
Step 4 - specify your sims
Note that in replace of my epistats file I have a restart file from calibration
Step 5 - specify your scenarios
Step 6 - netsim code
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview:
sim.R,runSim.sh, andmainSim.shfiles and submitting your job usingbashBefore you begin
workflows/to your gitignoreStep 1 - create workflow script
https://github.com/EpiModel/EpiModelHIV-Template/blob/100k/R/workflow-model_calibration.R
Step 2 - run workflow script
workflowsfolder in your projectStep 3 - create wf directory on HPC
mkdircommand or you can run the following from terminal when not logged into the HPC:ssh <user>@clogin01.sph.emory.edu "mkdir -p ~/projects/BigNets/workflows"where you insert the location that you want your workflows folder in place of the BigNets code on the right.Step 4 - copy wf files to HPC
scp -r workflows/[name_of_wf] <user>@clogin01.sph.emory.edu:/projects/epimodel/[user name]/[your project name]/workflows/Step 5 - check that your copying worked
ls -lh workflowsgit pullnow as wellStep 6 - submit batch job
Run:
chmod +x workflows/[name_of_wf]/start_workflow.shThen:
./workflows/[name_of_wf]/start_workflow.shBeta Was this translation helpful? Give feedback.
All reactions