What can be improved? What is missing?
This issue was created here for tracking PR 104 and looping in discussions about the method to construct a local Anaconda environment on the Cloud Sandbox head node. The goal here is to ensure that this method is noninvasive on the head node and will not present any conflicts to other ec2-users if they follow this general method for local Python installations. If issues arise, this issue is intended on discussing further details on this GitHub issue and proposed changes to the PR.
Testing Instructions for the new local Python environment to ensure its compatibility with the master branch of the Cloud Sandbox
- cd /save/ec2-user/OWP/
- mkdir UW_test_case; cd UW_test_case
- git clone https://github.com/ioos/Cloud-Sandbox.git
- cd Cloud-Sandbox/cloudflow/
- vi ./job/jobs/roms.template (This template is where a user specifies their model setup/run directory on the Cloud-Sandbox or some s3 bucket mount, the pathway to the model executable, and the required master file specifically for ROMS. The "jobtype" and "ofs" should be left as their defaults for the model template workflow since ROMS has been integrated already)
- vi ./cluster/configs/OWP/roms.ioos (This template is where a user would specify the computational resources needed for their own given ROMS model run in this case. The "nodetype" is the AWS node instance requested by a user and the "nodecount" is the number of nodes a user will request (granted full resources for each node). All the rest of the configurations here are left as default credentials required for the Cloud-Sandbox AWS account to access resources.
- vi ./workflows/workflow_template.py (This is the model template workflow driver script to run the entire Cloud-Sandbox process. In this case, the user will want to modify the variable "template_conf" pointing to the pathway of the same file here they've modified in step # 6 (roms.ioos).
- Finally, the user will now execute the workflow driver script USING THEIR OWN LOCALLY INSTALLED PYTHON ENVIRONMENT: nohup /pathway/to/FirstName_LastName_Anaconda_Installation/anaconda3/bin/python3 ./workflows/workflow_template.py ./job/jobs/roms.template > roms_test.out &
- To monitor the progress of the Cloud-Sandbox execution, execute the following command: tail -f roms_test.out
- All done!
What can be improved? What is missing?
This issue was created here for tracking PR 104 and looping in discussions about the method to construct a local Anaconda environment on the Cloud Sandbox head node. The goal here is to ensure that this method is noninvasive on the head node and will not present any conflicts to other ec2-users if they follow this general method for local Python installations. If issues arise, this issue is intended on discussing further details on this GitHub issue and proposed changes to the PR.
Testing Instructions for the new local Python environment to ensure its compatibility with the master branch of the Cloud Sandbox