Commit d0ef3145 authored by Adrian Pope's avatar Adrian Pope
Browse files

created default rule to build evertying but fortran, kept all rule to build...

created default rule to build evertying but fortran, kept all rule to build everything, modified README accordingly
parent 9bdde7be
......@@ -80,7 +80,7 @@ DFFT_MPI_FFLAGS ?= -g -O3 -cpp
DFFT_MPI_LDFLAGS ?=
# additional Fortran linker flags
# sometimes this also needs -lmpi++
# sometimes this also needs -lmpi++, -lmpicxx, -lmpi_cxx, etc
DFFT_MPI_FLDFLAGS ?= -lstdc++
# FFTW3
......@@ -96,6 +96,8 @@ DFFT_MPI_LDFLAGS += $(DFFT_FFTW_LDFLAGS)
default: nativec utilities
all: nativec utilities fortran
nativec: $(DFFT_MPI_DIR)/TestDfft
......@@ -104,6 +106,7 @@ fortran: $(DFFT_MPI_DIR)/TestFDfft
utilities: $(DFFT_MPI_DIR)/CheckDecomposition
.PHONY: clean
clean:
rm -rf $(DFFT_MPI_DIR) *.mod
......
SWFFT (HACC)
Adrian Pope (et al)
apope@anl.gov
2017-10-02
2017-10-25
========
Overview
......@@ -59,9 +59,14 @@ MPI-only version of the code:
$ make
By default the GNUmakefile will make the C/C++ interface and driver, the
Fortran interface and driver, and the CheckDecomposition utility. There are
also rules to make subsets of these:
By default the GNUmakefile will make the C/C++ interface and test driver
and the CheckDecomposition utility. The Fortran interface and test driver
are not built by default as the GNUmakefile will often require modification
to properly build and link the application. To make everything:
$ make all
There are also rules to make subsets of these:
$ make nativec
$ make utilities
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment