Difference between revisions of "Installation"

From victor
Jump to: navigation, search
Line 5: Line 5:
 
You can '''download''' it directly from [[https://github.com/ GitHub]]  
 
You can '''download''' it directly from [[https://github.com/ GitHub]]  
  
Alternatively you can '''clone''' Victor into your local repository. Assuming you already have intsalled '''Git''', just type:  
+
Alternatively you can '''clone''' Victor into your local repository. Assuming you already have installed '''Git''', just type:  
  
 
   git clone https://github.com/BioComputingUP/Victor.git <your_folder>
 
   git clone https://github.com/BioComputingUP/Victor.git <your_folder>
  
 
==Compile==
 
==Compile==
If you succesfully got the source code, now you need to compile it. Before compiling, please check the '''g++ compiler''' is installed in your system and set a couple of environment variables in the '''makefile.global''' or just type the following command, replacing <your_folder> with the Victor main directory:
+
If you successfully got the source code, now you need to compile it. Before compiling, please check the '''g++ compiler''' is installed in your system and set a couple of environment variables in the '''makefile.global''' or just type the following command, replacing <your_folder> with the Victor main directory:
  
 
  export VICTOR_ROOT=/<your_folder>/victor/  PATH=$PATH:/<your_folder>/victor/bin/
 
  export VICTOR_ROOT=/<your_folder>/victor/  PATH=$PATH:/<your_folder>/victor/bin/
Line 23: Line 23:
  
 
<pre>
 
<pre>
  bin/            // a copy of all "APPS" executables
+
  bin/            // a copy of all "APPS" executable
 
  Biopool/        // the Biopool package
 
  Biopool/        // the Biopool package
 
     /APPS
 
     /APPS
 
     /Data
 
     /Data
 
     /Sources
 
     /Sources
  data/          // simbolic links to the content of the "Data" folder inside packages  
+
  data/          // symbolic links to the content of the "Data" folder inside packages  
 
  Energy/        // the Energy package
 
  Energy/        // the Energy package
 
     /APPS
 
     /APPS
Line 34: Line 34:
 
     /Sources
 
     /Sources
 
  html/          // the Doxygen documentation
 
  html/          // the Doxygen documentation
  lib/            // libreries
+
  lib/            // libraries
 
  Lobo/          // the Lobo package
 
  Lobo/          // the Lobo package
 
     /APPS
 
     /APPS

Revision as of 15:32, 4 July 2014

If you already installed Victor go directly to the tutorial page.

Download

The source code as well as the precompiled version of the software are available in GitHub. You can download it directly from [GitHub]

Alternatively you can clone Victor into your local repository. Assuming you already have installed Git, just type:

 git clone https://github.com/BioComputingUP/Victor.git <your_folder>

Compile

If you successfully got the source code, now you need to compile it. Before compiling, please check the g++ compiler is installed in your system and set a couple of environment variables in the makefile.global or just type the following command, replacing <your_folder> with the Victor main directory:

export VICTOR_ROOT=/<your_folder>/victor/  PATH=$PATH:/<your_folder>/victor/bin/

Now, to compile the library simply do:

make clean
make depend
make install

After that you should obtain the following folder structure:

 bin/            // a copy of all "APPS" executable
 Biopool/        // the Biopool package
     /APPS
     /Data
     /Sources
 data/           // symbolic links to the content of the "Data" folder inside packages 
 Energy/         // the Energy package
     /APPS
     /Data
     /Sources
 html/           // the Doxygen documentation
 lib/            // libraries
 Lobo/           // the Lobo package
     /APPS
     /Data
     /Sources
 samples/        // some PDB files for testing purpose
 tools/          // some helper classes