{"id":944,"date":"2022-03-02T09:04:49","date_gmt":"2022-03-02T17:04:49","guid":{"rendered":"https:\/\/feiereisen.net\/?page_id=944"},"modified":"2022-03-02T09:25:07","modified_gmt":"2022-03-02T17:25:07","slug":"make-rpi","status":"publish","type":"page","link":"https:\/\/feiereisen.net\/?page_id=944","title":{"rendered":"Make.rpi"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">#  \n#  -- High Performance Computing Linpack Benchmark (HPL)                \n#     HPL - 2.2 - February 24, 2016                          \n#     Antoine P. Petitet                                                \n#     University of Tennessee, Knoxville                                \n#     Innovative Computing Laboratory                                 \n#     (C) Copyright 2000-2008 All Rights Reserved                       \n#                                                                       \n#  -- Copyright notice and Licensing terms:                             \n#                                                                       \n#  Redistribution  and  use in  source and binary forms, with or without\n#  modification, are  permitted provided  that the following  conditions\n#  are met:                                                             \n#                                                                       \n#  1. Redistributions  of  source  code  must retain the above copyright\n#  notice, this list of conditions and the following disclaimer.        \n#                                                                       \n#  2. Redistributions in binary form must reproduce  the above copyright\n#  notice, this list of conditions,  and the following disclaimer in the\n#  documentation and\/or other materials provided with the distribution. \n#                                                                       \n#  3. All  advertising  materials  mentioning  features  or  use of this\n#  software must display the following acknowledgement:                 \n#  This  product  includes  software  developed  at  the  University  of\n#  Tennessee, Knoxville, Innovative Computing Laboratory.             \n#                                                                       \n#  4. The name of the  University,  the name of the  Laboratory,  or the\n#  names  of  its  contributors  may  not  be used to endorse or promote\n#  products  derived   from   this  software  without  specific  written\n#  permission.                                                          \n#                                                                       \n#  -- Disclaimer:                                                       \n#                                                                       \n#  THIS  SOFTWARE  IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n#  ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,  INCLUDING,  BUT NOT\n#  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n#  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY\n#  OR  CONTRIBUTORS  BE  LIABLE FOR ANY  DIRECT,  INDIRECT,  INCIDENTAL,\n#  SPECIAL,  EXEMPLARY,  OR  CONSEQUENTIAL DAMAGES  (INCLUDING,  BUT NOT\n#  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n#  DATA OR PROFITS; OR BUSINESS INTERRUPTION)  HOWEVER CAUSED AND ON ANY\n#  THEORY OF LIABILITY, WHETHER IN CONTRACT,  STRICT LIABILITY,  OR TORT\n#  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n#  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \n# ######################################################################\n#  \n# ----------------------------------------------------------------------\n# - shell --------------------------------------------------------------\n# ----------------------------------------------------------------------\n#\nSHELL        = \/bin\/sh\n#\nCD           = cd\nCP           = cp\nLN_S         = ln -s\nMKDIR        = mkdir\nRM           = \/bin\/rm -f\nTOUCH        = touch\n#\n# ----------------------------------------------------------------------\n# - Platform identifier ------------------------------------------------\n# ----------------------------------------------------------------------\n#\nARCH         = rpi\n#\n# ----------------------------------------------------------------------\n# - HPL Directory Structure \/ HPL library ------------------------------\n# ----------------------------------------------------------------------\n#\nTOPdir       = $(HOME)\/Documents\/hpl-2.2\nINCdir       = $(TOPdir)\/include\nBINdir       = $(TOPdir)\/bin\/$(ARCH)\nLIBdir       = $(TOPdir)\/lib\/$(ARCH)\n#\nHPLlib       = $(LIBdir)\/libhpl.a \n#\n# ----------------------------------------------------------------------\n# - Message Passing library (MPI) --------------------------------------\n# ----------------------------------------------------------------------\n# MPinc tells the  C  compiler where to find the Message Passing library\n# header files,  MPlib  is defined  to be the name of  the library to be \n# used. The variable MPdir is only used for defining MPinc and MPlib.\n#\nMPdir        = \/usr\/local\nMPinc        = -I $(MPdir)\/include\nMPlib        = \/usr\/local\/lib\/libmpich.so\n#\n# ----------------------------------------------------------------------\n# - Linear Algebra library (BLAS or VSIPL) -----------------------------\n# ----------------------------------------------------------------------\n# LAinc tells the  C  compiler where to find the Linear Algebra  library\n# header files,  LAlib  is defined  to be the name of  the library to be \n# used. The variable LAdir is only used for defining LAinc and LAlib.\n#\nLAdir        = \/home\/pi\/Documents\/atlas-build\nLAinc        = \nLAlib        = $(LAdir)\/lib\/libf77blas.a $(LAdir)\/lib\/libatlas.a\n#\n# ----------------------------------------------------------------------\n# - F77 \/ C interface --------------------------------------------------\n# ----------------------------------------------------------------------\n# You can skip this section  if and only if  you are not planning to use\n# a  BLAS  library featuring a Fortran 77 interface.  Otherwise,  it  is\n# necessary  to  fill out the  F2CDEFS  variable  with  the  appropriate\n# options.  **One and only one**  option should be chosen in **each** of\n# the 3 following categories:\n#\n# 1) name space (How C calls a Fortran 77 routine)\n#\n# -DAdd_              : all lower case and a suffixed underscore  (Suns,\n#                       Intel, ...),                           [default]\n# -DNoChange          : all lower case (IBM RS6000),\n# -DUpCase            : all upper case (Cray),\n# -DAdd__             : the FORTRAN compiler in use is f2c.\n#\n# 2) C and Fortran 77 integer mapping\n#\n# -DF77_INTEGER=int   : Fortran 77 INTEGER is a C int,         [default]\n# -DF77_INTEGER=long  : Fortran 77 INTEGER is a C long,\n# -DF77_INTEGER=short : Fortran 77 INTEGER is a C short.\n#\n# 3) Fortran 77 string handling\n#\n# -DStringSunStyle    : The string address is passed at the string loca-\n#                       tion on the stack, and the string length is then\n#                       passed as  an  F77_INTEGER  after  all  explicit\n#                       stack arguments,                       [default]\n# -DStringStructPtr   : The address  of  a  structure  is  passed  by  a\n#                       Fortran 77  string,  and the structure is of the\n#                       form: struct {char *cp; F77_INTEGER len;},\n# -DStringStructVal   : A structure is passed by value for each  Fortran\n#                       77 string,  and  the  structure is  of the form:\n#                       struct {char *cp; F77_INTEGER len;},\n# -DStringCrayStyle   : Special option for  Cray  machines,  which  uses\n#                       Cray  fcd  (fortran  character  descriptor)  for\n#                       interoperation.\n#\nF2CDEFS      = -DAdd_ -DF77_INTEGER=int -DStringSunStyle\n#\n# ----------------------------------------------------------------------\n# - HPL includes \/ libraries \/ specifics -------------------------------\n# ----------------------------------------------------------------------\n#\nHPL_INCLUDES = -I$(INCdir) -I$(INCdir)\/$(ARCH) $(LAinc) $(MPinc)\nHPL_LIBS     = $(HPLlib) $(LAlib) $(MPlib)\n#\n# - Compile time options -----------------------------------------------\n#\n# -DHPL_COPY_L           force the copy of the panel L before bcast;\n# -DHPL_CALL_CBLAS       call the cblas interface;\n# -DHPL_CALL_VSIPL       call the vsip  library;\n# -DHPL_DETAILED_TIMING  enable detailed timers;\n#\n# By default HPL will:\n#    *) not copy L before broadcast,\n#    *) call the BLAS Fortran 77 interface,\n#    *) not display detailed timing information.\n#\nHPL_OPTS     =\n# \n# ----------------------------------------------------------------------\n#\nHPL_DEFS     = $(F2CDEFS) $(HPL_OPTS) $(HPL_INCLUDES) \n#\n# ----------------------------------------------------------------------\n# - Compilers \/ linkers - Optimization flags ---------------------------\n# ----------------------------------------------------------------------\n#\nCC           = mpicc\nCCNOOPT      = $(HPL_DEFS) \nCCFLAGS      = $(HPL_DEFS) \n#\nLINKER       = mpif77\nLINKFLAGS    = \n#\nARCHIVER     = ar\nARFLAGS      = r\nRANLIB       = echo\n#\n# ----------------------------------------------------------------------\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p># # &#8212; High Performance Computing Linpack Benchmark (HPL) # HPL &#8211; 2.2 &#8211; February 24, 2016 # Antoine P. Petitet # University of Tennessee, Knoxville # Innovative Computing Laboratory # (C) Copyright 2000-2008 All Rights Reserved # # &#8212; &hellip; <a href=\"https:\/\/feiereisen.net\/?page_id=944\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":958,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-944","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/feiereisen.net\/index.php?rest_route=\/wp\/v2\/pages\/944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/feiereisen.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/feiereisen.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/feiereisen.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feiereisen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=944"}],"version-history":[{"count":2,"href":"https:\/\/feiereisen.net\/index.php?rest_route=\/wp\/v2\/pages\/944\/revisions"}],"predecessor-version":[{"id":960,"href":"https:\/\/feiereisen.net\/index.php?rest_route=\/wp\/v2\/pages\/944\/revisions\/960"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/feiereisen.net\/index.php?rest_route=\/wp\/v2\/media\/958"}],"wp:attachment":[{"href":"https:\/\/feiereisen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}