Skip to content

Commit

Permalink
updated executable paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lzichi committed Aug 5, 2024
1 parent 60d27d8 commit ce7fbc1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions GMC.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ To access the makefile, enter the `GMC` folder:
$ cd GMC
```

Next create an executable with the makefile. The executable will be located in the `GMC` folder.
Next create an executable with the makefile. The executable will be located in the `build` folder.

```
$ make GMC
Expand All @@ -143,8 +143,7 @@ $ make help
- <span style="color:#0066CC"> energy_budget </span>: allowed energy to be added into the system.
- <span style="color:#0066CC"> checkpoint </span>: whether checkpointing should occur.


When running `GMC` ensure that your input file paths are correct considering the executable is inside the build folder. Below is an example of how `GMC` can be run using the input files inside the <a href="{{ site.github.repository_url }}"> examples directory </a> (here `step_cutoff` is specified):
When running `GMC` ensure that your input file paths are correct considering the executable is inside the `build` folder. Below is an example of how `GMC` can be run using the input files inside the <a href="{{ site.github.repository_url }}"> examples directory </a> (here `step_cutoff` is specified):

```
build/GMC --reaction_database=examples/GMC/end-to-end-test/rn.sqlite --initial_state_database=examples/GMC/end-to-end-test/initial_state_copy.sqlite --number_of_simulations=1000 --base_seed=1000 --thread_count=8 --step_cutoff=200 --energy_budget=0 --checkpoint=1
Expand Down
6 changes: 3 additions & 3 deletions LGMC.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ To access the makefile, enter the LGMC folder:
$ cd LGMC
```

Next create an executable with the makefile. The executable will be located in the LGMC folder.
Next create an executable with the makefile. The executable will be located in the `build` folder.

```
$ make LGMC
Expand Down Expand Up @@ -178,8 +178,8 @@ LGMC requires seven input arguments (either `step_cutoff` or `time_cutoff` must
- <span style="color:#006633"> Is add site (T\|F) </span>
- <span style="color:#006633"> Charge transfer style (M\|B) </span>

When running LGMC ensure that your input file paths are correct considering the executable is inside the LGMC folder. Below is an example of how LGMC can be run using the input files inside the <a href="{{ site.github.repository_url }}"> examples directory </a> (here `step_cutoff` is specified):
When running LGMC ensure that your input file paths are correct considering the executable is inside the `build` folder. Below is an example of how LGMC can be run using the input files inside the <a href="{{ site.github.repository_url }}"> examples directory </a> (here `step_cutoff` is specified):

```
./LGMC --lattice_reaction_database=../examples/LGMC/CO_oxidation/rn.sqlite --initial_state_database=../examples/LGMC/CO_oxidation/initial_state.sqlite --number_of_simulations=1000 --base_seed=1000 --thread_count=8 --step_cutoff=200 --checkpoint=1 --parameters=../examples/LGMC/CO_oxidation/LGMC_params.txt
build/LGMC --lattice_reaction_database=examples/LGMC/CO_oxidation/rn.sqlite --initial_state_database=examples/LGMC/CO_oxidation/initial_state.sqlite --number_of_simulations=1000 --base_seed=1000 --thread_count=8 --step_cutoff=200 --checkpoint=1 --parameters=examples/LGMC/CO_oxidation/LGMC_params.txt
```
6 changes: 3 additions & 3 deletions NPMC.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ To access the makefile, enter the `NPMC` folder:
$ cd NPMC
```

Next create an executable with the makefile. The executable will be located in the `NPMC` folder.
Next create an executable with the makefile. The executable will be located in the `build` folder.

```
$ make NPMC
Expand All @@ -166,8 +166,8 @@ $ make help
- <span style="color:#0066CC"> time_cutoff </span>: how much time in each simulation [s].
- <span style="color:#0066CC"> checkpoint </span>: whether checkpointing should occur.

When running `NPMC` ensure that your input file paths are correct considering the executable is inside the `NPMC` folder. Below is an example of how `NPMC` can be run using the input files inside the <a href="{{ site.github.repository_url }}"> examples directory </a> (here `step_cutoff` is specified):
When running `NPMC` ensure that your input file paths are correct considering the executable is inside the `build` folder. Below is an example of how `NPMC` can be run using the input files inside the <a href="{{ site.github.repository_url }}"> examples directory </a> (here `step_cutoff` is specified):

```
./NPMC --nano_particle_database=../examples/NPMC/np.sqlite --initial_state_database=../examples/NPMC/initial_state.sqlite --number_of_simulations=1000 --base_seed=1000 --thread_count=8 --step_cutoff=200 --checkpoint=1
build/NPMC --nano_particle_database=examples/NPMC/np.sqlite --initial_state_database=examples/NPMC/initial_state.sqlite --number_of_simulations=1000 --base_seed=1000 --thread_count=8 --step_cutoff=200 --checkpoint=1
```

0 comments on commit ce7fbc1

Please sign in to comment.