mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
7a11c453f9
Adding general MPI derived datatype testing code. Description: The testing code will not be tested. The purpose of checking in is for better debugging later. HDF5 routine or daily test should not be aware of this. Solution: Platforms tested: Copper(AIX 5.1), Heping(Linux 2.4 + MPICH 1.2.6). Misc. update:
67 lines
2.1 KiB
Makefile
67 lines
2.1 KiB
Makefile
##
|
|
## Copyright by the Board of Trustees of the University of Illinois.
|
|
## All rights reserved.
|
|
##
|
|
## This file is part of HDF5. The full HDF5 copyright notice, including
|
|
## terms governing use, modification, and redistribution, is contained in
|
|
## the files COPYING and Copyright.html. COPYING can be found at the root
|
|
## of the source code distribution tree; Copyright.html can be found at the
|
|
## root level of an installed copy of the electronic HDF5 document set and
|
|
## is linked from the top-level documents page. It can also be found at
|
|
## http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
|
|
## access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
|
|
##
|
|
## hdf5 Parallel Library Test Makefile(.in)
|
|
##
|
|
top_srcdir=@top_srcdir@
|
|
top_builddir=..
|
|
srcdir=@srcdir@
|
|
@COMMENCE@
|
|
|
|
## Add the include directory to the C preprocessor flags the the hdf5 library
|
|
## to the library list.
|
|
CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src -I$(top_srcdir)/test @CPPFLAGS@
|
|
LIBHDF5=../src/libhdf5.la
|
|
LIBH5TEST=../test/libh5test.la
|
|
|
|
## These tests are parallel
|
|
RUNTEST=$(RUNPARALLEL)
|
|
|
|
## Test programs and scripts.
|
|
##
|
|
TEST_PROGS_PARA=t_mpi t_fphdf5 testphdf5
|
|
TEST_SCRIPTS=testph5.sh
|
|
|
|
## These are our main targets
|
|
PROGS=$(TEST_PROGS_PARA)
|
|
|
|
## Temporary files
|
|
## MPItest.h5 is from t_mpi
|
|
## Para*.h5 are from testphdf
|
|
## *.clog are from MPE option
|
|
MOSTLYCLEAN=MPItest.h5 Para*.h5 *.clog
|
|
DISTCLEAN=go Makefile testph5.sh
|
|
|
|
## Test source files
|
|
TEST_PHDF5_SRC=testphdf5.c t_dset.c t_file.c t_mdset.c t_ph5basic.c t_coll_chunk.c t_span_tree.c
|
|
TEST_PHDF5_OBJ=$(TEST_PHDF5_SRC:.c=.lo)
|
|
TEST_SRC=t_mpi.c t_fphdf5.c $(TEST_PHDF5_SRC)
|
|
TEST_OBJ=$(TEST_SRC:.c=.lo)
|
|
TEST_HDR=testphdf5.h
|
|
|
|
## How to build the tests... They all depend on the hdf5 library
|
|
$(PROGS): $(LIBHDF5) $(LIBH5TEST)
|
|
|
|
$(TEST_OBJ): $(TEST_HDR)
|
|
|
|
t_fphdf5: t_fphdf5.lo
|
|
@$(LT_LINK_EXE) $(CFLAGS) -o $@ t_fphdf5.lo $(LIBH5TEST) $(LIBHDF5) $(LDFLAGS) $(LIBS)
|
|
|
|
t_mpi: t_mpi.lo
|
|
@$(LT_LINK_EXE) $(CFLAGS) -o $@ t_mpi.lo $(LIBH5TEST) $(LIBHDF5) $(LDFLAGS) $(LIBS)
|
|
|
|
testphdf5: $(TEST_PHDF5_OBJ)
|
|
@$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TEST_PHDF5_OBJ) $(LIBH5TEST) $(LIBHDF5) $(LDFLAGS) $(LIBS)
|
|
|
|
@CONCLUDE@
|