DCPROGS / HJCFIT

Full maximum likelihood fitting of a mechanism directly to the entire sequence of open and shut times, with exact missed events correction.
GNU General Public License v3.0
9 stars 4 forks source link

Update documentation on install process and ARCHER #79

Open raquelalegre opened 8 years ago

raquelalegre commented 8 years ago
remislp commented 8 years ago

Successfully installed HJCFIT on my Win7 64bit machine. Below are notes I made during installation. I think, documentation should explicitly say what should be installed manually (eg wget, SWIG, etc).

DCPROGS HJCFIT installation notes

1 Download and install Anaconda Python3.5 64b (or any other; Anaconda is useful because automatically provides some Python packages like numpy, scipy etc)

2 Download and install Visual Studio 2015 Community version (free). After VS2015 installation start a new C++ project to install C++ compiler.

3 Install Git, CMake, SWIG and Wget (can be done via choco)

4 Python dependencies: numpy, scipy, six - these come with Anaconda, if not can be installed via pip or some other way behave - can be installed via pip

5 Clone HJCFIT develop's branch:

git clone -b develop https://github.com/DCPROGS/HJCFIT.git

or master branch

git clone https://github.com/DCPROGS/HJCFIT.git

6 Get into the project's folder and create a build directory where all the cmake temp files will be stored:

cd HJCFIT mkdir build && cd build

7 Load 64-bit VS2015 stuff:

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64

- Check it went fine by looking at output of 
  >cl
it should look like: Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23026 for x64
which corresponds to VS2015 64-bit version of cl.

8 Compile the code:

cmake .. -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles"

9 Install the code:

nmake install

raquelalegre commented 8 years ago

Added some documentation in the wiki about HJCFIT in ARCHER.