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

Add USE_SYCL to GNUmakefiles #230

Merged
merged 2 commits into from
Aug 9, 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
1 change: 1 addition & 0 deletions Docs/source/manual/Tutorials_BFSFlame.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ The next few lines specify AMReX compilation options and compiler selection: ::
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

It allows users to specify the number of spatial dimensions (2D), activate the compilation of the EB aware AMReX source code,
trigger debug compilation and other AMReX options. The compiler (``gnu``) and the parallelism paradigm
Expand Down
1 change: 1 addition & 0 deletions Docs/source/manual/Tutorials_FlameSheet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ The next few lines specify AMReX compilation options and compiler selection: ::
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

It allows users to specify the number of spatial dimensions (2D), trigger debug compilation and other AMReX options. The compiler (``gnu``) and the parallelism paradigm (in the present case only MPI is used) are then selected. Note that on OSX platform, one should update the compiler to ``llvm``.

Expand Down
1 change: 1 addition & 0 deletions Docs/source/manual/Tutorials_FlowPastCyl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ Next comes the build configuration block: ::
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# MISC options
DEBUG = FALSE
Expand Down
1 change: 1 addition & 0 deletions Docs/source/manual/Tutorials_TripleFlame.rst
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ The next few lines specify AMReX compilation options and compiler selection: ::
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

In `PeleLMeX`, the chemistry model (set of species, their thermodynamic and transport properties as well as the
description of their of chemical interactions) is specified at compile time. Chemistry models available
Expand Down
5 changes: 3 additions & 2 deletions Exec/Cases/ChallengeProblem/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ DEBUG = FALSE
PRECISION = DOUBLE
VERBOSE = FALSE
TINY_PROFILE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE

# Compilation
COMP = clang
USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = TRUE
USE_SYCL = FALSE

# PeleLMeX
CEXE_headers += EBUserDefined.H
Expand Down
1 change: 1 addition & 0 deletions Exec/Cases/CounterFlow/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/Cases/CounterFlowSpray/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/Cases/DiffBunsen2D/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/Cases/JetInCrossflow/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
1 change: 1 addition & 0 deletions Exec/Cases/NormalJet_OpenDomain/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/Cases/PremBunsen2D/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/Cases/PremBunsen3D/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/Cases/SwirlFlowWallInteractions/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/Cases/TripleFlame/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/Efield/FlameSheetIons/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = TRUE
Expand Down
1 change: 1 addition & 0 deletions Exec/Efield/IonizedAirWave/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = TRUE
Expand Down
1 change: 1 addition & 0 deletions Exec/Efield/PremBunsen3DKuhl/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = TRUE
Expand Down
5 changes: 3 additions & 2 deletions Exec/RegTests/EB_BackwardStepFlame/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ DEBUG = FALSE
PRECISION = DOUBLE
VERBOSE = FALSE
TINY_PROFILE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE

# Compilation
COMP = gnu
USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
CEXE_headers += EBUserDefined.H
Expand Down
5 changes: 3 additions & 2 deletions Exec/RegTests/EB_EnclosedFlame/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ DEBUG = FALSE
PRECISION = DOUBLE
VERBOSE = FALSE
TINY_PROFILE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE

# Compilation
COMP = gnu
USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
5 changes: 3 additions & 2 deletions Exec/RegTests/EB_EnclosedVortex/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ DEBUG = FALSE
PRECISION = DOUBLE
VERBOSE = FALSE
TINY_PROFILE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE

# Compilation
COMP = gnu
USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
5 changes: 3 additions & 2 deletions Exec/RegTests/EB_FlowPastCylinder/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ DEBUG = FALSE
PRECISION = DOUBLE
VERBOSE = FALSE
TINY_PROFILE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE

# Compilation
COMP = gnu
USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
CEXE_headers += EBUserDefined.H
Expand Down
5 changes: 3 additions & 2 deletions Exec/RegTests/EB_PipeFlow/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ DEBUG = FALSE
PRECISION = DOUBLE
VERBOSE = FALSE
TINY_PROFILE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE
USE_EB = TRUE
USE_HYPRE = FALSE

# Compilation
COMP = gnu
USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
CEXE_headers += EBUserDefined.H
Expand Down
1 change: 1 addition & 0 deletions Exec/RegTests/EnclosedFlame/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
1 change: 1 addition & 0 deletions Exec/RegTests/EnclosedInjection/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
1 change: 1 addition & 0 deletions Exec/RegTests/FlameSheet/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/RegTests/HITDecay/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
1 change: 1 addition & 0 deletions Exec/RegTests/HotBubble/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
1 change: 1 addition & 0 deletions Exec/RegTests/PeriodicCases/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
1 change: 1 addition & 0 deletions Exec/RegTests/SprayTest/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
3 changes: 2 additions & 1 deletion Exec/RegTests/TaylorGreen/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ VERBOSE = FALSE
TINY_PROFILE = FALSE

# Compilation
COMP = llvm
COMP = gnu
USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
3 changes: 2 additions & 1 deletion Exec/RegTests/TripleFlame/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ VERBOSE = FALSE
TINY_PROFILE = FALSE

# Compilation
COMP = llvm
COMP = gnu
USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/RegTests/TurbInflow/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
1 change: 1 addition & 0 deletions Exec/RegTests/Unit/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down
1 change: 1 addition & 0 deletions Exec/UnitTests/DodecaneLu/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX
USE_EFIELD = FALSE
Expand Down
1 change: 1 addition & 0 deletions Exec/UnitTests/EB_SphericalFlame/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ USE_MPI = TRUE
USE_OMP = FALSE
USE_CUDA = FALSE
USE_HIP = FALSE
USE_SYCL = FALSE

# PeleLMeX

Expand Down