Hp XC System 4.x Software Instrukcja Użytkownika Strona 112

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 135
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 111
Modified Makefile:
all:
$(MAKE) $(MAKE_J) struct_matrix_vector/libHYPRE_mv.a
struct_linear_solvers/libHYPRE_ls.a utilities/libHYPRE_utilities.a
$(PREFIX) $(MAKE) -C test
struct_matrix_vector/libHYPRE_mv.a:
$(PREFIX) $(MAKE) -C struct_matrix_vector
struct_linear_solvers/libHYPRE_ls.a:
$(PREFIX) $(MAKE) -C struct_linear_solvers
utilities/libHYPRE_utilities.a:
$(PREFIX) $(MAKE) -C utilities
The modified Makefile is invoked as follows:
$ make PREFIX='srun -n1 -N1' MAKE_J='-j4'
11.3.3 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) -C test
struct_matrix_vector/libHYPRE_mv.a:
$(PREFIX) $(MAKE) $(MAKE_J) -C struct_matrix_vector
struct_linear_solvers/libHYPRE_ls.a:
$(PREFIX) $(MAKE) $(MAKE_J) -C struct_linear_solvers
utilities/libHYPRE_utilities.a:
$(PREFIX) $(MAKE) $(MAKE_J) -C utilities
The modified Makefile is invoked as follows:
$ make PREFIX='srun -n1 -N1' MAKE_J='-j4'
11.4 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.
112 Advanced Topics
Przeglądanie stron 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 134 135

Komentarze do niniejszej Instrukcji

Brak uwag