mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
./configure [REGENERATED] ./src/H5config.h.in [REGENERATED] ./src/H5private.h Temporarily commented out the code that tries to link a simple MPI-IO application because I'm not sure how to pass $LDFLAGS and $LIBS to the compiler. Removed the `--enable-parallel=ibm' switch because the library we link with is either -lmpcc or -lmpcc_r but not both. The only way to tell is to see what compiler was specified (mpcc or mpcc_r) but if that compiler is specified then we don't need any libraries (the compiler script supplies them). That leaves just two choices: the user must use a compiler script: CC=mpcc ./configure or the user must state which library is desired: LDFLAGS='-lmpcc' ./configure --enable-parallel Checks for <setjmp.h>, longjmp(), and signal(). We don't check for setjmp() because it could be a macro (in fact, Posix requires it to be a macro) and if longjmp() is present then setjmp() is probably present too ;-) ./src/H5detect.c The alignment detection loop uses SIGBUS and setjmp/longjmp instead of fork/wait in order to get around bugs with forking in conjunction with mpich. This hasn't been tested on the SP-2 yet but it does work on the DEC Alpha. ./test/Makefile.in ./testpar/Makefile.in ./tools/Makefile.in Changed the order that libraries are linked so -lhdf5 is always before $LDFLAGS.
hdf5/testpar/README ------------------- (last update: Aug the 1998) This directory holds tests for the parallel HDF5 library. It is in its "infancy" and is not integrated with the rest of the HDF5 software yet. It will be smothed out in the next release. Steps to compile and test: 1a) Makefile.irix64 is one that works for IRIX64 -64 platform. You may use it as a template to create Makefile for other platforms. 1b) Makefile.ascired is one that works for the ASCI Red platform. 2) "make all -f Makefile.xxxxx >&! make.out1" creates testphdf5. 3) "make test -f Makefile.xxxxx >&! make.out2" runs testphdf5. When running "make test -f Makefile.xxxxx" the line that executes is: $(RUN) testphdf5 $(TEST_FLAGS) For the ASCI Red users: In the file Makefile.ascired, the variables RUN and TEST_FLAGS are: RUN=yod -sz 8 TEST_FLAGS=-f "pfs:/pfs/multi/tmp_1/your_own" The TEST_FLAGS variable contains an optional file prefix which needs to be changed to your own Intel PFS directory name. /* change "your_own" to your own directory name */ RUN=yod -sz 8 TEST_FLAGS=-f "pfs:/pfs/multi/tmp_1/my_dir" After the above change to Makefile.ascired, upon execution of "make test -f Makefile.ascired >&! make.out2", the prefix will be attached to filenames in testphdf5 at execution. ---- Questions? Send mail to hdfparallel@ncsa.uiuc.edu