Skip to content

Commit

Permalink
Update to version 0.6 - first MPI version
Browse files Browse the repository at this point in the history
  • Loading branch information
cferenba committed Feb 28, 2014
1 parent b6f3101 commit 617414f
Show file tree
Hide file tree
Showing 56 changed files with 32,721 additions and 634,499 deletions.
19 changes: 14 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,24 @@ CXXFLAGS_OPENMP := -openmp

# end compiler-dependent flags

LD := $(CXX)

# select optimized or debug
CXXFLAGS := $(CXXFLAGS_OPT) $(CPPFLAGS)
#CXXFLAGS := $(CXXFLAGS_DEBUG) $(CPPFLAGS)
CXXFLAGS := $(CXXFLAGS_OPT)
#CXXFLAGS := $(CXXFLAGS_DEBUG)

# add mpi to compile (comment out for serial build)
# the following assumes the existence of an mpi compiler
# wrapper called mpicxx
CXX := mpicxx
CXXFLAGS += -DUSE_MPI

# add openmp flags (comment out for serial build)
CXXFLAGS += $(CXXFLAGS_OPENMP)
LDFLAGS += $(CXXFLAGS_OPENMP)

LD := $(CXX)


# begin rules
all : $(BINARY)

-include $(DEPS)
Expand All @@ -62,8 +70,9 @@ $(BUILDDIR)/%.d : $(SRCDIR)/%.cc
@$(CXX) $(CXXFLAGS) $(CXXINCLUDES) -MM $< | sed "1s![^ \t]\+\.o!$(@:.d=.o) $@!" >$@

define maketargetdir
-@mkdir -p $(dir $@) > /dev/null 2>&1
-@mkdir -p $(dir $@) >/dev/null 2>&1
endef

.PHONY : clean
clean :
rm -f $(BINARY) $(OBJS) $(DEPS)
30 changes: 30 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
PENNANT Description:

PENNANT is an unstructured mesh physics mini-app designed for advanced
architecture research. It contains mesh data structures and a few
physics algorithms adapted from the LANL rad-hydro code FLAG, and gives
Expand All @@ -6,3 +8,31 @@ a sample of the typical memory access patterns of FLAG.
Further documentation can be found in the 'doc' directory of the
PENNANT distribution.


Version Log:

0.6, February 2014:
First MPI version. MPI capability is working and mostly
optimized; MPI+OpenMP is working but needs optimization.
Replaced GMV mesh reader with internal mesh generators.
Added QCS velocity difference routine to reflect a recent
bugfix in FLAG. Increased size of big test problems.

0.5, May 2013:
Further optimizations.

0.4, January 2013:
First open-source release. Fixed a bug in QCS and added some
optimizations. Added Sedov and Leblanc test problems, and some
new input keywords to support them.

0.3, July 2012:
Added OpenMP pragmas and point chunk processing. Modified physics
state arrays to be flat arrays instead of STL vectors.

0.2, June 2012:
Added side chunk processing. Miscellaneous minor cleanup.

0.1, March 2012:
Initial release, internal LANL only.

Binary file added doc/domain-decomp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/hex-meshtype.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/leblanc-result.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/mesh-entities.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/pennantdoc.pdf
Binary file not shown.
Loading

0 comments on commit 617414f

Please sign in to comment.