<commit_before># Installation on Windows

Work in progress. For now, it's just notes of some initial steps.

1. I used an aws Windows 2012 R2 instance for this, on a g2.2xlarge.  Other things I tried, and why I abandoned them:
- 32-bit microsft modern.ie vm => 32-bit doesnt seem supported eg by CLBlast, and other libraries
- Windows 2016 => Windows 2016 doesnt seem to have an obvious NVIDIA K520 GPU Driver available
2. Install GPU Driver and GPU-specific OpenCL headers, libraries
3. Installed "Visual Studio Express 2015 for Windows Desktop".  Design decision: why not eg the command tools?
- Visual Studio 2017 command tools => got an error about '-ologo', when compiling llvm.  This might not be insurmountable in fact, since we get this with msvc 2015 too anyway...
- Visual Studio 2015 command tools => llvm requires msvc2015 update 3, and I couldnt see an obvious way of installing update 3, into command tools
4. Downloaded git, 64-bit, from https://git-scm.com/download/win , and run/installed this. (accepted all defaults, during installation)
5. open git command prompt
```
mkdir git
cd git
git clone https://github.com/hughperkins/coriander -b winbuild
cd coriander
git submodule update --init --recursive
```
5. go to https://cmake.org/download/
6. download teh 64-bit binary msi installer for windows, and run this
- choose defaults, except for I selected option 'add cmake to the system path for the current user'
7. go to http://python.org , download and install python 2.7.x
8. go to http://releases.llvm.org/download.html#4.0.0 , and download and run the windows 64-bit pre-built binary<commit_msg>win install doc numbering<commit_after># Installation on Windows

Work in progress. For now, it's just notes of some initial steps.

1. I used an aws Windows 2012 R2 instance for this, on a g2.2xlarge.  Other things I tried, and why I abandoned them:
- 32-bit microsft modern.ie vm => 32-bit doesnt seem supported eg by CLBlast, and other libraries
- Windows 2016 => Windows 2016 doesnt seem to have an obvious NVIDIA K520 GPU Driver available
2. Install GPU Driver and GPU-specific OpenCL headers, libraries
3. Installed "Visual Studio Express 2015 for Windows Desktop".  Design decision: why not eg the command tools?
- Visual Studio 2017 command tools => got an error about '-ologo', when compiling llvm.  This might not be insurmountable in fact, since we get this with msvc 2015 too anyway...
- Visual Studio 2015 command tools => llvm requires msvc2015 update 3, and I couldnt see an obvious way of installing update 3, into command tools
4. Downloaded git, 64-bit, from https://git-scm.com/download/win , and run/installed this. (accepted all defaults, during installation)
5. open git command prompt
```
mkdir git
cd git
git clone https://github.com/hughperkins/coriander -b winbuild
cd coriander
git submodule update --init --recursive
```
6. go to https://cmake.org/download/
- download teh 64-bit binary msi installer for windows, and run this
  - choose defaults, except for I selected option 'add cmake to the system path for the current user'
7. go to http://python.org , download and install python 2.7.x
8. go to http://releases.llvm.org/download.html#4.0.0 , and download and run the windows 64-bit pre-built binary
{'fraction_non_alphanumeric': 0.07443863426637957, 'fraction_numerical': 0.03906490310673639, 'mean_word_length': 3.9877300613496933, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4250702', 'n_tokens_mistral': 1003, 'n_tokens_neox': 888, 'n_words': 475}