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
244 Figure \ref{fig:distr}
245 for directory structure). Specific installation instructions are in the documentation of
246 of the particular components of the package (UNRES, WHAM, CLUSTER, XDRFPDB). Only general
247 instructions are given here.
252 Go to the respective source directory.
255 Determine if any of the Makefiles present there matches your needs. The Makefiles for
256 Intel Fortran and Gnu Fortran are present everywhere and are guaranteed to work (provided
257 that your compiler/MPI installation is correct). Use this Makefile as the working Makefile
259 If your system uses a different compiler, copy the most matching Makefile to your working
260 Makefile (e.g., to Makefile\_CRAY if you'll be working with Cray Fortran).
263 Make a symbolic link of the working Makefile to Makefile, e.g.,
266 ln -s Makefile_gfortran Makefile
269 Before that, you'll need to remove the existing symbolic link (in the distribution, it
270 points to Makefile\_ifort).
273 Edit the Makefile to define MPI location, libraries, and the binaries directory
274 and executalble names, if you want to use different location/names from those in the
275 distribution Makefiles. The present locations are the subdirectories of the bin
276 directory and executable names include package component, compiler, MPI information,
277 and force field, e.g. unres\_csa\_gfort\_MPICH\_4P.exe stands for the CSA component,
278 compiled with GNU Fortran in a parallel mode (using MPICH) to run calculations with
282 For the components of XDRFPDB and in the directory cluster/unres/src, say
288 In other directories say
294 to create the respective executable.
296 The compiler flags are specified for the 4P (also covers the 3P, and CASP5 ff),
297 GAB (also covers E0G), and E0LL2Y force fields for all components; the CASP3 force field
298 is also specified for the CSA and MINIM component.
301 \section{TECHNICAL SUPPORT CONTACT INFORMATION}
305 Faculty of Chemistry, University of Gdansk\\
306 ul. Wita Stwosza 63, 80-308 Gdansk Poland.\\
307 fax: +48 58 523 5012\\
308 e-mail: \href{mailto:lightnir@gmail.com}{lightnir@gmail.com}\\
311 Prepared by Dawid Jagie{\l}a and Adam Liwo, 4/12/2014\\