2005-02-01 11:17:02 +08:00
|
|
|
#
|
2007-02-08 06:28:58 +08:00
|
|
|
# Copyright by The HDF Group.
|
2005-02-01 11:17:02 +08:00
|
|
|
# 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
|
2017-04-15 00:54:16 +08:00
|
|
|
# the COPYING file, which can be found at the root of the source code
|
|
|
|
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
|
|
|
|
# If you do not have access to either file, you may request a copy from
|
|
|
|
# help@hdfgroup.org.
|
2005-02-01 11:17:02 +08:00
|
|
|
##
|
|
|
|
## Makefile.am
|
|
|
|
## Run automake to generate a Makefile.in from this file.
|
|
|
|
##
|
|
|
|
#
|
|
|
|
# hdf5 Parallel Library Test Makefile(.in)
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/config/commence.am
|
|
|
|
|
2014-04-01 01:07:05 +08:00
|
|
|
AM_CPPFLAGS+=-I$(top_srcdir)/src -I$(top_srcdir)/test
|
2005-02-01 11:17:02 +08:00
|
|
|
|
2014-03-22 07:02:24 +08:00
|
|
|
# Test programs. These are our main targets.
|
2005-02-01 11:17:02 +08:00
|
|
|
#
|
2017-03-14 12:30:37 +08:00
|
|
|
TEST_PROG_PARA=t_mpi testphdf5 t_cache t_cache_image t_pflush1 t_pflush2 t_pshutdown t_prestart t_init_term t_shapesame
|
2005-02-01 11:17:02 +08:00
|
|
|
|
|
|
|
check_PROGRAMS = $(TEST_PROG_PARA)
|
|
|
|
|
2012-03-31 16:49:35 +08:00
|
|
|
testphdf5_SOURCES=testphdf5.c t_dset.c t_file.c t_file_image.c t_mdset.c \
|
[svn-r22807] Description:
Add encode/decode API routines for property lists: H5Pencode/H5Pdecode.
Tested on:
FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, w/threadsafe, in production mode
Linux/PPC 2.6 (ostrich) w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-ia64 2.6 (ember) w/Intel compilers, w/parallel, C++ & FORTRAN,
in production mode
Mac OS X/32 10.7.3 (amazon) in debug mode
Mac OS X/32 10.7.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Mac OS X/32 10.7.3 (amazon) w/parallel, in debug mode
2012-09-25 23:47:25 +08:00
|
|
|
t_ph5basic.c t_coll_chunk.c t_span_tree.c t_chunk_alloc.c t_filter_read.c \
|
|
|
|
t_prop.c
|
2005-02-01 11:17:02 +08:00
|
|
|
|
|
|
|
# The tests all depend on the hdf5 library and the test library
|
[svn-r11411] Purpose:
Bug fix
Description:
Building with --disable-static seems to have been broken on several platforms.
Fixed this.
Configure will now disable shared libraries automatically when using pgf90
or when building on Cygwin.
Solution:
To avoid errors when using shared libraries with pgf90 (which I had not
realized were compiler-specific), I had manually set convenience libraries
to use the -static linking flag. Apparently, this is not necessary, and
caused these libraries to be created as empty archives when --disable-static
was used.
Also, some libraries were including other libraries, which was not
necessary.
I also fixed code in configure.in to correctly detect whether shared
or static libraries are enabled, and moved code that disables shared libraries
to before libtool is created (rather than editing libtool after the fact).
Despite repeated warnings that only one shared library can be linked at a
time, I have yet to have shared libraries break the linking of tests on
any system. We'll see if the Daily Tests turn up anything.
Platforms tested:
mir (fortran, C++), sleipnir (C++), modi4 (fortran, C++, parallel),
sol (fortran, C++), cygwin
2005-09-14 06:30:33 +08:00
|
|
|
LDADD = $(LIBH5TEST) $(LIBHDF5)
|
2005-02-01 11:17:02 +08:00
|
|
|
|
|
|
|
# Temporary files
|
|
|
|
# MPItest.h5 is from t_mpi
|
|
|
|
# Para*.h5 are from testphdf
|
2015-02-23 23:14:43 +08:00
|
|
|
# shutdown.h5 is from t_pshutdown
|
2015-06-09 04:52:48 +08:00
|
|
|
# after_mpi_fin.h5 is from t_init_term
|
2009-10-02 05:46:03 +08:00
|
|
|
# go is used for debugging. See testphdf5.c.
|
2015-06-09 04:52:48 +08:00
|
|
|
CHECK_CLEANFILES+=MPItest.h5 Para*.h5 CacheTestDummy.h5 shutdown.h5 after_mpi_fin.h5 go
|
2005-02-01 11:17:02 +08:00
|
|
|
|
|
|
|
include $(top_srcdir)/config/conclude.am
|