mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
[svn-r461] Purpose:
The purpose of the change is to correct the H5 filenames declared in testphdf5.c when used on the Intel TFLOP PFS system. Problem: The ROMIO library complains of the H5 filenames having no "piofs:", "pfs:", "ufs:", or "nfs:" prefixes on the filenames. The only type currently recognized are the "pfs:" prefixes, and the files must reside in the Intel TFLOP PFS system: /pfs. Solution: (REQUIRED) The compile flag -DPOOMA_ARCH=TFLOP is added to the list of CFLAGS in Makefile.ascired located in the parallel test directory. This compile flag will allow a special set of filenames to be used when compiling testphdf5.c on the Intel TFLOP. In addition, instructions to editing the filenames in testphdf5.c to reside in the user's own /pfs directory are included in INSTALL.ascired. Platform tested: Intel TFLOP
This commit is contained in:
parent
bcf649388c
commit
1bdb53fb6a
@ -111,14 +111,15 @@ 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" };
|
||||
13) /* edit testphdf5.c, change the following lines */
|
||||
char *filenames[]={ "pfs:/pfs/multi/tmp_1/your_own/ParaEg1.h5f",
|
||||
"pfs:/pfs/multi/tmp_1/your_own/ParaEg2.h5f",
|
||||
"pfs:/pfs/multi/tmp_1/your_own/ParaEg3.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" };
|
||||
char *filenames[]={ "pfs:/pfs/multi/tmp_1/my_dir/ParaEg1.h5f",
|
||||
"pfs:/pfs/multi/tmp_1/my_dir/ParaEg2.h5f",
|
||||
"pfs:/pfs/multi/tmp_1/my_dir/ParaEg3.h5f" };
|
||||
|
||||
14) make -f Makefile.ascired
|
||||
|
||||
|
@ -21,7 +21,7 @@ LIBS = -lnoop_stubs
|
||||
|
||||
CC=cicc
|
||||
# 1429 -- long long non-standard
|
||||
CFLAGS=-g
|
||||
CFLAGS=-g -DPOOMA_ARCH=TFLOP
|
||||
CPPFLAGS=-I. -I../src $(MPI_INC) $(MPIO_INC)
|
||||
RM=rm -f
|
||||
|
||||
|
@ -106,10 +106,15 @@ parse_options(int argc, char **argv){
|
||||
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
char *filenames[]={ "ParaEg1.h5f",
|
||||
"ParaEg2.h5f",
|
||||
"ParaEg3.h5f"
|
||||
};
|
||||
#ifdef POOMA_ARCH
|
||||
char *filenames[]={ "pfs:/pfs/multi/tmp_1/your_own/ParaEg1.h5f",
|
||||
"pfs:/pfs/multi/tmp_1/your_own/ParaEg2.h5f",
|
||||
"pfs:/pfs/multi/tmp_1/your_own/ParaEg3.h5f" };
|
||||
#else
|
||||
char *filenames[]={ "ParaEg1.h5f",
|
||||
"ParaEg2.h5f",
|
||||
"ParaEg3.h5f" };
|
||||
#endif
|
||||
|
||||
int mpi_size, mpi_rank; /* mpi variables */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user