{"action":"created","comment":{"url":"https://api.github.com/repos/ESMCI/cime/pulls/comments/70895626","id":70895626,"diff_hunk":"@@ -1,128 +0,0 @@\n-#!/bin/csh -f\n-# cesm_prerun without performance data archiving: \n-#  ./cesm_prerun with the following argument keyword/value pairs, in any order\n-#   -machine <system name>\n-#   -compiler <compiler name> \n-#   -case <case name>\n-#   -jobid <should be same as $PBS_JOBID for PBS and $COBALT_JOBID> for Cobalt>\n-#   -cesmid <$LID in cesm-lingo>\n-#   -user <should be same as $LOGNAME>\n-#   -caseroot <directory from which job script was submitted>\n-#   -rundir <run directory>\n-#   -save <TRUE|true|anything else>\n-#   -archive <performance archive root directory>\n-#   -sampling <sampling interval in seconds>\n-\n-set machine = 'unknown'\n-set compiler = 'unknown'\n-set case = 'unknown'\n-set app_jobid = 'unknown'\n-set lid = 'unknown'\n-set user = 'unknown'\n-set caseroot = '.'\n-set run_dir = '.'\n-set save_timing = 'FALSE'\n-set save_timing_dir = '/UNSET'\n-set sample_interval = 0\n-\n-set i = 1\n-while ($i < $#argv)\n-  if      (\"X$argv[$i]\" == 'X-machine') then\n-    @ i = $i + 1\n-    set machine = $argv[$i]\n-  else if (\"X$argv[$i]\" == 'X-compiler') then\n-    @ i = $i + 1\n-    set compiler = $argv[$i]\n-  else if (\"X$argv[$i]\" == 'X-case') then\n-    @ i = $i + 1\n-    set case = $argv[$i]\n-  else if (\"X$argv[$i]\" == 'X-jobid') then\n-    @ i = $i + 1\n-    set app_jobid = $argv[$i]\n-  else if (\"X$argv[$i]\" == 'X-cesmid') then\n-    @ i = $i + 1\n-    set lid = $argv[$i]\n-  else if (\"X$argv[$i]\" == 'X-user') then\n-    @ i = $i + 1\n-    set user = $argv[$i]\n-  else if (\"X$argv[$i]\" == 'X-caseroot') then\n-    @ i = $i + 1\n-    set caseroot = $argv[$i]\n-  else if (\"X$argv[$i]\" == 'X-rundir') then\n-    @ i = $i + 1\n-    set run_dir = $argv[$i]\n-  else if (\"X$argv[$i]\" == 'X-save') then\n-    @ i = $i + 1\n-    set save_timing = $argv[$i]\n-  else if (\"X$argv[$i]\" == 'X-archive') then\n-    @ i = $i + 1\n-    set save_timing_dir = $argv[$i]\n-  else if (\"X$argv[$i]\" == 'X-sampling') then\n-    @ i = $i + 1\n-    set sample_interval = $argv[$i]\n-  endif\n-  @ i = $i + 1\n-end\n-\n-if (-e $run_dir/cesm_prerun_done) then\n-  /bin/rm $run_dir/cesm_prerun_done\n-endif\n-\n-if ($app_jobid == 'unknown') then\n-  if ($machine == 'titan') then\n-\n-    set app_jobid = $PBS_JOBID\n-\n-  else if (($machine == 'edison') || ($machine == 'corip1')) then\n-\n-    set app_jobid = $SLURM_JOB_ID\n-\n-  else if ($machine == 'mira') then\n-\n-    set app_jobid = $COBALT_JOBID\n-\n-  endif  \n-endif\n-\n-if ($machine == 'titan') then","path":"cime_config/acme/machines/cesm_prerun","position":87,"original_position":87,"commit_id":"302c66c97f86a90bf4ac5a730734e7d84b0a9629","original_commit_id":"302c66c97f86a90bf4ac5a730734e7d84b0a9629","user":{"login":"jgfouca","id":7292036,"avatar_url":"https://avatars.githubusercontent.com/u/7292036?v=3","gravatar_id":"","url":"https://api.github.com/users/jgfouca","html_url":"https://github.com/jgfouca","followers_url":"https://api.github.com/users/jgfouca/followers","following_url":"https://api.github.com/users/jgfouca/following{/other_user}","gists_url":"https://api.github.com/users/jgfouca/gists{/gist_id}","starred_url":"https://api.github.com/users/jgfouca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgfouca/subscriptions","organizations_url":"https://api.github.com/users/jgfouca/orgs","repos_url":"https://api.github.com/users/jgfouca/repos","events_url":"https://api.github.com/users/jgfouca/events{/privacy}","received_events_url":"https://api.github.com/users/jgfouca/received_events","type":"User","site_admin":false},"body":"Will the lack of $lid suffix break anything? If not, we can have that discussion anytime.","created_at":"2016-07-14T22:29:55Z","updated_at":"2016-07-14T22:29:55Z","html_url":"https://github.com/ESMCI/cime/pull/259#discussion_r70895626","pull_request_url":"https://api.github.com/repos/ESMCI/cime/pulls/259","_links":{"self":{"href":"https://api.github.com/repos/ESMCI/cime/pulls/comments/70895626"},"html":{"href":"https://github.com/ESMCI/cime/pull/259#discussion_r70895626"},"pull_request":{"href":"https://api.github.com/repos/ESMCI/cime/pulls/259"}}},"pull_request":{"url":"https://api.github.com/repos/ESMCI/cime/pulls/259","id":77528845,"html_url":"https://github.com/ESMCI/cime/pull/259","diff_url":"https://github.com/ESMCI/cime/pull/259.diff","patch_url":"https://github.com/ESMCI/cime/pull/259.patch","issue_url":"https://api.github.com/repos/ESMCI/cime/issues/259","number":259,"state":"open","locked":false,"title":"Port performance archiving scripts to python.","user":{"login":"jgfouca","id":7292036,"avatar_url":"https://avatars.githubusercontent.com/u/7292036?v=3","gravatar_id":"","url":"https://api.github.com/users/jgfouca","html_url":"https://github.com/jgfouca","followers_url":"https://api.github.com/users/jgfouca/followers","following_url":"https://api.github.com/users/jgfouca/following{/other_user}","gists_url":"https://api.github.com/users/jgfouca/gists{/gist_id}","starred_url":"https://api.github.com/users/jgfouca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgfouca/subscriptions","organizations_url":"https://api.github.com/users/jgfouca/orgs","repos_url":"https://api.github.com/users/jgfouca/repos","events_url":"https://api.github.com/users/jgfouca/events{/privacy}","received_events_url":"https://api.github.com/users/jgfouca/received_events","type":"User","site_admin":false},"body":"1) Add SAVE_TIMING_DIR run parameter\r\n2) Define this paramter for melvin and skybrige\r\n3) Add --save-timing to create_test to enable timing archiving via create_test\r\n4) Fix exception hiding in system_test_common\r\n5) Convert case_run.py to PEP-compliant naming conventions for functions\r\n6) Add utility functions for easy zipping and touching of files\r\n7) Add regression test that runs create_test with --save-timing\r\n\r\nTest suite: scripts_regression_tests\r\nTest baseline: \r\nTest namelist changes: \r\nTest status: bit for bit\r\n\r\nFixes: [CIME Github issue #]\r\n\r\nUser interface changes?: Minor\r\n\r\nCode review: @jedwards4b @rljacob, @worleyph \r\n\r\n","created_at":"2016-07-14T21:26:23Z","updated_at":"2016-07-14T22:29:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"jedwards4b","id":6126104,"avatar_url":"https://avatars.githubusercontent.com/u/6126104?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards4b","html_url":"https://github.com/jedwards4b","followers_url":"https://api.github.com/users/jedwards4b/followers","following_url":"https://api.github.com/users/jedwards4b/following{/other_user}","gists_url":"https://api.github.com/users/jedwards4b/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards4b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards4b/subscriptions","organizations_url":"https://api.github.com/users/jedwards4b/orgs","repos_url":"https://api.github.com/users/jedwards4b/repos","events_url":"https://api.github.com/users/jedwards4b/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards4b/received_events","type":"User","site_admin":false},"assignees":[{"login":"jedwards4b","id":6126104,"avatar_url":"https://avatars.githubusercontent.com/u/6126104?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards4b","html_url":"https://github.com/jedwards4b","followers_url":"https://api.github.com/users/jedwards4b/followers","following_url":"https://api.github.com/users/jedwards4b/following{/other_user}","gists_url":"https://api.github.com/users/jedwards4b/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards4b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards4b/subscriptions","organizations_url":"https://api.github.com/users/jedwards4b/orgs","repos_url":"https://api.github.com/users/jedwards4b/repos","events_url":"https://api.github.com/users/jedwards4b/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards4b/received_events","type":"User","site_admin":false},{"login":"worleyph","id":7872788,"avatar_url":"https://avatars.githubusercontent.com/u/7872788?v=3","gravatar_id":"","url":"https://api.github.com/users/worleyph","html_url":"https://github.com/worleyph","followers_url":"https://api.github.com/users/worleyph/followers","following_url":"https://api.github.com/users/worleyph/following{/other_user}","gists_url":"https://api.github.com/users/worleyph/gists{/gist_id}","starred_url":"https://api.github.com/users/worleyph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worleyph/subscriptions","organizations_url":"https://api.github.com/users/worleyph/orgs","repos_url":"https://api.github.com/users/worleyph/repos","events_url":"https://api.github.com/users/worleyph/events{/privacy}","received_events_url":"https://api.github.com/users/worleyph/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ESMCI/cime/pulls/259/commits","review_comments_url":"https://api.github.com/repos/ESMCI/cime/pulls/259/comments","review_comment_url":"https://api.github.com/repos/ESMCI/cime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ESMCI/cime/issues/259/comments","statuses_url":"https://api.github.com/repos/ESMCI/cime/statuses/302c66c97f86a90bf4ac5a730734e7d84b0a9629","head":{"label":"ESMCI:jgfouca/fix_acme_postbuild","ref":"jgfouca/fix_acme_postbuild","sha":"302c66c97f86a90bf4ac5a730734e7d84b0a9629","user":{"login":"ESMCI","id":10676238,"avatar_url":"https://avatars.githubusercontent.com/u/10676238?v=3","gravatar_id":"","url":"https://api.github.com/users/ESMCI","html_url":"https://github.com/ESMCI","followers_url":"https://api.github.com/users/ESMCI/followers","following_url":"https://api.github.com/users/ESMCI/following{/other_user}","gists_url":"https://api.github.com/users/ESMCI/gists{/gist_id}","starred_url":"https://api.github.com/users/ESMCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESMCI/subscriptions","organizations_url":"https://api.github.com/users/ESMCI/orgs","repos_url":"https://api.github.com/users/ESMCI/repos","events_url":"https://api.github.com/users/ESMCI/events{/privacy}","received_events_url":"https://api.github.com/users/ESMCI/received_events","type":"Organization","site_admin":false},"repo":{"id":31605662,"name":"cime","full_name":"ESMCI/cime","owner":{"login":"ESMCI","id":10676238,"avatar_url":"https://avatars.githubusercontent.com/u/10676238?v=3","gravatar_id":"","url":"https://api.github.com/users/ESMCI","html_url":"https://github.com/ESMCI","followers_url":"https://api.github.com/users/ESMCI/followers","following_url":"https://api.github.com/users/ESMCI/following{/other_user}","gists_url":"https://api.github.com/users/ESMCI/gists{/gist_id}","starred_url":"https://api.github.com/users/ESMCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESMCI/subscriptions","organizations_url":"https://api.github.com/users/ESMCI/orgs","repos_url":"https://api.github.com/users/ESMCI/repos","events_url":"https://api.github.com/users/ESMCI/events{/privacy}","received_events_url":"https://api.github.com/users/ESMCI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ESMCI/cime","description":"Common Infrastructure for Modeling the Earth","fork":false,"url":"https://api.github.com/repos/ESMCI/cime","forks_url":"https://api.github.com/repos/ESMCI/cime/forks","keys_url":"https://api.github.com/repos/ESMCI/cime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ESMCI/cime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ESMCI/cime/teams","hooks_url":"https://api.github.com/repos/ESMCI/cime/hooks","issue_events_url":"https://api.github.com/repos/ESMCI/cime/issues/events{/number}","events_url":"https://api.github.com/repos/ESMCI/cime/events","assignees_url":"https://api.github.com/repos/ESMCI/cime/assignees{/user}","branches_url":"https://api.github.com/repos/ESMCI/cime/branches{/branch}","tags_url":"https://api.github.com/repos/ESMCI/cime/tags","blobs_url":"https://api.github.com/repos/ESMCI/cime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ESMCI/cime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ESMCI/cime/git/refs{/sha}","trees_url":"https://api.github.com/repos/ESMCI/cime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ESMCI/cime/statuses/{sha}","languages_url":"https://api.github.com/repos/ESMCI/cime/languages","stargazers_url":"https://api.github.com/repos/ESMCI/cime/stargazers","contributors_url":"https://api.github.com/repos/ESMCI/cime/contributors","subscribers_url":"https://api.github.com/repos/ESMCI/cime/subscribers","subscription_url":"https://api.github.com/repos/ESMCI/cime/subscription","commits_url":"https://api.github.com/repos/ESMCI/cime/commits{/sha}","git_commits_url":"https://api.github.com/repos/ESMCI/cime/git/commits{/sha}","comments_url":"https://api.github.com/repos/ESMCI/cime/comments{/number}","issue_comment_url":"https://api.github.com/repos/ESMCI/cime/issues/comments{/number}","contents_url":"https://api.github.com/repos/ESMCI/cime/contents/{+path}","compare_url":"https://api.github.com/repos/ESMCI/cime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ESMCI/cime/merges","archive_url":"https://api.github.com/repos/ESMCI/cime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ESMCI/cime/downloads","issues_url":"https://api.github.com/repos/ESMCI/cime/issues{/number}","pulls_url":"https://api.github.com/repos/ESMCI/cime/pulls{/number}","milestones_url":"https://api.github.com/repos/ESMCI/cime/milestones{/number}","notifications_url":"https://api.github.com/repos/ESMCI/cime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ESMCI/cime/labels{/name}","releases_url":"https://api.github.com/repos/ESMCI/cime/releases{/id}","deployments_url":"https://api.github.com/repos/ESMCI/cime/deployments","created_at":"2015-03-03T15:33:00Z","updated_at":"2016-02-21T17:54:50Z","pushed_at":"2016-07-14T21:48:00Z","git_url":"git://github.com/ESMCI/cime.git","ssh_url":"git@github.com:ESMCI/cime.git","clone_url":"https://github.com/ESMCI/cime.git","svn_url":"https://github.com/ESMCI/cime","homepage":"","size":20185,"stargazers_count":2,"watchers_count":2,"language":"FORTRAN","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":33,"mirror_url":null,"open_issues_count":35,"forks":33,"open_issues":35,"watchers":2,"default_branch":"master"}},"base":{"label":"ESMCI:master","ref":"master","sha":"8fa604ae45245a3e9f7104000fe41169a05b3c87","user":{"login":"ESMCI","id":10676238,"avatar_url":"https://avatars.githubusercontent.com/u/10676238?v=3","gravatar_id":"","url":"https://api.github.com/users/ESMCI","html_url":"https://github.com/ESMCI","followers_url":"https://api.github.com/users/ESMCI/followers","following_url":"https://api.github.com/users/ESMCI/following{/other_user}","gists_url":"https://api.github.com/users/ESMCI/gists{/gist_id}","starred_url":"https://api.github.com/users/ESMCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESMCI/subscriptions","organizations_url":"https://api.github.com/users/ESMCI/orgs","repos_url":"https://api.github.com/users/ESMCI/repos","events_url":"https://api.github.com/users/ESMCI/events{/privacy}","received_events_url":"https://api.github.com/users/ESMCI/received_events","type":"Organization","site_admin":false},"repo":{"id":31605662,"name":"cime","full_name":"ESMCI/cime","owner":{"login":"ESMCI","id":10676238,"avatar_url":"https://avatars.githubusercontent.com/u/10676238?v=3","gravatar_id":"","url":"https://api.github.com/users/ESMCI","html_url":"https://github.com/ESMCI","followers_url":"https://api.github.com/users/ESMCI/followers","following_url":"https://api.github.com/users/ESMCI/following{/other_user}","gists_url":"https://api.github.com/users/ESMCI/gists{/gist_id}","starred_url":"https://api.github.com/users/ESMCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESMCI/subscriptions","organizations_url":"https://api.github.com/users/ESMCI/orgs","repos_url":"https://api.github.com/users/ESMCI/repos","events_url":"https://api.github.com/users/ESMCI/events{/privacy}","received_events_url":"https://api.github.com/users/ESMCI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ESMCI/cime","description":"Common Infrastructure for Modeling the Earth","fork":false,"url":"https://api.github.com/repos/ESMCI/cime","forks_url":"https://api.github.com/repos/ESMCI/cime/forks","keys_url":"https://api.github.com/repos/ESMCI/cime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ESMCI/cime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ESMCI/cime/teams","hooks_url":"https://api.github.com/repos/ESMCI/cime/hooks","issue_events_url":"https://api.github.com/repos/ESMCI/cime/issues/events{/number}","events_url":"https://api.github.com/repos/ESMCI/cime/events","assignees_url":"https://api.github.com/repos/ESMCI/cime/assignees{/user}","branches_url":"https://api.github.com/repos/ESMCI/cime/branches{/branch}","tags_url":"https://api.github.com/repos/ESMCI/cime/tags","blobs_url":"https://api.github.com/repos/ESMCI/cime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ESMCI/cime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ESMCI/cime/git/refs{/sha}","trees_url":"https://api.github.com/repos/ESMCI/cime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ESMCI/cime/statuses/{sha}","languages_url":"https://api.github.com/repos/ESMCI/cime/languages","stargazers_url":"https://api.github.com/repos/ESMCI/cime/stargazers","contributors_url":"https://api.github.com/repos/ESMCI/cime/contributors","subscribers_url":"https://api.github.com/repos/ESMCI/cime/subscribers","subscription_url":"https://api.github.com/repos/ESMCI/cime/subscription","commits_url":"https://api.github.com/repos/ESMCI/cime/commits{/sha}","git_commits_url":"https://api.github.com/repos/ESMCI/cime/git/commits{/sha}","comments_url":"https://api.github.com/repos/ESMCI/cime/comments{/number}","issue_comment_url":"https://api.github.com/repos/ESMCI/cime/issues/comments{/number}","contents_url":"https://api.github.com/repos/ESMCI/cime/contents/{+path}","compare_url":"https://api.github.com/repos/ESMCI/cime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ESMCI/cime/merges","archive_url":"https://api.github.com/repos/ESMCI/cime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ESMCI/cime/downloads","issues_url":"https://api.github.com/repos/ESMCI/cime/issues{/number}","pulls_url":"https://api.github.com/repos/ESMCI/cime/pulls{/number}","milestones_url":"https://api.github.com/repos/ESMCI/cime/milestones{/number}","notifications_url":"https://api.github.com/repos/ESMCI/cime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ESMCI/cime/labels{/name}","releases_url":"https://api.github.com/repos/ESMCI/cime/releases{/id}","deployments_url":"https://api.github.com/repos/ESMCI/cime/deployments","created_at":"2015-03-03T15:33:00Z","updated_at":"2016-02-21T17:54:50Z","pushed_at":"2016-07-14T21:48:00Z","git_url":"git://github.com/ESMCI/cime.git","ssh_url":"git@github.com:ESMCI/cime.git","clone_url":"https://github.com/ESMCI/cime.git","svn_url":"https://github.com/ESMCI/cime","homepage":"","size":20185,"stargazers_count":2,"watchers_count":2,"language":"FORTRAN","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":33,"mirror_url":null,"open_issues_count":35,"forks":33,"open_issues":35,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ESMCI/cime/pulls/259"},"html":{"href":"https://github.com/ESMCI/cime/pull/259"},"issue":{"href":"https://api.github.com/repos/ESMCI/cime/issues/259"},"comments":{"href":"https://api.github.com/repos/ESMCI/cime/issues/259/comments"},"review_comments":{"href":"https://api.github.com/repos/ESMCI/cime/pulls/259/comments"},"review_comment":{"href":"https://api.github.com/repos/ESMCI/cime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ESMCI/cime/pulls/259/commits"},"statuses":{"href":"https://api.github.com/repos/ESMCI/cime/statuses/302c66c97f86a90bf4ac5a730734e7d84b0a9629"}}}}
{"actor":{"display_login":"jgfouca"}}