{"id":678,"date":"2013-05-21T16:46:51","date_gmt":"2013-05-21T16:46:51","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=678"},"modified":"2013-06-04T13:52:31","modified_gmt":"2013-06-04T13:52:31","slug":"yade","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/yade\/","title":{"rendered":"YADE"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/yade-dem.org\/doc\/\">Yade<\/a> is an extensible open-source framework for discrete numerical models, focused on Discrete Element Method. The computation parts are written in c++ and Python is used for rapid and concise scene construction, simulation control, postprocessing and debugging.<\/p>\n<p>Version 0.97.0is installed on the CSF.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no restrictions on access.<\/p>\n<p>Please make sure you read the <a href=\"https:\/\/yade-dem.org\/doc\/citing.html\">&#8220;Acknowledging Yade&#8221;<\/a> section if you plan to cite Yade in publications.<\/p>\n<h2>Set up procedure<\/h2>\n<p>To access the software you must first load the modulefile:<\/p>\n<pre>\r\nmodule load apps\/gcc\/yade\/0.97.0\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run Yade on the login node. Jobs should be submitted to the compute nodes via batch or via qrsh if running interactively.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>Make sure you have the modulefile loaded then create a batch submission script, for example:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd\r\n### The above uses the current directory where you should have all relevant files\r\n#$ -V\r\n### The above inherits your user environment from the login node i.e. so it can find commands\r\n\r\nyade-batch arg1 arg2\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub scriptname<\/pre>\n<h3>Parallel batch job submission<\/h3>\n<p>Given an example parallel jobscript, including suitable PE<\/p>\n<h3>Interactive use via the Python console<\/h3>\n<p>Yade will use ipython to give an interactive shell. This must <strong>not<\/strong> be run on the login node. Instead is should be started via qrsh as follows:<\/p>\n<pre>\r\nmodule load apps\/gcc\/yade\/0.97.0\r\nqrsh -l inter -l short -cwd -V yade\r\n  #\r\n  # use twoday instead of short if running a longer simulation interactively\r\n  #\r\n<\/pre>\n<p>You should see a Yade shell prompt appear, similar to:<\/p>\n<pre>\r\nWelcome to Yade 0.97.0\r\nTCP python prompt on localhost:9000, auth cookie `ueacsk'\r\nXMLRPC info provider on http:\/\/localhost:21000\r\n[[ ^L clears screen, ^U kills line. F8 plot. ]]\r\n\r\nYade [1]:\r\n<\/pre>\n<p>To exit the shell (which will terminate your interactive session) use <code>exit<\/code>.<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/yade-dem.org\/doc\/\">Yade website<\/a><\/li>\n<li><a href=\"https:\/\/yade-dem.org\/doc\/tutorial.html\">Yade tutorial<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Yade is an extensible open-source framework for discrete numerical models, focused on Discrete Element Method. The computation parts are written in c++ and Python is used for rapid and concise scene construction, simulation control, postprocessing and debugging. Version 0.97.0is installed on the CSF. Restrictions on use There are no restrictions on access. Please make sure you read the &#8220;Acknowledging Yade&#8221; section if you plan to cite Yade in publications. Set up procedure To access.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/yade\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":31,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-678","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/comments?post=678"}],"version-history":[{"count":4,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/678\/revisions"}],"predecessor-version":[{"id":742,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/678\/revisions\/742"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/31"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/media?parent=678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}