{"action":"created","comment":{"url":"https://api.github.com/repos/nesi/zendesk-articles/pulls/comments/37046367","id":37046367,"diff_hunk":"@@ -0,0 +1,118 @@\n+Category: Available Software\n+Section: Compilers, Libraries and Interpreters \n+<!-- The above lines, specifying the category and section, must be present and\n+always comprising the first and second lines of the article respectively. -->\n+\n+# Description\n+\n+Java is a computer programming language that is concurrent, class-based,\n+object-oriented, and specifically designed to have as few implementation\n+dependencies as possible. It is intended to let application developers \"write\n+once, run anywhere\" (WORA), meaning that code that runs on one platform does\n+not need to be recompiled to run on another. Java applications are typically\n+compiled to bytecode (class file) that can run on any Java virtual machine\n+(JVM) regardless of computer architecture. Java is, as of 2012, one of the most\n+popular programming languages in use, particularly for client-server web\n+applications, with a reported 9 million developers.[10][11] Java was originally\n+developed by James Gosling at Sun Microsystems (which has since merged into\n+Oracle Corporation) and released in 1995 as a core component of Sun\n+Microsystems' Java platform. The language derives much of its syntax from C and\n+C++, but it has fewer low-level facilities than either of them.\n+\n+[Click here](http://www.java.com) to visit the home page.\n+\n+# Available modules\n+<!--This is a placeholder for an automatically generated table. Do not edit.-->\n+\n+# Licensing requirements\n+\n+All versions of Java on NeSI clusters have been made available by their\n+respective owners at no cost under a limited, closed-source licence. The full\n+licence terms and conditions for any given version of Java can be found by\n+following the directions in `${JAVA_HOME}/LICENSE`.\n+\n+# Example scripts\n+\n+## Example script for the Pan cluster\n+\n+\t#!/bin/bash\n+\t\n+\t#SBATCH      --job-name=MyJavaJob\t\n+\t#SBATCH       --account=nesi99999\n+\t#SBATCH          --time=01:00:00\n+\t#SBATCH --cpus-per-task=8        # 8 OpenMP threads\n+\t#SBATCH   --mem-per-cpu=4096     # 4,096 MB of memory per thread\n+\t#SBATCH       --workdir=/projects/nesi99999/MyJavaJob\n+\t#SBATCH        --output=MyJavaJob.out\n+\t#SBATCH         --error=MyJavaJob.err\n+\t#SBATCH     --mail-type=ALL\n+\t#SBATCH     --mail-user=j.bloggs@example.com\n+\t#SBATCH     --mail-user=jblo123@example.ac.nz\n+\t\n+\tmodule load Java/1.8.0_40\n+\tjava -Xmx24576m -jar /path/to/foo.jar\n+\n+## Example script for the Fitzroy cluster\n+\n+\t#!/bin/bash\n+\t\n+\t#@ job_name = MyJavaJob\n+\t#@ account_no = nesi99999\n+\t#@ class = General\n+\t#@ wall_clock_limit = 01:00:00\n+\t#@ job_type = parallel\n+\t#@ node = 1\n+\t#@ tasks_per_node = 1\n+\t#@ parallel_threads = 64\n+\t#@ resources = ConsumableMemory(32gb)\n+\t#@ initialdir = /hpcf/working/nesi99999/MyJavaJob\n+\t#@ output = $(job_name).out\n+\t#@ error = $(job_name).err\n+\t#@ notification = always\n+\t#@ notify_user = j.bloggs@example.com\n+\t#@ queue\n+\t\n+\tmodule load java/1.6\n+\tjava -Xmx24576m -jar /path/to/foo.jar\n+\n+## Example script for the UC HPC Power7 cluster\n+\n+\t#!/bin/bash\n+\t\n+\t#@ job_name = MyJavaJob\n+\t#@ account_no = nesi99999\n+\t#@ group = UC\n+\t#@ class = p7linux\n+\t#@ wall_clock_limit = 01:00:00\n+\t#@ job_type = parallel\n+\t#@ node = 1\n+\t#@ tasks_per_node = 1\n+\t#@ parallel_threads = 8\n+\t#@ task_affinity = core(8)\n+\t#@ rset = rset_mcm_affinity\n+\t#@ cpus_per_core = 1\n+\t#@ resources = ConsumableMemory(32gb)","path":"Java.md","position":null,"original_position":94,"commit_id":"bb257b47a36157823511a0bb00e5195ac37de938","original_commit_id":"ba3f8828b6a8c8e83fb320906fa58b1b1bba516f","user":{"login":"valtandor","id":2653689,"avatar_url":"https://avatars.githubusercontent.com/u/2653689?v=3","gravatar_id":"","url":"https://api.github.com/users/valtandor","html_url":"https://github.com/valtandor","followers_url":"https://api.github.com/users/valtandor/followers","following_url":"https://api.github.com/users/valtandor/following{/other_user}","gists_url":"https://api.github.com/users/valtandor/gists{/gist_id}","starred_url":"https://api.github.com/users/valtandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valtandor/subscriptions","organizations_url":"https://api.github.com/users/valtandor/orgs","repos_url":"https://api.github.com/users/valtandor/repos","events_url":"https://api.github.com/users/valtandor/events{/privacy}","received_events_url":"https://api.github.com/users/valtandor/received_events","type":"User","site_admin":false},"body":"OK, the resources line has been removed.","created_at":"2015-08-14T03:00:14Z","updated_at":"2015-08-14T03:00:14Z","html_url":"https://github.com/nesi/zendesk-articles/pull/2#discussion_r37046367","pull_request_url":"https://api.github.com/repos/nesi/zendesk-articles/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/nesi/zendesk-articles/pulls/comments/37046367"},"html":{"href":"https://github.com/nesi/zendesk-articles/pull/2#discussion_r37046367"},"pull_request":{"href":"https://api.github.com/repos/nesi/zendesk-articles/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/nesi/zendesk-articles/pulls/2","id":42418166,"html_url":"https://github.com/nesi/zendesk-articles/pull/2","diff_url":"https://github.com/nesi/zendesk-articles/pull/2.diff","patch_url":"https://github.com/nesi/zendesk-articles/pull/2.patch","issue_url":"https://api.github.com/repos/nesi/zendesk-articles/issues/2","number":2,"state":"open","locked":false,"title":"New documentation for Java","user":{"login":"valtandor","id":2653689,"avatar_url":"https://avatars.githubusercontent.com/u/2653689?v=3","gravatar_id":"","url":"https://api.github.com/users/valtandor","html_url":"https://github.com/valtandor","followers_url":"https://api.github.com/users/valtandor/followers","following_url":"https://api.github.com/users/valtandor/following{/other_user}","gists_url":"https://api.github.com/users/valtandor/gists{/gist_id}","starred_url":"https://api.github.com/users/valtandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valtandor/subscriptions","organizations_url":"https://api.github.com/users/valtandor/orgs","repos_url":"https://api.github.com/users/valtandor/repos","events_url":"https://api.github.com/users/valtandor/events{/privacy}","received_events_url":"https://api.github.com/users/valtandor/received_events","type":"User","site_admin":false},"body":"François, Wolfgang: Could you please look at this new document and verify its correctness, especially the example submission scripts for Fitzroy and Beatrice?","created_at":"2015-08-14T02:01:06Z","updated_at":"2015-08-14T03:00:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40128d30e777389b1bbe584ad8f26993446e348e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nesi/zendesk-articles/pulls/2/commits","review_comments_url":"https://api.github.com/repos/nesi/zendesk-articles/pulls/2/comments","review_comment_url":"https://api.github.com/repos/nesi/zendesk-articles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nesi/zendesk-articles/issues/2/comments","statuses_url":"https://api.github.com/repos/nesi/zendesk-articles/statuses/bb257b47a36157823511a0bb00e5195ac37de938","head":{"label":"valtandor:Java","ref":"Java","sha":"bb257b47a36157823511a0bb00e5195ac37de938","user":{"login":"valtandor","id":2653689,"avatar_url":"https://avatars.githubusercontent.com/u/2653689?v=3","gravatar_id":"","url":"https://api.github.com/users/valtandor","html_url":"https://github.com/valtandor","followers_url":"https://api.github.com/users/valtandor/followers","following_url":"https://api.github.com/users/valtandor/following{/other_user}","gists_url":"https://api.github.com/users/valtandor/gists{/gist_id}","starred_url":"https://api.github.com/users/valtandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valtandor/subscriptions","organizations_url":"https://api.github.com/users/valtandor/orgs","repos_url":"https://api.github.com/users/valtandor/repos","events_url":"https://api.github.com/users/valtandor/events{/privacy}","received_events_url":"https://api.github.com/users/valtandor/received_events","type":"User","site_admin":false},"repo":{"id":40277227,"name":"zendesk-articles","full_name":"valtandor/zendesk-articles","owner":{"login":"valtandor","id":2653689,"avatar_url":"https://avatars.githubusercontent.com/u/2653689?v=3","gravatar_id":"","url":"https://api.github.com/users/valtandor","html_url":"https://github.com/valtandor","followers_url":"https://api.github.com/users/valtandor/followers","following_url":"https://api.github.com/users/valtandor/following{/other_user}","gists_url":"https://api.github.com/users/valtandor/gists{/gist_id}","starred_url":"https://api.github.com/users/valtandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valtandor/subscriptions","organizations_url":"https://api.github.com/users/valtandor/orgs","repos_url":"https://api.github.com/users/valtandor/repos","events_url":"https://api.github.com/users/valtandor/events{/privacy}","received_events_url":"https://api.github.com/users/valtandor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/valtandor/zendesk-articles","description":"Articles to be hosted in the NeSI Zendesk Help Centre","fork":true,"url":"https://api.github.com/repos/valtandor/zendesk-articles","forks_url":"https://api.github.com/repos/valtandor/zendesk-articles/forks","keys_url":"https://api.github.com/repos/valtandor/zendesk-articles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valtandor/zendesk-articles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valtandor/zendesk-articles/teams","hooks_url":"https://api.github.com/repos/valtandor/zendesk-articles/hooks","issue_events_url":"https://api.github.com/repos/valtandor/zendesk-articles/issues/events{/number}","events_url":"https://api.github.com/repos/valtandor/zendesk-articles/events","assignees_url":"https://api.github.com/repos/valtandor/zendesk-articles/assignees{/user}","branches_url":"https://api.github.com/repos/valtandor/zendesk-articles/branches{/branch}","tags_url":"https://api.github.com/repos/valtandor/zendesk-articles/tags","blobs_url":"https://api.github.com/repos/valtandor/zendesk-articles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valtandor/zendesk-articles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valtandor/zendesk-articles/git/refs{/sha}","trees_url":"https://api.github.com/repos/valtandor/zendesk-articles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valtandor/zendesk-articles/statuses/{sha}","languages_url":"https://api.github.com/repos/valtandor/zendesk-articles/languages","stargazers_url":"https://api.github.com/repos/valtandor/zendesk-articles/stargazers","contributors_url":"https://api.github.com/repos/valtandor/zendesk-articles/contributors","subscribers_url":"https://api.github.com/repos/valtandor/zendesk-articles/subscribers","subscription_url":"https://api.github.com/repos/valtandor/zendesk-articles/subscription","commits_url":"https://api.github.com/repos/valtandor/zendesk-articles/commits{/sha}","git_commits_url":"https://api.github.com/repos/valtandor/zendesk-articles/git/commits{/sha}","comments_url":"https://api.github.com/repos/valtandor/zendesk-articles/comments{/number}","issue_comment_url":"https://api.github.com/repos/valtandor/zendesk-articles/issues/comments{/number}","contents_url":"https://api.github.com/repos/valtandor/zendesk-articles/contents/{+path}","compare_url":"https://api.github.com/repos/valtandor/zendesk-articles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valtandor/zendesk-articles/merges","archive_url":"https://api.github.com/repos/valtandor/zendesk-articles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valtandor/zendesk-articles/downloads","issues_url":"https://api.github.com/repos/valtandor/zendesk-articles/issues{/number}","pulls_url":"https://api.github.com/repos/valtandor/zendesk-articles/pulls{/number}","milestones_url":"https://api.github.com/repos/valtandor/zendesk-articles/milestones{/number}","notifications_url":"https://api.github.com/repos/valtandor/zendesk-articles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valtandor/zendesk-articles/labels{/name}","releases_url":"https://api.github.com/repos/valtandor/zendesk-articles/releases{/id}","created_at":"2015-08-06T01:20:25Z","updated_at":"2015-08-02T20:08:38Z","pushed_at":"2015-08-14T02:59:32Z","git_url":"git://github.com/valtandor/zendesk-articles.git","ssh_url":"git@github.com:valtandor/zendesk-articles.git","clone_url":"https://github.com/valtandor/zendesk-articles.git","svn_url":"https://github.com/valtandor/zendesk-articles","homepage":null,"size":336,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"drafts"}},"base":{"label":"nesi:master","ref":"master","sha":"8b63f384149434088ffe1e6d9e73abf1ffe9744a","user":{"login":"nesi","id":924805,"avatar_url":"https://avatars.githubusercontent.com/u/924805?v=3","gravatar_id":"","url":"https://api.github.com/users/nesi","html_url":"https://github.com/nesi","followers_url":"https://api.github.com/users/nesi/followers","following_url":"https://api.github.com/users/nesi/following{/other_user}","gists_url":"https://api.github.com/users/nesi/gists{/gist_id}","starred_url":"https://api.github.com/users/nesi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nesi/subscriptions","organizations_url":"https://api.github.com/users/nesi/orgs","repos_url":"https://api.github.com/users/nesi/repos","events_url":"https://api.github.com/users/nesi/events{/privacy}","received_events_url":"https://api.github.com/users/nesi/received_events","type":"Organization","site_admin":false},"repo":{"id":40091363,"name":"zendesk-articles","full_name":"nesi/zendesk-articles","owner":{"login":"nesi","id":924805,"avatar_url":"https://avatars.githubusercontent.com/u/924805?v=3","gravatar_id":"","url":"https://api.github.com/users/nesi","html_url":"https://github.com/nesi","followers_url":"https://api.github.com/users/nesi/followers","following_url":"https://api.github.com/users/nesi/following{/other_user}","gists_url":"https://api.github.com/users/nesi/gists{/gist_id}","starred_url":"https://api.github.com/users/nesi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nesi/subscriptions","organizations_url":"https://api.github.com/users/nesi/orgs","repos_url":"https://api.github.com/users/nesi/repos","events_url":"https://api.github.com/users/nesi/events{/privacy}","received_events_url":"https://api.github.com/users/nesi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nesi/zendesk-articles","description":"Articles to be hosted in the NeSI Zendesk Help Centre","fork":false,"url":"https://api.github.com/repos/nesi/zendesk-articles","forks_url":"https://api.github.com/repos/nesi/zendesk-articles/forks","keys_url":"https://api.github.com/repos/nesi/zendesk-articles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nesi/zendesk-articles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nesi/zendesk-articles/teams","hooks_url":"https://api.github.com/repos/nesi/zendesk-articles/hooks","issue_events_url":"https://api.github.com/repos/nesi/zendesk-articles/issues/events{/number}","events_url":"https://api.github.com/repos/nesi/zendesk-articles/events","assignees_url":"https://api.github.com/repos/nesi/zendesk-articles/assignees{/user}","branches_url":"https://api.github.com/repos/nesi/zendesk-articles/branches{/branch}","tags_url":"https://api.github.com/repos/nesi/zendesk-articles/tags","blobs_url":"https://api.github.com/repos/nesi/zendesk-articles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nesi/zendesk-articles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nesi/zendesk-articles/git/refs{/sha}","trees_url":"https://api.github.com/repos/nesi/zendesk-articles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nesi/zendesk-articles/statuses/{sha}","languages_url":"https://api.github.com/repos/nesi/zendesk-articles/languages","stargazers_url":"https://api.github.com/repos/nesi/zendesk-articles/stargazers","contributors_url":"https://api.github.com/repos/nesi/zendesk-articles/contributors","subscribers_url":"https://api.github.com/repos/nesi/zendesk-articles/subscribers","subscription_url":"https://api.github.com/repos/nesi/zendesk-articles/subscription","commits_url":"https://api.github.com/repos/nesi/zendesk-articles/commits{/sha}","git_commits_url":"https://api.github.com/repos/nesi/zendesk-articles/git/commits{/sha}","comments_url":"https://api.github.com/repos/nesi/zendesk-articles/comments{/number}","issue_comment_url":"https://api.github.com/repos/nesi/zendesk-articles/issues/comments{/number}","contents_url":"https://api.github.com/repos/nesi/zendesk-articles/contents/{+path}","compare_url":"https://api.github.com/repos/nesi/zendesk-articles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nesi/zendesk-articles/merges","archive_url":"https://api.github.com/repos/nesi/zendesk-articles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nesi/zendesk-articles/downloads","issues_url":"https://api.github.com/repos/nesi/zendesk-articles/issues{/number}","pulls_url":"https://api.github.com/repos/nesi/zendesk-articles/pulls{/number}","milestones_url":"https://api.github.com/repos/nesi/zendesk-articles/milestones{/number}","notifications_url":"https://api.github.com/repos/nesi/zendesk-articles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nesi/zendesk-articles/labels{/name}","releases_url":"https://api.github.com/repos/nesi/zendesk-articles/releases{/id}","created_at":"2015-08-02T20:08:38Z","updated_at":"2015-08-14T01:43:52Z","pushed_at":"2015-08-14T02:59:33Z","git_url":"git://github.com/nesi/zendesk-articles.git","ssh_url":"git@github.com:nesi/zendesk-articles.git","clone_url":"https://github.com/nesi/zendesk-articles.git","svn_url":"https://github.com/nesi/zendesk-articles","homepage":null,"size":890,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nesi/zendesk-articles/pulls/2"},"html":{"href":"https://github.com/nesi/zendesk-articles/pull/2"},"issue":{"href":"https://api.github.com/repos/nesi/zendesk-articles/issues/2"},"comments":{"href":"https://api.github.com/repos/nesi/zendesk-articles/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/nesi/zendesk-articles/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/nesi/zendesk-articles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nesi/zendesk-articles/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/nesi/zendesk-articles/statuses/bb257b47a36157823511a0bb00e5195ac37de938"}}}}