{"id":157922,"date":"2022-06-06T09:58:03","date_gmt":"2022-06-06T09:58:03","guid":{"rendered":"\/knowledge\/forums\/topic\/i-am-working-with-workbench-using-a-linux-cluster-how-can-i-run-workbench-in-batch-mode\/"},"modified":"2022-06-06T09:58:03","modified_gmt":"2022-06-06T09:58:03","slug":"i-am-working-with-workbench-using-a-linux-cluster-how-can-i-run-workbench-in-batch-mode","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/i-am-working-with-workbench-using-a-linux-cluster-how-can-i-run-workbench-in-batch-mode\/","title":{"rendered":"I am working with Workbench using a Linux cluster. How can I run Workbench in batch mode?"},"content":{"rendered":"<p>This can be done in two steps<\/p>\n<p>1. Create a journal to open the file, update (to solve) and save. You can create a journal on a dummy file and later change its file names.<\/p>\n<p>\u2022 Open Ansys WB. Go to file >> Scripting >> Record Journal. Save the journal file and provide the name.<br \/>\u2022 Open Dummy project file, update the project and save with other name.<br \/>\u2022 Go to file >> Scripting >> Stop Recording journal<br \/>\u2022 Go to journal file. Change the name of WB project to actual WB file and name to save after update.<br \/>\u2022 Change the journal extension from .wbjn to .py<\/p>\n<p>2. Use the following template to input shell commands to open WB and run journal in batch mode:<br \/><< Path to open WB .... \/v172\/Framework\/bin\/Linux64\/runwb2  >> -B -R << Path to open journal (.py) file >><\/p>\n<p>For more information, please refer ANSYS Help > Customization Suite > ANSYS AIM and Workbench Scripting Guide > Scripting Overview > Journaling and Scripting Guide.<\/p>\n","protected":false},"template":"","class_list":["post-157922","topic","type-topic","status-publish","hentry","topic-tag-batch-mode","topic-tag-linux-cluster"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["06-06-2022 20:20"],"_bbp_forum_id":["27789"],"_btv_view_count":["3090"],"_bbp_likes_count":["0"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/157922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/157922\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=157922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}