{"id":2014,"date":"2019-01-15T16:10:49","date_gmt":"2019-01-15T16:10:49","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=2014"},"modified":"2025-12-08T11:09:49","modified_gmt":"2025-12-08T11:09:49","slug":"vmd","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/vmd\/","title":{"rendered":"VMD"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>VMD is a molecular visualization program for displaying, animating, and analyzing large biomolecular systems using 3-D graphics and built-in scripting.<\/p>\n<p>Version 1.9.3 is available. This is a binary install (i.e. no compilation involved).<\/p>\n<div class=\"warning\">\n<em>Please do not run VMD directly on the login node. Such processes will be killed without warning. <br \/>Instead, please use the <code>srun<\/code> command (see below).<\/em>\n<\/div>\n<h2>Restrictions on user access<\/h2>\n<p>VMD is not open source software. Please read the <a href=\"http:\/\/www.ks.uiuc.edu\/Research\/vmd\/current\/LICENSE.html\">license<\/a> before you request access. In particular please note:<\/p>\n<ul class=\"gaplist\">\n<li>The software may be used for academic, research, and internal business purposes only.<\/li>\n<li>The software must not be used for commercial purposes. Commercial use includes (but is not limited to): (1) integration of all or part of the Software into a product for sale, lease or license by or on behalf of Licensee to third parties, or (2) distribution of the Software to third parties that need it to commercialize product sold or licensed by or on behalf of Licensee.<\/li>\n<li>Citation of the software must appear in any published work. See clause 6 of the above license and <a href=\"http:\/\/www.ks.uiuc.edu\/Research\/vmd\/allversions\/cite.html\">the VMD website<\/a> for the required text.<\/li>\n<li>Export regulations including remote access: You must comply with all United States and United Kingdom export control laws and regulations controlling the export of the software, including, without limitation, all Export Administration Regulations of the United States Department of Commerce. Among other things, these laws and regulations prohibit, or require a license for, the export of certain types of software to specified countries. Please be aware that allowing remote access from outside the United Kingdom may constitute an export.<\/li>\n<li>Access to this software is not permitted for visitors or collaborators.<\/li>\n<\/ul>\n<h3>Requesting Access<\/h3>\n<p>To get access to VMD you need to be added to a unix group. <strong>Please <a href=\"\/csf3\/overview\/help\/\">contact us<\/a> to confirm that you have read the above information and that your work will comply with the T&amp;Cs<\/strong>.<\/p>\n<h2>Set up procedure<\/h2>\n<p>You will need to connect to the CSF using <code>ssh -X<\/code> to have the display exported to your local machine. You should then load the appropriate VMD module using the <code>module<\/code> command to access the executables:<\/p>\n<pre>module load apps\/binapps\/vmd\/1.9.3\r\n<\/pre>\n<p><a href=\"\/csf3\/getting-started\/connecting\/gui-apps\/\">Further information about how to start X-Windows and GUI applications on the CSF<\/a>.<\/p>\n<p>We <strong>highly<\/strong> recommend using the <a href=\"http:\/\/ri.itservices.manchester.ac.uk\/virtual-desktop-service\/x2go\/\">Virtual Desktop Service<\/a> when accessing this software on the CSF &#8211; it gives better compatibility with the CSF for this type of work than some desktops\/laptops and it also offers a better compression of data across the campus network meaning it should run faster than it will if connecting directly from your own computer.<\/p>\n<h2>Running the application<\/h2>\n<p>Please use the interactive (<a href=\"\/csf3\/batch-slurm\/srun\/\">srun<\/a>) facility to run VMD. The <code>srun<\/code> command itself <em>is<\/em> run on the login node, but it will then run VMD on a more powerful compute node &#8211; it tries to do this immediately, without needing a jobscript. For example:<\/p>\n<pre>\r\n# Run these commands directly on the login node (not in a jobscript).\r\n# The srun command will then run VMD on a more powerful compute node.\r\n\r\nmodule load apps\/binapps\/vmd\/1.9.3\r\nsrun -p interactive -t 0-1 vmd \r\n                        #\r\n                        # (0 days) 1 hour session\r\n<\/pre>\n<p>Please give VMD enough time to pop-up the GUI rather than assuming it isn&#8217;t working.<\/p>\n<p>VMD will by default be restricted to a single CPU core (although it will report 168 cores available due to the AMD hardware it is running on &#8211; you will NOT be using all 168 cores!)<\/p>\n<p>If you wish to run VMD multicore then you must override a VMD environment variable as follows:<\/p>\n<pre>\r\n# Using 4 cores for example\r\nmodule load apps\/binapps\/vmd\/1.9.3\r\nexport VMDFORCECPUCOUNT=4\r\nsrun -p interactive -t 0-1 -c $VMDFORCECPUCOUNT vmd\r\n                        #\r\n                        # (0 days) 1 hour session\r\n<\/pre>\n<h2>Exiting the Application<\/h2>\n<p>Please quit VMD (via the GUI) <em>before<\/em> you exit your <code>srun<\/code> session on the CSF. If you simply quit your connection to the CSF then VMD may be left running on the CSF and consuming resources unnecessarily.<\/p>\n<h2>Hints, Tips, Fixes<\/h2>\n<h3>Black Window Fix for XQuartz on MacOS<\/h3>\n<p>On MacOS, some users have reported that the VMD runs and displays most of the GUI, but the main render window, where the molecule is displayed, remains completely black.<\/p>\n<p>Please try the following if you have the black-window issue:<\/p>\n<pre>\r\n# On your Mac, in a terminal that is NOT logged in to the CSF:\r\ndefaults write org.xquartz.X11 enable_iglx -bool true\r\n\r\n# Now login to the CSF using:\r\nssh -Y <em>username<\/em>@csf3.itservices.manchester.ac.uk\r\n\r\n# Then run VMD as detailed earlier, EG:\r\nmodule load apps\/binapps\/vmd\/1.9.3\r\nexport VMDFORCECPUCOUNT=4\r\nsrun -p interactive -t 0-1 -c $VMDFORCECPUCOUNT vmd\r\n                        #\r\n                        # (0 days) 1 hour session\r\n<\/pre>\n<h3>Fix for OpenGL Error<\/h3>\n<p>If VMD fails to start, with an error about OpenGL, such as:<\/p>\n<pre>\r\nERROR) A TrueColor visual is required, but not available.\r\nERROR) The X server is not capable of displaying double-buffered,\r\nERROR) RGB images with a Z buffer.   Exiting ...\r\nInfo) VMD for LINUXAMD64, version 1.9.3 (November 30, 2016)\r\nInfo) Unable to create OpenGL window.\r\n<\/pre>\n<p>Try setting the following variable before running srun \/ VMD:<\/p>\n<pre>\r\nexport LIBGL_ALWAYS_INDIRECT=1\r\n<\/pre>\n<p>If that does not work try using the <a href=\"http:\/\/ri.itservices.manchester.ac.uk\/virtual-desktop-service\/x2go\/\">Virtual Desktop Service<\/a>.<\/p>\n<div class=\"hidden\">\n<p>Nvidia GPUs<\/p>\n<p>VMD will make use of Nvidia CUDA hardware if present. This will accelerate raytraced rendering and implicit ligand sampling. If you have access to the GPU hardware (see <a href=\"\/csf\/software\/applications\/nvidiagpu\">GPUs on the CSF<\/a>) you can run VMD as follows:<\/p>\n<pre>\r\nunset VMDFORCECPUCOUNT\r\nsrun -p gpuA -t 0-1 vmd\r\n<\/pre>\n<\/div>\n<p>Please also consult the <a href=\"\/csf3\/batch-slurm\/srun\/\">srun<\/a> documentation for more detailed instructions.<\/p>\n<h3>Using Plugins e.g. PLUMED<\/h3>\n<p>If you would like to use a plugin, such as PLUMED. You should load the module <code>apps\/intel-17.0\/plumed\/2.4.0<\/code> before the vmd one, then you will be able to use the analysis at: <em>Extensions &gt; Analysis &gt; Collective variable analysis (PLUMED)<\/em><\/p>\n<h3>External Plugins<\/h3>\n<p>The following external \/ 3rd-party plugins have been installed. You&#8217;ll find them in the Extensions menu, in one of the categories off that menu &#8211; e.g., Analysis). New plugins appear at the bottom of each menu:<\/p>\n<ul>\n<li>Density Profile Tool (Analysis menu) &#8211; See <a href=\"https:\/\/data.mendeley.com\/datasets\/9n2kdsf2t9\/1\">https:\/\/data.mendeley.com\/datasets\/9n2kdsf2t9\/1<\/a><\/li>\n<\/ul>\n<h2>Further info<\/h2>\n<p>The <a href=\"http:\/\/www.ks.uiuc.edu\/Research\/vmd\/\">VMD website<\/a> has User Guides, Release Notes, and FAQs.<\/p>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview VMD is a molecular visualization program for displaying, animating, and analyzing large biomolecular systems using 3-D graphics and built-in scripting. Version 1.9.3 is available. This is a binary install (i.e. no compilation involved). Please do not run VMD directly on the login node. Such processes will be killed without warning. Instead, please use the srun command (see below). Restrictions on user access VMD is not open source software. Please read the license before you.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/vmd\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2014","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/2014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=2014"}],"version-history":[{"count":22,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/2014\/revisions"}],"predecessor-version":[{"id":11496,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/2014\/revisions\/11496"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/86"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=2014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}