-
Notifications
You must be signed in to change notification settings - Fork 62
Clarify Makefile Contents #1771
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
Author
|
Sample new output: $ make info-basic
-----------------------------------------
| ___ __ ______________________ |
| / (_) /_ / ____/ ____/ ____/ __ \ |
| / / / __ \/ / / __/ / __/ / / / / |
| / / / /_/ / /___/ /___/ /___/ /_/ / |
| /_/_/_.___/\____/_____/_____/_____/ |
-----------------------------------------
-----------------------------------------
Built-in Backends:
/cpu/self/ref/serial /cpu/self/ref/blocked /cpu/self/opt/serial /cpu/self/opt/blocked
Additional Backends:
/cpu/self/memcheck/serial /cpu/self/memcheck/blocked /cpu/self/avx/serial /cpu/self/avx/blocked /cpu/self/xsmm/serial /cpu/self/xsmm/blocked /gpu/cuda/ref /gpu/cuda/shared /gpu/cuda/gen
-----------------------------------------$ make info
-----------------------------------------
| ___ __ ______________________ |
| / (_) /_ / ____/ ____/ ____/ __ \ |
| / / / __ \/ / / __/ / __/ / / / / |
| / / / /_/ / /___/ /___/ /___/ /_/ / |
| /_/_/_.___/\____/_____/_____/_____/ |
-----------------------------------------
-----------------------------------------
Built-in Backends:
/cpu/self/ref/serial /cpu/self/ref/blocked /cpu/self/opt/serial /cpu/self/opt/blocked
Additional Backends:
/cpu/self/memcheck/serial /cpu/self/memcheck/blocked /cpu/self/avx/serial /cpu/self/avx/blocked /cpu/self/xsmm/serial /cpu/self/xsmm/blocked /gpu/cuda/ref /gpu/cuda/shared /gpu/cuda/gen
-----------------------------------------
Compiler Flags:
CC = gcc-13
CXX = g++-13
FC = gfortran
CPPFLAGS = -I./include
CFLAGS = -O -march=native -g -ffp-contract=fast -fopenmp-simd -fPIC -std=c99 -Wall -Wextra -Wno-unused-parameter -MMD -MP
CXXFLAGS = -O -march=native -g -ffp-contract=fast -fopenmp-simd -fPIC -std=c++11 -Wall -Wextra -Wno-unused-parameter -MMD -MP
FFLAGS = -O -march=native -g -ffp-contract=fast -fopenmp-simd -fPIC -cpp -Wall -Wextra -Wno-unused-parameter -Wno-unused-dummy-argument -MMD -MP
NVCCFLAGS = -ccbin g++-13 -Xcompiler "-O -march=native -g -ffp-contract=fast -fopenmp-simd" -Xcompiler -fPIC -arch=sm_89
HIPCCFLAGS = -O -march=native -g -ffp-contract=fast -fPIC -munsafe-fp-atomics
SYCLFLAGS = -fPIC -std=c++17 -O -march=native -g -ffp-contract=fast -fopenmp-simd -fPIC -Wall -Wextra -Wno-unused-parameter -MMD -MP -O -march=native -g -ffp-contract=fast
CEED_LDFLAGS =
CEED_LDLIBS = -lm
AR = ar
ARFLAGS = crD
OPT = -O -march=native -g -ffp-contract=fast -fopenmp-simd
AFLAGS = -fsanitize=address
ASAN = (empty)
VERBOSE = (empty) [verbose=off]
-----------------------------------------
Backend Dependencies:
MEMCHK_STATUS = Enabled [backends: /cpu/self/memcheck/serial /cpu/self/memcheck/blocked]
AVX_STATUS = Enabled [backends: /cpu/self/avx/serial /cpu/self/avx/blocked]
XSMM_DIR = ../libxsmm [backends: /cpu/self/xsmm/serial /cpu/self/xsmm/blocked]
CUDA_DIR = /opt/cuda [backends: /gpu/cuda/ref /gpu/cuda/shared /gpu/cuda/gen]
ROCM_DIR = [not found]
SYCL_DIR = [not found]
MAGMA_DIR = ../magma [not found]
OCCA_DIR = ../occa/install [not found]
-----------------------------------------
Example Dependencies:
MFEM_DIR = ../mfem
NEK5K_DIR =
PETSC_DIR =
DEAL_II_DIR = ../dealii/install
-----------------------------------------
Install Options:
prefix = /usr/local
includedir = $(prefix)/include
libdir = $(prefix)/lib
pkgconfigdir = $(libdir)/pkgconfig
----------------------------------------- |
jrwrigh
reviewed
Mar 5, 2025
jrwrigh
approved these changes
Mar 6, 2025
Collaborator
jrwrigh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the cleanup effort!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #1766
I added some comments for clarity and grouped like content.
The only functional change is slightly expanding the
make infooutput and adding a shortermake info-basicoutput.When we're happy with this, we can migrate it to Ratel as well.