1998-04-10 06:48:52 +08:00
|
|
|
|
1998-04-24 08:02:08 +08:00
|
|
|
FOR THE INTEL TFLOPS MACHINE:
|
1998-04-10 06:48:52 +08:00
|
|
|
|
1998-04-24 08:02:08 +08:00
|
|
|
Below are the step-by-step procedures for building, testing, and
|
|
|
|
installing both the sequential and parallel versions of the HDF5 library.
|
|
|
|
|
|
|
|
---------------
|
|
|
|
Sequential HDF5:
|
|
|
|
---------------
|
|
|
|
|
|
|
|
The setup process for building the sequential HDF5 library for the
|
|
|
|
ASCI Red machine is done by a coordination of events from sasn100 and
|
|
|
|
janus. Special effort must be made to move the compiled and linked
|
|
|
|
testers to disks local to the processors for execution. This special
|
|
|
|
effort is shown here at steps 9) and steps 10).
|
1998-04-10 06:48:52 +08:00
|
|
|
|
|
|
|
The total required steps are something similar to:
|
|
|
|
FROM SASN100,
|
|
|
|
|
|
|
|
1) uncompress hdf5-1.0.0a.tar.Z
|
|
|
|
|
|
|
|
2) tar xvf hdf5-1.0.0a.tar
|
|
|
|
|
|
|
|
3) cd ./hdf5
|
|
|
|
|
|
|
|
4) ./configure tflop
|
|
|
|
|
1998-04-24 08:02:08 +08:00
|
|
|
5) make H5detect
|
|
|
|
|
1998-04-10 06:48:52 +08:00
|
|
|
|
|
|
|
FROM JANUS,
|
|
|
|
|
1998-04-24 08:02:08 +08:00
|
|
|
6) cd ./hdf5
|
1998-04-10 06:48:52 +08:00
|
|
|
|
1998-04-24 08:02:08 +08:00
|
|
|
7) make H5Tinit.c
|
1998-04-10 06:48:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
FROM SASN100,
|
|
|
|
|
1998-04-24 08:02:08 +08:00
|
|
|
8) make >&! comp.out &
|
1998-04-10 06:48:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
When everything is finished compiling and linking,
|
|
|
|
FROM JANUS,
|
|
|
|
|
1998-04-24 08:02:08 +08:00
|
|
|
9) cp -r ../hdf5 /scratch
|
1998-04-10 06:48:52 +08:00
|
|
|
|
1998-04-24 08:02:08 +08:00
|
|
|
10) cd /scratch/hdf5/test
|
1998-04-10 06:48:52 +08:00
|
|
|
|
1998-04-24 08:02:08 +08:00
|
|
|
11) make test >&! test.out
|
1998-04-10 06:48:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
Once satisfied with the test results, as long as you
|
|
|
|
have the correct permission,
|
|
|
|
FROM SASN100,
|
|
|
|
|
1998-04-24 08:02:08 +08:00
|
|
|
12) make install
|
|
|
|
|
|
|
|
|
|
|
|
---------------
|
|
|
|
Parallel HDF5:
|
|
|
|
---------------
|
|
|
|
|
|
|
|
The setup process for building the parallel version of the HDF5 library for the
|
|
|
|
ASCI Red machine is very similar to the sequential version. It is done by a
|
|
|
|
coordination of events from sasn100 and janus. Special effort must be made to
|
|
|
|
move the compiled and linked single processor testers to disks local to the
|
|
|
|
processor for execution. This special effort is shown here at steps 9) and
|
|
|
|
steps 10). Following these test, there are the edit, compile, link, and
|
|
|
|
execution of parallel tests described in steps 12) through 16).
|
|
|
|
|
|
|
|
|
|
|
|
The total required steps are something similar to:
|
|
|
|
FROM SASN100,
|
|
|
|
|
|
|
|
1) uncompress hdf5-1.0.0a.tar.Z
|
|
|
|
|
|
|
|
2) tar xvf hdf5-1.0.0a.tar
|
|
|
|
|
|
|
|
3) cd ./hdf5
|
|
|
|
|
|
|
|
4) sh INSTALL_parallel.ascired /* this is different from the sequential version */
|
|
|
|
|
|
|
|
5) make H5detect
|
|
|
|
|
|
|
|
|
|
|
|
FROM JANUS,
|
|
|
|
|
|
|
|
6) cd ./hdf5
|
|
|
|
|
|
|
|
7) make H5Tinit.c
|
|
|
|
|
|
|
|
|
|
|
|
FROM SASN100,
|
|
|
|
|
|
|
|
8) make >&! comp.out &
|
|
|
|
|
|
|
|
|
|
|
|
When everything is finished compiling and linking,
|
|
|
|
FROM JANUS,
|
|
|
|
|
1998-05-20 02:42:16 +08:00
|
|
|
9) cp -rp ../hdf5 /scratch
|
1998-04-24 08:02:08 +08:00
|
|
|
|
|
|
|
10) cd /scratch/hdf5/test
|
|
|
|
|
|
|
|
11) make test >&! test.out
|
|
|
|
|
|
|
|
|
|
|
|
Once satisfied with the single processor test results,
|
|
|
|
FROM SASN100,
|
|
|
|
|
|
|
|
12) cd testpar
|
|
|
|
|
|
|
|
13) /* edit testphdf5.c, edit the following line */
|
|
|
|
char *filenames[]={ "pfs:/pfs/multi/tmp_1/your_own/Eg1.h5f", "pfs:/pfs/multi/tmp_1/your_own/Eg2.h5f" };
|
|
|
|
|
|
|
|
/* change "your_own" to your own directory name */
|
|
|
|
char *filenames[]={ "pfs:/pfs/multi/tmp_1/my_name/Eg1.h5f", "pfs:/pfs/multi/tmp_1/my_name/Eg2.h5f" };
|
|
|
|
|
|
|
|
/* delete or comment-out the next line */
|
|
|
|
char *filenames[]={ "ParaEg1.h5f", "ParaEg2.h5f" };
|
|
|
|
|
|
|
|
14) make -f Makefile.ascired
|
|
|
|
|
|
|
|
When everything is finished compiling and linking,
|
|
|
|
FROM JANUS,
|
|
|
|
|
|
|
|
15) cd ./hdf5/testpar
|
|
|
|
|
|
|
|
16) make test -f Makefile.ascired >&! test.out
|
|
|
|
|
|
|
|
|
|
|
|
Once satisfied with the parallel test results, as long as you
|
|
|
|
have the correct permission,
|
|
|
|
FROM SASN100,
|
|
|
|
|
|
|
|
17) make install
|
1998-04-10 06:48:52 +08:00
|
|
|
|
|
|
|
|