Skip to content

Commit

Permalink
Merge pull request #36 from ca525/ca525/improve-APCEMM-examples
Browse files Browse the repository at this point in the history
Make the examples consistent with the compilation
  • Loading branch information
sdeastham authored Aug 26, 2024
2 parents 4ccf883 + 5b55893 commit 4b68ac8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 12 deletions.
13 changes: 9 additions & 4 deletions examples/Example1_EPM/run_example1.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
cd ../../Code.v05-00/
cmake . && cmake --build . || exit 1
cd ../examples/Example1_EPM
# # Uncomment the following lines to compile APCEMM
# git submodule update --init --recursive
# mkdir ../../build
# cd ../../build/
# cmake ../Code.v05-00/ && cmake --build . || exit 1
# cd ../examples/Example1_EPM

# Run Example 1
export APCEMM_runDir="."
./../../Code.v05-00/APCEMM input.yaml
./../../build/APCEMM input.yaml
13 changes: 9 additions & 4 deletions examples/Example2_Impose_Depth/run_example2.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
cd ../../Code.v05-00/
cmake . && cmake --build . || exit 1
cd ../examples/Example2_Impose_Depth
# # Uncomment the following lines to compile APCEMM
# git submodule update --init --recursive
# mkdir ../../build
# cd ../../build/
# cmake ../Code.v05-00 && cmake --build . || exit 1
# cd ../examples/Example2_Impose_Depth

# Run Example 2
export APCEMM_runDir="."
./../../Code.v05-00/APCEMM input.yaml
./../../build/APCEMM input.yaml
13 changes: 9 additions & 4 deletions examples/Example3_met_input/run_example3.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
cd ../../Code.v05-00/
cmake . && cmake --build . || exit 1
cd ../examples/Example3_met_input
# # Uncomment the following lines to compile APCEMM
# git submodule update --init --recursive
# mkdir ../../build
# cd ../../build/
# cmake ../Code.v05-00 && cmake --build . || exit 1
# cd ../examples/Example3_met_input

# Run Example 3
export APCEMM_runDir="."
./../../Code.v05-00/APCEMM input.yaml
./../../build/APCEMM input.yaml

0 comments on commit 4b68ac8

Please sign in to comment.