VMD: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
(Marked this version for translation)
Line 5: Line 5:
== Using pre-installed VMD == <!--T:1-->
== Using pre-installed VMD == <!--T:1-->


<!--T:22-->
Connect with <code>ssh -X/-Y</code> or via VNC to have graphics enabled.
Connect with <code>ssh -X/-Y</code> or via VNC to have graphics enabled.


<!--T:23-->
There are, currently, two versions of VMD available on CC clusters:
There are, currently, two versions of VMD available on CC clusters:
<pre>
<pre>
Line 15: Line 17:
</pre>
</pre>


<!--T:3-->
The default version is <code>1.9.4a43</code>.
The default version is <code>1.9.4a43</code>.
To use it:
To use it:
<!--T:3-->
{{Commands
{{Commands
|module load vmd
|module load vmd
Line 24: Line 26:
This should VMD graphical windows.
This should VMD graphical windows.


<!--T:24-->
You can also specify the version if you want to use the older one:
You can also specify the version if you want to use the older one:
  $ module load vmd/1.9.3
  $ module load vmd/1.9.3

Revision as of 20:16, 14 December 2020

Other languages:

Using pre-installed VMD

Connect with ssh -X/-Y or via VNC to have graphics enabled.

There are, currently, two versions of VMD available on CC clusters:

$ module avail vmd
...
------------------ Compiler-dependent avx2 modules ----------------------
   vmd/1.9.3 (L,vis)    vmd/1.9.4a43 (vis,D)

The default version is 1.9.4a43. To use it:

[name@server ~]$ module load vmd
[name@server ~]$ vmd

This should VMD graphical windows.

You can also specify the version if you want to use the older one:

$ module load vmd/1.9.3

Instructions for installing version 1.9.4 Alpha

1. Download the 1.9.4 LATEST ALPHA tar file from http://www.ks.uiuc.edu/, selecting the LINUX_64 version (free registration is required).

2. Copy the file to the home directory of the cluster you wish to use.

3. Unpack the file with:

tar xvf vmd-1.9.4*.opengl.tar.gz

4. Enter the created directory by:

cd vmd-1.9.4*

5.

mkdir ~/vmd_install
mkdir ~/vmd_library

6. edit the configure file to read

# Directory where VMD startup script is installed, should be in users' paths.
$install_bin_dir="/home/your_user_name/vmd_install";
# Directory where VMD files and executables are installed
$install_library_dir="/home/your_user_name/vmd_library";

but replace your_user_name with your actual user name.

7. Run configure:

./configure

8. Run make

cd src
make install

9. Add the resulting executable to your path

export PATH=~/vmd_install:$PATH


If getting a blank window on a Mac, try:

defaults write org.macosforge.xquartz.X11 enable_iglx -bool true