Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define CASTRO_HOME conditionally in all problem directories #2640

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Diagnostics/DustCollapse/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Bpack := ./Make.package
Blocs := .
# EXTERN_SEARCH = .

CASTRO_HOME := ../..
CASTRO_HOME ?= ../..

INCLUDE_LOCATIONS += $(AMREX_HOME)/Src/Extern/amrdata
include $(AMREX_HOME)/Src/Extern/amrdata/Make.package
Expand Down
2 changes: 1 addition & 1 deletion Diagnostics/Radiation/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Bpack := ./Make.package
Blocs := .
# EXTERN_SEARCH = .

CASTRO_HOME := ../..
CASTRO_HOME ?= ../..

INCLUDE_LOCATIONS += $(AMREX_HOME)/Src/Extern/amrdata
include $(AMREX_HOME)/Src/Extern/amrdata/Make.package
Expand Down
2 changes: 1 addition & 1 deletion Diagnostics/Sedov/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Bpack := ./Make.package
Blocs := .
# EXTERN_SEARCH = .

CASTRO_HOME := ../..
CASTRO_HOME ?= ../..

#INCLUDE_LOCATIONS += $(AMREX_HOME)/Src/Extern/amrdata
#include $(AMREX_HOME)/Src/Extern/amrdata/Make.package
Expand Down
2 changes: 1 addition & 1 deletion Exec/gravity_tests/DustCollapse/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ USE_MHD = FALSE


# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/gravity_tests/StarGrav/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

PRECISION = DOUBLE
PROFILE = FALSE
Expand Down
2 changes: 1 addition & 1 deletion Exec/gravity_tests/evrard_collapse/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Define the location of the CASTRO top directory,
# if not already defined by an environment variable.

CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# Location of this directory. Useful if
# you're trying to compile this from another location.
Expand Down
2 changes: 1 addition & 1 deletion Exec/gravity_tests/hse_convergence/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_MODEL_PARSER = TRUE

USE_MAESTRO_INIT = FALSE

CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/eos
EOS_DIR := helmholtz
Expand Down
2 changes: 1 addition & 1 deletion Exec/gravity_tests/hse_convergence_general/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ USE_DIFFUSION = FALSE
USE_MODEL_PARSER = TRUE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/eos
EOS_DIR := helmholtz
Expand Down
2 changes: 1 addition & 1 deletion Exec/gravity_tests/hydrostatic_adjust/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_GRAV = TRUE

USE_MODEL_PARSER = TRUE

CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/eos
EOS_DIR := helmholtz
Expand Down
2 changes: 1 addition & 1 deletion Exec/gravity_tests/uniform_cube/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Define the location of the CASTRO top directory,
# if not already defined by an environment variable.

CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# Location of this directory. Useful if
# you're trying to compile this from another location.
Expand Down
2 changes: 1 addition & 1 deletion Exec/gravity_tests/uniform_sphere/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Define the location of the CASTRO top directory,
# if not already defined by an environment variable.

CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# Location of this directory. Useful if
# you're trying to compile this from another location.
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/KH/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Define the location of the CASTRO top directory,
# if not already defined by an environment variable.

CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# Location of this directory. Useful if
# you're trying to compile this from another location.
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/Noh/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Define the location of the CASTRO top directory,
# if not already defined by an environment variable.

CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# Location of this directory. Useful if
# you're trying to compile this from another location.
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/RT/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ USE_PARTICLES = FALSE


# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/Sedov/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ USE_MHD = FALSE
BL_NO_FORT := TRUE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/Sod/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ USE_OMP = FALSE


# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/Sod_stellar/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ USE_MHD = FALSE


# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/eos
EOS_DIR := helmholtz
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/Vortices_LWAcoustics/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_OMP = FALSE


# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/acoustic_pulse/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ USE_MPI = TRUE
USE_OMP = FALSE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/acoustic_pulse_general/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ USE_MPI = TRUE
USE_OMP = FALSE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := helmholtz
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/double_bubble/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_GRAV = TRUE
USE_MODEL_PARSER = TRUE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := multigamma
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/double_mach_reflection/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ USE_OMP = FALSE


# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/gamma_law_bubble/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

PRECISION = DOUBLE
PROFILE = FALSE
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/gresho_vortex/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ USE_MPI = TRUE
USE_OMP = FALSE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/oddeven/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_OMP = FALSE
USE_SHOCK_VAR = TRUE


CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/riemann_2d/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ USE_MPI = FALSE
USE_OMP = FALSE

# define CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/rotating_torus/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ USE_ROTATION = TRUE
USE_HYBRID_MOMENTUM = TRUE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/eos
EOS_DIR := polytrope
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/test_convect/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

PRECISION = DOUBLE
PROFILE = FALSE
Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/toy_convect/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_REACT = FALSE

USE_MODEL_PARSER = TRUE

CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/eos
EOS_DIR := helmholtz
Expand Down
2 changes: 1 addition & 1 deletion Exec/mhd_tests/Alfven/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_OMP = FALSE
USE_MHD = TRUE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in Castro/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/mhd_tests/BrioWu/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_OMP = FALSE
USE_MHD = TRUE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in Castro/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/mhd_tests/DaiWoodward/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_OMP = FALSE
USE_MHD = TRUE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in Castro/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/mhd_tests/FastRarefaction/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_OMP = FALSE
USE_MHD = TRUE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in Castro/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/mhd_tests/LoopAdvection/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ USE_MHD = TRUE


# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in Castro/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/mhd_tests/MagnetosonicWaves/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_OMP = FALSE
USE_MHD = TRUE

# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in Castro/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/mhd_tests/OrszagTang/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ USE_MHD = TRUE


# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in Castro/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/mhd_tests/RT/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ USE_MHD = TRUE


# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in $(MICROPHYSICS_HOME)/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/mhd_tests/species/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ USE_MHD = TRUE


# define the location of the CASTRO top directory
CASTRO_HOME := ../../..
CASTRO_HOME ?= ../../..

# This sets the EOS directory in Castro/EOS
EOS_DIR := gamma_law
Expand Down
2 changes: 1 addition & 1 deletion Exec/radiation_tests/Rad2Tshock/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PROFILE = FALSE
USE_RAD = TRUE


CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

EOS_DIR := gamma_law

Expand Down
2 changes: 1 addition & 1 deletion Exec/radiation_tests/RadBlastWave/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ USE_MPI = TRUE

USE_RAD = TRUE

CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

EOS_DIR := gamma_law

Expand Down
2 changes: 1 addition & 1 deletion Exec/radiation_tests/RadBreakout/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USE_RAD = TRUE

USE_MODEL_PARSER = TRUE

CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

EOS_DIR = breakout
NETWORK_DIR := general_null
Expand Down
2 changes: 1 addition & 1 deletion Exec/radiation_tests/RadFront/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PROFILE = FALSE
USE_RAD = TRUE


CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

EOS_DIR := gamma_law

Expand Down
2 changes: 1 addition & 1 deletion Exec/radiation_tests/RadShestakovBolstad/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PROFILE = FALSE
USE_RAD = TRUE


CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

EOS_DIR := rad_power_law

Expand Down
2 changes: 1 addition & 1 deletion Exec/radiation_tests/RadSourceTest/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PROFILE = FALSE
USE_RAD = TRUE


CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

# has the f90 routine ca_initgroups and group structure in probdata_module
#HAS_INITGROUPS = TRUE
Expand Down
2 changes: 1 addition & 1 deletion Exec/radiation_tests/RadSphere/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PROFILE = FALSE
USE_RAD = TRUE


CASTRO_HOME = ../../..
CASTRO_HOME ?= ../../..

EOS_DIR := rad_power_law

Expand Down
Loading