Skip to content

Commit

Permalink
update GNUmake paths (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
baperry2 authored Jan 31, 2023
1 parent 3a11d9f commit d73709d
Show file tree
Hide file tree
Showing 25 changed files with 68 additions and 76 deletions.
11 changes: 5 additions & 6 deletions Exec/Cases/ChallengeProblem/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
TOP = ../../../..
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics
AMREX_HYDRO_HOME ?= ${TOP}/AMReX-Hydro
TOP = ../../..
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
HYPRE_HOME = /ccs/home/lesclapez/hypre/install-2807


# AMReX
DIM = 3
DEBUG = FALSE
Expand Down
11 changes: 5 additions & 6 deletions Exec/Cases/CounterFlow/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
TOP = ../../../..
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics
AMREX_HYDRO_HOME ?= ${TOP}/AMReX-Hydro

TOP = ../../..
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro

# AMReX
DIM = 2
Expand Down
13 changes: 6 additions & 7 deletions Exec/Cases/CounterFlowSpray/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
TOP = ../../../..
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics
AMREX_HYDRO_HOME ?= ${TOP}/AMReX-Hydro
PELEMP_HOME ?= ${TOP}/PeleMP

TOP = ../../..
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
PELEMP_HOME ?= ${PELELMEX_HOME}/Submodules/PeleMP

# AMReX
DIM = 2
Expand Down
11 changes: 5 additions & 6 deletions Exec/Cases/DiffBunsen2D/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
TOP = ../../../
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics
AMREX_HYDRO_HOME ?= ${TOP}/AMReX-Hydro

TOP = ../../..
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro

# AMReX
DIM = 2
Expand Down
11 changes: 5 additions & 6 deletions Exec/Cases/JetInCrossflow/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
TOP = ../../../..
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics
AMREX_HYDRO_HOME ?= ${TOP}/AMReX-Hydro

TOP = ../../..
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro

# AMReX
DIM = 3
Expand Down
11 changes: 5 additions & 6 deletions Exec/Cases/NormalJet_OpenDomain/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
TOP = ../../../..
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics
AMREX_HYDRO_HOME ?= ${TOP}/AMReX-Hydro

TOP = ../../..
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro

# AMReX
DIM = 3
Expand Down
11 changes: 5 additions & 6 deletions Exec/Cases/PremBunsen2D/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
TOP = ../../../..
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics
AMREX_HYDRO_HOME ?= ${TOP}/AMReX-Hydro

TOP = ../../..
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro

# AMReX
DIM = 2
Expand Down
11 changes: 5 additions & 6 deletions Exec/Cases/PremBunsen3D/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
TOP = ../../../..
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics
AMREX_HYDRO_HOME ?= ${TOP}/AMReX-Hydro

TOP = ../../..
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro

# AMReX
DIM = 3
Expand Down
11 changes: 5 additions & 6 deletions Exec/Cases/SwirlFlowWallInteractions/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
TOP = ../../../..
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics
AMREX_HYDRO_HOME ?= ${TOP}/AMReX-Hydro

TOP = ../../..
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro

# AMReX
DIM = 3
Expand Down
10 changes: 5 additions & 5 deletions Exec/Cases/TripleFlame/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
TOP = ../../../..
AMREX_HOME ?= ${TOP}/amrex
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELE_PHYSICS_HOME ?= ${TOP}/PelePhysics

TOP = ../../..
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro

# AMReX
DIM = 2
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/EB_EnclosedFlame/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/EB_EnclosedVortex/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/EB_FlowPastCylinder/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/EB_PipeFlow/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/EnclosedFlame/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/EnclosedInjection/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
1 change: 0 additions & 1 deletion Exec/RegTests/EnclosedInjection/pelelm_prob.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <PeleLM.H>
#include <AMReX_ParmParse.H>
#include <pmf.H>

void PeleLM::readProbParm()
{
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/FlameSheet/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/HITDecay/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/HotBubble/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/PeriodicCases/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/SprayTest/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/TaylorGreen/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
2 changes: 1 addition & 1 deletion Exec/RegTests/TurbInflow/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TOP = ../../..
PELELMEX_HOME ?= ${TOP}/PeleLMeX
PELELMEX_HOME ?= ${TOP}
AMREX_HOME ?= ${PELELMEX_HOME}/Submodules/amrex
PELE_PHYSICS_HOME ?= ${PELELMEX_HOME}/Submodules/PelePhysics
AMREX_HYDRO_HOME ?= ${PELELMEX_HOME}/Submodules/AMReX-Hydro
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can clone the PeleLMeX and tested versions of its submodules
git clone --recursive https://github.com/AMReX-Combustion/PeleLMeX.git
```

and setup the following environment variables (e.g. using bash):
You can optionally setup the following environment variables (e.g. using bash):

```
export PELELMEX_HOME=<path_to_PeleLMeX>
Expand All @@ -50,7 +50,9 @@ export AMREX_HYDRO_HOME=${PELELMEX_HOME}/Submodules/AMReX-Hydro
export PELE_PHYSICS_HOME=${PELELMEX_HOME}/Submodules/PelePhysics
```

Then, move into one of the available example, such as `HotBubble`:
If you do not set these paths as environment variables, they will be assumed as specified in the `GNUmakefile` for the case you are compiling. If compiling in the default location for each case, no modifications are necessary.

Then, move into one of the available examples, such as `HotBubble`:

```
cd PeleLMeX/Exec/RegTest/HotBubble
Expand Down

0 comments on commit d73709d

Please sign in to comment.