Make.pgesv 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. #
  2. # -- High Performance Computing Linpack Benchmark (HPL)
  3. # HPL - 2.0 - September 10, 2008
  4. # Antoine P. Petitet
  5. # University of Tennessee, Knoxville
  6. # Innovative Computing Laboratory
  7. # (C) Copyright 2000-2008 All Rights Reserved
  8. #
  9. # -- Copyright notice and Licensing terms:
  10. #
  11. # Redistribution and use in source and binary forms, with or without
  12. # modification, are permitted provided that the following conditions
  13. # are met:
  14. #
  15. # 1. Redistributions of source code must retain the above copyright
  16. # notice, this list of conditions and the following disclaimer.
  17. #
  18. # 2. Redistributions in binary form must reproduce the above copyright
  19. # notice, this list of conditions, and the following disclaimer in the
  20. # documentation and/or other materials provided with the distribution.
  21. #
  22. # 3. All advertising materials mentioning features or use of this
  23. # software must display the following acknowledgement:
  24. # This product includes software developed at the University of
  25. # Tennessee, Knoxville, Innovative Computing Laboratory.
  26. #
  27. # 4. The name of the University, the name of the Laboratory, or the
  28. # names of its contributors may not be used to endorse or promote
  29. # products derived from this software without specific written
  30. # permission.
  31. #
  32. # -- Disclaimer:
  33. #
  34. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  35. # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  36. # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  37. # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY
  38. # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  39. # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  40. # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  41. # DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  42. # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  43. # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  44. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  45. # ######################################################################
  46. #
  47. include Make.inc
  48. #
  49. # ######################################################################
  50. #
  51. INCdep = \
  52. $(INCdir)/hpl_misc.h $(INCdir)/hpl_blas.h $(INCdir)/hpl_auxil.h \
  53. $(INCdir)/hpl_pmisc.h $(INCdir)/hpl_grid.h $(INCdir)/hpl_comm.h \
  54. $(INCdir)/hpl_pauxil.h $(INCdir)/hpl_panel.h $(INCdir)/hpl_pfact.h \
  55. $(INCdir)/hpl_pgesv.h
  56. #
  57. ## Object files ########################################################
  58. #
  59. HPL_pgeobj = \
  60. HPL_pipid.o HPL_plindx0.o HPL_pdlaswp00N.o \
  61. HPL_pdlaswp00T.o HPL_perm.o HPL_logsort.o \
  62. HPL_plindx10.o HPL_plindx1.o HPL_spreadN.o \
  63. HPL_spreadT.o HPL_rollN.o HPL_rollT.o \
  64. HPL_equil.o HPL_pdlaswp01N.o HPL_pdlaswp01T.o \
  65. HPL_pdupdateNN.o HPL_pdupdateNT.o HPL_pdupdateTN.o \
  66. HPL_pdupdateTT.o HPL_pdtrsv.o HPL_pdgesv0.o \
  67. HPL_pdgesvK1.o HPL_pdgesvK2.o HPL_pdgesv.o
  68. #
  69. ## Targets #############################################################
  70. #
  71. all : lib
  72. #
  73. lib : lib.grd
  74. #
  75. lib.grd : $(HPL_pgeobj)
  76. $(ARCHIVER) $(ARFLAGS) $(HPLlib) $(HPL_pgeobj)
  77. $(RANLIB) $(HPLlib)
  78. $(TOUCH) lib.grd
  79. #
  80. # ######################################################################
  81. #
  82. HPL_pipid.o : ../HPL_pipid.c $(INCdep)
  83. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pipid.c
  84. HPL_plindx0.o : ../HPL_plindx0.c $(INCdep)
  85. $(CC) -o $@ -c $(CCFLAGS) ../HPL_plindx0.c
  86. HPL_pdlaswp00N.o : ../HPL_pdlaswp00N.c $(INCdep)
  87. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdlaswp00N.c
  88. HPL_pdlaswp00T.o : ../HPL_pdlaswp00T.c $(INCdep)
  89. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdlaswp00T.c
  90. HPL_perm.o : ../HPL_perm.c $(INCdep)
  91. $(CC) -o $@ -c $(CCFLAGS) ../HPL_perm.c
  92. HPL_logsort.o : ../HPL_logsort.c $(INCdep)
  93. $(CC) -o $@ -c $(CCFLAGS) ../HPL_logsort.c
  94. HPL_plindx10.o : ../HPL_plindx10.c $(INCdep)
  95. $(CC) -o $@ -c $(CCFLAGS) ../HPL_plindx10.c
  96. HPL_plindx1.o : ../HPL_plindx1.c $(INCdep)
  97. $(CC) -o $@ -c $(CCFLAGS) ../HPL_plindx1.c
  98. HPL_spreadN.o : ../HPL_spreadN.c $(INCdep)
  99. $(CC) -o $@ -c $(CCFLAGS) ../HPL_spreadN.c
  100. HPL_spreadT.o : ../HPL_spreadT.c $(INCdep)
  101. $(CC) -o $@ -c $(CCFLAGS) ../HPL_spreadT.c
  102. HPL_rollN.o : ../HPL_rollN.c $(INCdep)
  103. $(CC) -o $@ -c $(CCFLAGS) ../HPL_rollN.c
  104. HPL_rollT.o : ../HPL_rollT.c $(INCdep)
  105. $(CC) -o $@ -c $(CCFLAGS) ../HPL_rollT.c
  106. HPL_equil.o : ../HPL_equil.c $(INCdep)
  107. $(CC) -o $@ -c $(CCFLAGS) ../HPL_equil.c
  108. HPL_pdlaswp01N.o : ../HPL_pdlaswp01N.c $(INCdep)
  109. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdlaswp01N.c
  110. HPL_pdlaswp01T.o : ../HPL_pdlaswp01T.c $(INCdep)
  111. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdlaswp01T.c
  112. HPL_pdupdateNN.o : ../HPL_pdupdateNN.c $(INCdep)
  113. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdupdateNN.c
  114. HPL_pdupdateNT.o : ../HPL_pdupdateNT.c $(INCdep)
  115. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdupdateNT.c
  116. HPL_pdupdateTN.o : ../HPL_pdupdateTN.c $(INCdep)
  117. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdupdateTN.c
  118. HPL_pdupdateTT.o : ../HPL_pdupdateTT.c $(INCdep)
  119. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdupdateTT.c
  120. HPL_pdtrsv.o : ../HPL_pdtrsv.c $(INCdep)
  121. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdtrsv.c
  122. HPL_pdgesv0.o : ../HPL_pdgesv0.c $(INCdep)
  123. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdgesv0.c
  124. HPL_pdgesvK1.o : ../HPL_pdgesvK1.c $(INCdep)
  125. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdgesvK1.c
  126. HPL_pdgesvK2.o : ../HPL_pdgesvK2.c $(INCdep)
  127. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdgesvK2.c
  128. HPL_pdgesv.o : ../HPL_pdgesv.c $(INCdep)
  129. $(CC) -o $@ -c $(CCFLAGS) ../HPL_pdgesv.c
  130. #
  131. # ######################################################################
  132. #
  133. clean :
  134. $(RM) *.o *.grd
  135. #
  136. # ######################################################################