


{"id":167391,"date":"2022-03-16T10:50:42","date_gmt":"2022-03-16T10:50:42","guid":{"rendered":"\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/"},"modified":"2022-04-05T07:56:05","modified_gmt":"2022-04-05T07:56:05","slug":"status-updates-when-using-remote-job-scheduler","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/","title":{"rendered":"Status updates when using remote job scheduler"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>I defined a resource that uses the job scheduler to run Lumerical simulations on a remote cloud server. I replaced the sge.py file in the job_schedulers folder (see attached script in 7z file).<\/p>\n<p>Our jobs manager doesn&#039;t create the .o files immediately so instead I created a code that can retrieve the log file from the server, opens it and find the lines with the progress % updates. I see that in the sge.py file you just print the lines of the updates. When I do this there&#039;s no update in the Lumerical window of the running jobs &#8211; the status remains &quot;running&quot;.<\/p>\n<p><\/p>\n<\/p>\n<p>Can you check to see what I&#039;m doing wrong?<\/p>\n<div data-embedjson=\"{&quot;url&quot;:&quot;\/forum\/wp-content\/uploads\/forum-uploads\/161\/QQ40WHJBEITM.7z&quot;,&quot;name&quot;:&quot;sge.7z&quot;,&quot;type&quot;:&quot;application\/octet-stream&quot;,&quot;size&quot;:3121,&quot;embedType&quot;:&quot;file&quot;}\">\n<a href=\"\/forum\/wp-content\/uploads\/forum-uploads\/161\/QQ40WHJBEITM.7z\" download aria-label=\"sge.7z\"><br \/>\nsge.7z<br \/>\n<\/a><\/p>\n","protected":false},"template":"","class_list":["post-167391","topic","type-topic","status-closed","hentry","topic-tag-lumerical","topic-tag-sge-2"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"I defined a resource that uses the job scheduler to run Lumerical simulations on a remote cloud server. I replaced the sge.py file in the job_schedulers folder (see attached script in 7z file).Our jobs manager doesn&#039;t create the .o files immediately so instead I created a code that can retrieve the log file from the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Status updates when using remote job scheduler | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"I defined a resource that uses the job scheduler to run Lumerical simulations on a remote cloud server. I replaced the sge.py file in the job_schedulers folder (see attached script in 7z file).Our jobs manager doesn&#039;t create the .o files immediately so instead I created a code that can retrieve the log file from the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-03-16T10:50:42+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-04-05T07:56:05+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Status updates when using remote job scheduler | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I defined a resource that uses the job scheduler to run Lumerical simulations on a remote cloud server. I replaced the sge.py file in the job_schedulers folder (see attached script in 7z file).Our jobs manager doesn&#039;t create the .o files immediately so instead I created a code that can retrieve the log file from the\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/status-updates-when-using-remote-job-scheduler\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/lumerical\\\/#listItem\",\"name\":\"lumerical\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/lumerical\\\/#listItem\",\"position\":3,\"name\":\"lumerical\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/lumerical\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/status-updates-when-using-remote-job-scheduler\\\/#listItem\",\"name\":\"Status updates when using remote job scheduler\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/status-updates-when-using-remote-job-scheduler\\\/#listItem\",\"position\":4,\"name\":\"Status updates when using remote job scheduler\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/lumerical\\\/#listItem\",\"name\":\"lumerical\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/status-updates-when-using-remote-job-scheduler\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/status-updates-when-using-remote-job-scheduler\\\/\",\"name\":\"Status updates when using remote job scheduler | Ansys Learning Forum\",\"description\":\"I defined a resource that uses the job scheduler to run Lumerical simulations on a remote cloud server. I replaced the sge.py file in the job_schedulers folder (see attached script in 7z file).Our jobs manager doesn't create the .o files immediately so instead I created a code that can retrieve the log file from the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/status-updates-when-using-remote-job-scheduler\\\/#breadcrumblist\"},\"datePublished\":\"2022-03-16T10:50:42+00:00\",\"dateModified\":\"2022-04-05T07:56:05+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Status updates when using remote job scheduler | Ansys Learning Forum","description":"I defined a resource that uses the job scheduler to run Lumerical simulations on a remote cloud server. I replaced the sge.py file in the job_schedulers folder (see attached script in 7z file).Our jobs manager doesn't create the .o files immediately so instead I created a code that can retrieve the log file from the","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/lumerical\/#listItem","name":"lumerical"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/lumerical\/#listItem","position":3,"name":"lumerical","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/lumerical\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/#listItem","name":"Status updates when using remote job scheduler"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/#listItem","position":4,"name":"Status updates when using remote job scheduler","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/lumerical\/#listItem","name":"lumerical"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/","name":"Status updates when using remote job scheduler | Ansys Learning Forum","description":"I defined a resource that uses the job scheduler to run Lumerical simulations on a remote cloud server. I replaced the sge.py file in the job_schedulers folder (see attached script in 7z file).Our jobs manager doesn't create the .o files immediately so instead I created a code that can retrieve the log file from the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/#breadcrumblist"},"datePublished":"2022-03-16T10:50:42+00:00","dateModified":"2022-04-05T07:56:05+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Status updates when using remote job scheduler | Ansys Learning Forum","og:description":"I defined a resource that uses the job scheduler to run Lumerical simulations on a remote cloud server. I replaced the sge.py file in the job_schedulers folder (see attached script in 7z file).Our jobs manager doesn't create the .o files immediately so instead I created a code that can retrieve the log file from the","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/","article:published_time":"2022-03-16T10:50:42+00:00","article:modified_time":"2022-04-05T07:56:05+00:00","twitter:card":"summary_large_image","twitter:title":"Status updates when using remote job scheduler | Ansys Learning Forum","twitter:description":"I defined a resource that uses the job scheduler to run Lumerical simulations on a remote cloud server. I replaced the sge.py file in the job_schedulers folder (see attached script in 7z file).Our jobs manager doesn't create the .o files immediately so instead I created a code that can retrieve the log file from the"},"aioseo_meta_data":[],"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/lumerical\/\" title=\"lumerical\">lumerical<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tStatus updates when using remote job scheduler\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"lumerical","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/lumerical\/"},{"label":"Status updates when using remote job scheduler","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/status-updates-when-using-remote-job-scheduler\/"}],"acf":[],"custom_fields":[{"0":{"_btv_view_count":["685"],"_bbp_likes_count":["0"],"_bbp_subscription":["238753"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["167391"],"_bbp_forum_id":["27833"],"_bbp_engagement":["707","4274","199467"],"_bbp_voice_count":["3"],"_bbp_reply_count":["11"],"_bbp_last_reply_id":["208559"],"_bbp_last_active_id":["208559"],"_bbp_last_active_time":["2022-04-05 07:56:05"]},"test":"amnonjwtechnion-ac-il"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/167391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/167391\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=167391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}