VMD: Difference between revisions

Jump to navigation Jump to search
239 bytes added ,  2 years ago
no edit summary
No edit summary
No edit summary
Line 26: Line 26:


<!--T:6-->
<!--T:6-->
1. Download the 1.9.4 LATEST ALPHA tar file from [http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=VMD http://www.ks.uiuc.edu/], selecting the LINUX_64 version (free registration is required).
1. Download the 1.9.4 LATEST ALPHA tar file from [http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=VMD http://www.ks.uiuc.edu/], selecting the LINUX_64 version.  Free registration is required.


<!--T:7-->
<!--T:7-->
Line 32: Line 32:


<!--T:8-->
<!--T:8-->
3. Unpack the file with:
3. Unpack the file:


<!--T:9-->
</translate>
tar xvf vmd-1.9.4*.opengl.tar.gz
tar xvf vmd-1.9.4*.opengl.tar.gz
<translate>


<!--T:10-->
<!--T:10-->
4. Enter the created directory by:
4. Enter the newly-created directory:


<!--T:11-->
</translate>
cd vmd-1.9.4*
cd vmd-1.9.4*
<translate>


<!--T:12-->
<!--T:12-->
5.
5. Create two new directories to receive the program files:
</translate>
  mkdir ~/vmd_install
  mkdir ~/vmd_install
  mkdir ~/vmd_library
  mkdir ~/vmd_library
<translate>


<!--T:13-->
<!--T:13-->
6. edit the ''configure'' file to read
5. Edit the <code>configure</code> file to read as follows, replacing each instance of <code>your_user_name</code> with your actual user name:


<!--T:14-->
</translate>
# Directory where VMD startup script is installed, should be in users' paths.
# Directory where VMD startup script is installed, should be in users' paths.
  $install_bin_dir="/home/your_user_name/vmd_install";
  $install_bin_dir="/home/your_user_name/vmd_install";
 
  <!--T:15-->
  # Directory where VMD files and executables are installed
# Directory where VMD files and executables are installed
  $install_library_dir="/home/your_user_name/vmd_library";
  $install_library_dir="/home/your_user_name/vmd_library";
 
<translate>
<!--T:16-->
but replace your_user_name with your actual user name.


<!--T:17-->
<!--T:17-->
7. Run configure:
6. Run <code>configure</code> and <code>make</code>:
</translate>
  ./configure
  ./configure
<!--T:18-->
8. Run make
  cd src
  cd src
  make install
  make install
<translate>


<!--T:19-->
<!--T:19-->
9. Add the resulting executable to your path  
7. Add the resulting executable to your path:
</translate>
  export PATH=~/vmd_install:$PATH
  export PATH=~/vmd_install:$PATH
<translate>


<!--T:25-->
<!--T:25-->
Also, modify the RPATH of vmd files so it does not use libraries in /usr on our system
8. Use <code>setrpaths.sh</code> to modify the VMD executables so they use libraries from CVMFS:
 
</translate>
<!--T:26-->
  cd ~/vmd_library/
cd
  cd vmd_library/
  setrpaths.sh  --path .
  setrpaths.sh  --path .
<translate>


<!--T:20-->
<!--T:20-->
If getting a blank window on a Mac, try:
If you are using a Mac and getting a blank window, try running this:


<!--T:21-->
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
</translate>
</translate>
 
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true


== Installing plugins ==
== Installing plugins ==
Bureaucrats, cc_docs_admin, cc_staff
2,915

edits

Navigation menu