1 \documentclass[12pt]{article}
2 %\usepackage{latex2html}
14 \setcounter{secnumdepth}{5}
15 \setcounter{tocdepth}{5}
19 \title{UNRES.3.2.1 -- INSTALLATION GUIDE}
21 \author{Dawid Jagie{\l}a, Adam Liwo\\ Laboratory of Molecular Modeling\\ Faculty of Chemistry\\ University of Gdansk\\ Wita Stwosza 63\\ 80-308 Gdansk, Poland}
31 \section{Putting the package on your system}
34 The distribution is contained in the unrespack-v.3.2.1.tar.gz file. To put the package
35 on your system, copy the archive to your UNRES directory (you might want to create
36 an environmental variable, \$UNRESROOT or so, to define the location of UNRES on
40 gzip -cd unrespack-v.3.2.1.tar.gz | tar xf -
43 This will produce the directory structure shown in Figure \ref{fig:distr}.
50 |---------doc (documentation)
52 |---------PARAM (force field parameters)
56 | |-----unres (UNRES source codes; various versions)
58 | | |---src_MIN (only energy evaluation and minimization)
59 | | |---src_CSA (all functions except MD, includes CSA)
60 | | |---src_MD (all functions except CSA, includes MD, single chains)
61 | | |---src_MD-M (all functions except CSA, includes MD, oligomeric proteins)
62 | |-----wham (weighted analysis method source codes)
64 | | |---src (single chains)
65 | | |---src-M (oligomeric proteins)
67 | |-----cluster (cluster analysis source coded)
71 | | | |----src (input data from UNRES)
73 | | |---clust-wham (input data from WHAM)
75 | | |----src (for single-chain proteins)
76 | | |----src-M (for oligomeric proteins)
78 | |-----xdrfpdb (file format conversion source codes)
80 | |---src (single chains)
81 | |---src-M (oligomers)
83 |----------bin (C-shell script, batch scripts, and pre-compiled binaries)
101 \caption{Directory structure of the unres-3.2.1 package}
105 \section{Installation options}
108 The most convenient way to install the package is using Cmake, as described
109 in section 2. If your system does not run the required version of Cmake or
110 installation does not work, do step-by-step compilation of the components
111 of the package, as described in section 3.
113 \subsection{Requirements}
117 \item{--} Fortran compiler (must understant the Fortran 77 instructions)
118 \item{--} MPI (for CSA and MREMD)
121 \section{Installation using Cmake}
122 \label{section:Cmake}
124 \subsection{Requirements}
127 \item{--} CMake 2.8.0 or later
129 \item{--} Fortran compiler
130 \item{--} MPI (for CSA and MREMD)
133 \subsection{Basic installation}
135 These instructions give a very basic overview of how to configure, compile and
136 install UNRESPACK on most systems. If you are using unique install locations
137 and/or libraries that are not automatically detected please consult the 'Advanced'
143 Create a 'build' directory in the package source directory.
151 Configure the build system
179 \subsection{Advanced installation}
181 The build system (CMake) provides mechanisms for specifying non-standard
187 \underline{Compilers \& installation}
190 -DCMAKE_Fortran_COMPILER=xxx equal to name of Fortran Compiler you wish to use
193 -DCMAKE_INSTALL_PREFIX=xxx specify the binaries installation prefix
194 (default UNRESPACK_source_dir/bin)
198 \underline{Force fields}
201 -DUNRES_MD_FF=xxx compiles the MD versions with given force field.
202 Options are: GAB, E0LL2Y. Default: GAB
204 -DUNRES_CSA_FF=xxx compiles the CSA versions with given force field
205 Options are: CASP3, ALPHA, BETA, ALPHABETA, CASP5, 3P, 4P. Default: 4P.
208 Please read the online documentation on force fields available at
209 http://unres.eu/unres\#SECTION00090000000000000000
215 MPI implementation on your system should be automatically detected ("MPI Found"
216 message after runing cmake). If not you have two options:
221 Try setting the path to you MPI wrapper implementation
224 -DMPI_Fortran_COMPILER=xxx MPI wrapper
228 If option 1 fails or your MPI implementation does not come with a compiler wrapper
229 try setting both the MPI include and library paths manually. This will circumvent
230 autodetection entirely.
233 -DMPI_Fortran_INCLUDE_PATH=xxx
234 -DMPI_Fortran_LIBRARY="xxx"
240 \section{Step-by-step installation}
241 \label{sect:stepbystep}
243 For this installation, you will need to visit each source directory (see doc/UNRESPACK.txt
244 for directory structure). Specific installation instructions are in the documentation of
245 of the particular components of the package (UNRES, WHAM, CLUSTER, XDRFPDB). Only general
246 instructions are given here.
251 Go to the respective source directory.
254 Determine if any of the Makefiles present there matches your needs. The Makefiles for
255 Intel Fortran and Gnu Fortran are present everywhere and are guaranteed to work (provided
256 that your compiler/MPI installation is correct). Use this Makefile as the working Makefile
258 If your system uses a different compiler, copy the most matching Makefile to your working
259 Makefile (e.g., to Makefile\_CRAY if you'll be working with Cray Fortran).
262 Make a symbolic link of the working Makefile to Makefile, e.g.,
265 ln -s Makefile_gfortran Makefile
268 Before that, you'll need to remove the existing symbolic link (in the distribution, it
269 points to Makefile\_ifort).
272 Edit the Makefile to define MPI location, libraries, and the binaries directory
273 and executalble names, if you want to use different location/names from those in the
274 distribution Makefiles. The present locations are the subdirectories of the bin
275 directory and executable names include package component, compiler, MPI information,
276 and force field, e.g. unres\_csa\_gfort\_MPICH\_4P.exe stands for the CSA component,
277 compiled with GNU Fortran in a parallel mode (using MPICH) to run calculations with
281 For the components of XDRFPDB and in the directory cluster/unres/src, say
287 In other directories say
293 to create the respective executable.
295 The compiler flags are specified for the 4P (also covers the 3P, and CASP5 ff),
296 GAB (also covers E0G), and E0LL2Y force fields for all components; the CASP3 force field
297 is also specified for the CSA and MINIM component.
300 \section{TECHNICAL SUPPORT CONTACT INFORMATION}
304 Faculty of Chemistry, University of Gdansk\\
305 ul. Wita Stwosza 63, 80-308 Gdansk Poland.\\
306 fax: +48 58 523 5012\\
307 e-mail: \href{mailto:lightnir@gmail.com}{lightnir@gmail.com}\\
310 Prepared by Dawid Jagie{\l}a and Adam Liwo, 4/12/2014\\