{"id":2281,"date":"2023-12-21T19:27:47","date_gmt":"2023-12-21T19:27:47","guid":{"rendered":"https:\/\/laserphotonics.uk\/?p=2281"},"modified":"2024-11-27T14:31:13","modified_gmt":"2024-11-27T14:31:13","slug":"srun-gpu","status":"publish","type":"post","link":"https:\/\/laserphotonics.uk\/?p=2281","title":{"rendered":"Srun GPU"},"content":{"rendered":"\n<ul><li><strong>MATLAB:<\/strong><\/li><li>srun &#8211;job-name MATLAB &#8211;partition=htc &#8211;time=2-00:00:00 &#8211;x11 &#8211;pty bash<\/li><li><strong>CUT<\/strong><\/li><li>Create conda enviroment for CUT project:<\/li><\/ul>\n\n\n\n<p>conda env create -f environment.yml<\/p>\n\n\n\n<p>This is enviroment.yml ( I renamed to CUT in first line):<\/p>\n\n\n\n<p>name: CUT<\/p>\n\n\n\n<p>channels:<\/p>\n\n\n\n<p>&#8211; pytorch<\/p>\n\n\n\n<p>&#8211; defaults<\/p>\n\n\n\n<p>dependencies:<\/p>\n\n\n\n<p>&#8211; python=3.6<\/p>\n\n\n\n<p>&#8211; pytorch=1.4.0<\/p>\n\n\n\n<p>&#8211; scipy<\/p>\n\n\n\n<p>&#8211; pip:<\/p>\n\n\n\n<p>&nbsp; &#8211; dominate==2.4.0<\/p>\n\n\n\n<p>&nbsp; &#8211; torchvision==0.5.0<\/p>\n\n\n\n<p>&nbsp; &#8211; Pillow==6.1.0<\/p>\n\n\n\n<p>&nbsp; &#8211; numpy==1.16.4<\/p>\n\n\n\n<p>&nbsp; &#8211; visdom==0.1.8<\/p>\n\n\n\n<p>&nbsp; &#8211; packaging<\/p>\n\n\n\n<p>&nbsp; &#8211; GPUtil==1.4.0<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>srun &#8211;job-name=DeepCUT &#8211;partition=gpu &#8211;gres=gpu:1 &#8211;time=2-00:00:00 &#8211;mem=16GB &#8211;pty bash<\/strong><\/p>\n\n\n\n<p><strong>source \/scratch\/b.edsxxx\/miniconda3\/bin\/activate CUT<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MATLAB: srun &#8211;job-name MATLAB &#8211;partition=htc &#8211;time=2-00:00:00 &#8211;x11 &#8211;pty bash CUT Create conda enviroment for CUT project: conda env create -f environment.yml This is enviroment.yml ( I renamed to CUT in first line): name: CUT channels: &#8211; pytorch &#8211; defaults dependencies: &#8211; python=3.6 &#8211; pytorch=1.4.0 &#8211; scipy &#8211; pip: &nbsp; &#8211; dominate==2.4.0 &nbsp; &#8211; torchvision==0.5.0 &nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19,2],"tags":[],"_links":{"self":[{"href":"https:\/\/laserphotonics.uk\/index.php?rest_route=\/wp\/v2\/posts\/2281"}],"collection":[{"href":"https:\/\/laserphotonics.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laserphotonics.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laserphotonics.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laserphotonics.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2281"}],"version-history":[{"count":3,"href":"https:\/\/laserphotonics.uk\/index.php?rest_route=\/wp\/v2\/posts\/2281\/revisions"}],"predecessor-version":[{"id":2401,"href":"https:\/\/laserphotonics.uk\/index.php?rest_route=\/wp\/v2\/posts\/2281\/revisions\/2401"}],"wp:attachment":[{"href":"https:\/\/laserphotonics.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laserphotonics.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laserphotonics.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}