<commit_before># Install Moltres

## 1. Install the Conda MOOSE Environment

Moltres relies on the MOOSE framework. We suggest that users install the MOOSE environment using
Conda packages by following the instructions in the "Install Mambaforge3" and "Install MOOSE Conda
Packages" section of the MOOSE
[installation guide](https://mooseframework.inl.gov/getting_started/installation/conda.html). The
`moose-tools` and `moose-libmesh` Conda package versions which are compatible with the current
MOOSE Git submodule on this repository are `moose-tools=2021.07.14` and `moose-libmesh=2021.07.14`.
We cannot guarantee compatibility with the older/newer MOOSE builds and their corresponding Conda
environments. Run the following command to install the specified package versions:

```bash
mamba install moose-tools=2021.07.14 moose-libmesh=2021.07.14
```

## 2. Clone Moltres

The Moltres GitHub repository already contains MOOSE and Squirrel as Git submodules, therefore
+there is no need to clone and compile MOOSE separately+. 

Abiding by MOOSE's instructions for setting up a `projects` directory for MOOSE-related content,
users can clone Moltres and download MOOSE as a submodule by running the commands:

```bash
mkdir ~/projects
cd ~/projects
git clone https://github.com/arfc/moltres.git
cd moltres
git checkout master
git submodule init
git submodule update
```

## 3. Compile and Test Moltres

Before proceeding with this step, check that the Conda MOOSE environment is activated in your
current terminal. This is achieved by running the following command every time you open a new
terminal:

```bash
conda activate moose
```

Finally, compile Moltres and run tests to check your installation using the following commands:

```bash
make -j8
./run_tests -j8
```

!alert note
You may also compile a debug version of Moltres by replacing the last line in 
the code block above with `METHOD=dbg make
-j8`. Note that you should replace `8` with the number of processors available
on your machine.

## 4. Running Moltres Simulations

If you have successfully compiled Moltres, you should have a `moltres-opt` executable in the
`~\projects\moltres` directory. To run your input file, use the following command:

```bash
~/projects/moltres/moltres-opt -i input-file.i
```

To run an input file on more than one processor, use the `mpirun` command as follows:

```bash
mpirun -n 8 ~/projects/moltres/moltres-opt -i input-file.i
```

As above, replace `8` with the number of processors available on your machine.
<commit_msg>Fix mistake on installing debug version of Moltres<commit_after># Install Moltres

## 1. Install the Conda MOOSE Environment

Moltres relies on the MOOSE framework. We suggest that users install the MOOSE environment using
Conda packages by following the instructions in the "Install Mambaforge3" and "Install MOOSE Conda
Packages" section of the MOOSE
[installation guide](https://mooseframework.inl.gov/getting_started/installation/conda.html). The
`moose-tools` and `moose-libmesh` Conda package versions which are compatible with the current
MOOSE Git submodule on this repository are `moose-tools=2021.07.14` and `moose-libmesh=2021.07.14`.
We cannot guarantee compatibility with the older/newer MOOSE builds and their corresponding Conda
environments. Run the following command to install the specified package versions:

```bash
mamba install moose-tools=2021.07.14 moose-libmesh=2021.07.14
```

## 2. Clone Moltres

The Moltres GitHub repository already contains MOOSE and Squirrel as Git submodules, therefore
+there is no need to clone and compile MOOSE separately+. 

Abiding by MOOSE's instructions for setting up a `projects` directory for MOOSE-related content,
users can clone Moltres and download MOOSE as a submodule by running the commands:

```bash
mkdir ~/projects
cd ~/projects
git clone https://github.com/arfc/moltres.git
cd moltres
git checkout master
git submodule init
git submodule update
```

## 3. Compile and Test Moltres

Before proceeding with this step, check that the Conda MOOSE environment is activated in your
current terminal. This is achieved by running the following command every time you open a new
terminal:

```bash
conda activate moose
```

Finally, compile Moltres and run tests to check your installation using the following commands:

```bash
make -j8
./run_tests -j8
```

!alert note
You may also compile a debug version of Moltres by running `METHOD=dbg make
-j8`. Note that you should replace `8` with the number of processors available
on your machine.

## 4. Running Moltres Simulations

If you have successfully compiled Moltres, you should have a `moltres-opt` executable in the
`~\projects\moltres` directory. To run your input file, use the following command:

```bash
~/projects/moltres/moltres-opt -i input-file.i
```

To run an input file on more than one processor, use the `mpirun` command as follows:

```bash
mpirun -n 8 ~/projects/moltres/moltres-opt -i input-file.i
```

As above, replace `8` with the number of processors available on your machine.

{'fraction_non_alphanumeric': 0.07022416187264431, 'fraction_numerical': 0.017060107121602858, 'mean_word_length': 4.768878718535469, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '663532', 'n_tokens_mistral': 1550, 'n_tokens_neox': 1436, 'n_words': 676}