{"action":"created","issue":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1108","labels_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1108/labels{/name}","comments_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1108/comments","events_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1108/events","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/issues/1108","id":106543462,"number":1108,"title":"execution of `submit.start`","user":{"login":"PrometheusPi","id":5121158,"avatar_url":"https://avatars.githubusercontent.com/u/5121158?v=3","gravatar_id":"","url":"https://api.github.com/users/PrometheusPi","html_url":"https://github.com/PrometheusPi","followers_url":"https://api.github.com/users/PrometheusPi/followers","following_url":"https://api.github.com/users/PrometheusPi/following{/other_user}","gists_url":"https://api.github.com/users/PrometheusPi/gists{/gist_id}","starred_url":"https://api.github.com/users/PrometheusPi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrometheusPi/subscriptions","organizations_url":"https://api.github.com/users/PrometheusPi/orgs","repos_url":"https://api.github.com/users/PrometheusPi/repos","events_url":"https://api.github.com/users/PrometheusPi/events{/privacy}","received_events_url":"https://api.github.com/users/PrometheusPi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-15T12:18:44Z","updated_at":"2015-09-15T13:16:45Z","closed_at":null,"body":"Following an *offline discussion*, @psychocoderHPC told me that the **non-executable** `*.tpl` files contain a **shebang** so that the `submit.start` file created by `tbg` can be executed by hand if not submitted to the cluster.\r\n\r\nHowever, `submit.start` is not executable. \r\nWe should either remove the shebang or (my preference) make `submit.start` executable.\r\n\r\nAdditionally I think that some clusters require the submit file to specify a shell.\r\nWhat is the best way to treat the shebang in the `*.tpl` files using `tbg` without confusing users? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/comments/140386571","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/issues/1108#issuecomment-140386571","issue_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1108","id":140386571,"user":{"login":"ax3l","id":1353258,"avatar_url":"https://avatars.githubusercontent.com/u/1353258?v=3","gravatar_id":"","url":"https://api.github.com/users/ax3l","html_url":"https://github.com/ax3l","followers_url":"https://api.github.com/users/ax3l/followers","following_url":"https://api.github.com/users/ax3l/following{/other_user}","gists_url":"https://api.github.com/users/ax3l/gists{/gist_id}","starred_url":"https://api.github.com/users/ax3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ax3l/subscriptions","organizations_url":"https://api.github.com/users/ax3l/orgs","repos_url":"https://api.github.com/users/ax3l/repos","events_url":"https://api.github.com/users/ax3l/events{/privacy}","received_events_url":"https://api.github.com/users/ax3l/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T13:16:45Z","updated_at":"2015-09-15T13:16:45Z","body":"I am actually not 100% sure about that.\r\n\r\nthe best way would be to have the *same executable rights as the template* (and of course the same lines as the template). In that way, if a batch system requires a shebang and/or +x we simply update the template. if `tbg` does not \"conserve\" these we have to add this functionality.\r\n\r\none word of warning: I think to remember a batch system, where I got a problem exactly the other way around: there it was *not* allowed to have executable rights on the job script. but I can't find an issue for it."}}