struct_matrix_vector/libHYPRE_mv.a:
$(PREFIX) $(MAKE)
struct_linear_solvers/libHYPRE_ls.a:
$(PREFIX) $(MAKE)
utilities/libHYPRE_utilities.a:
$(PREFIX) $(MAKE)
The modified Makefile is invoked as follows:
$ make PREFIX='srun -n1 -N1' MAKE_J='-j4'
Example Procedure 3
Go through the directories in parallel and have the make procedure within each directory be parallel. For the purpose of this exercise, we are only parallelizing the “make all” component. The “clean” and “veryclean” components can be parallelized in a similar fashion.
Modified makefile:
all:
$(MAKE) $(MAKE_J) struct_matrix_vector/libHYPRE_mv.a
struct_linear_solvers/libHYPRE_ls.a utilities/libHYPRE_utilities.a
$(PREFIX) $(MAKE) $(MAKE_J)
struct_matrix_vector/libHYPRE_mv.a:
$(PREFIX) $(MAKE) $(MAKE_J)
struct_linear_solvers/libHYPRE_ls.a:
$(PREFIX) $(MAKE) $(MAKE_J)
utilities/libHYPRE_utilities.a:
$(PREFIX) $(MAKE) $(MAKE_J)
The modified Makefile is invoked as follows:
$ make PREFIX='srun
Local Disks on Compute Nodes
The use of a local disk for private, temporary storage may be configured on the compute nodes of your HP XC system. Contact your system administrator to find out about the local disks configured on your system.
A local disk is a temporary storage space and does not hold data across execution of applications. Therefore, any information generated by the application during its execution is not saved on the local disk once the application has completed.
I/O Performance Considerations
Before building and running your parallel application, I/O performance issues on the HP XC cluster must be considered.
The I/O control system provides two basic types of standard file system views to the application:
•Shared
•Private
96 Advanced Topics