Results 1 to 7 of 7

Thread: compiling High Performance Computing Linpack Benchmark

  1. #1
    Join Date
    May 2007
    Beans
    30

    compiling High Performance Computing Linpack Benchmark

    I'm trying to compile HPL to get the flops performance of my computer. In short, I'm building a beowulf cluster and this program is evidently what is used to benchmark one. I figured that I would try it on my home computer first for comparisons sake. However, I'm having some trouble compiling it.

    The instructions read
    Code:
     1) Retrieve the tar file, then
    
        gunzip hpl.tgz; tar -xvf hpl.tar
    
     this  will create an  hpl  directory,  that we call below the
     top-level directory.
    
     2) Create a file Make.<arch> in the  top-level directory. For
     this purpose,  you  may  want  to re-use one contained in the
     setup directory. This file essentially contains the compilers
     and librairies with their paths to be used.
    
     3) Type "make arch=<arch>". This  should create an executable
     in the bin/<arch> directory called xhpl.
    
     For example, on our Linux PII cluster, I create a file called
     Make.Linux_PII in the top-level directory. Then, I type
        "make arch=Linux_PII" 
     This creates the executable file bin/Linux_PII/xhpl.
    Seems simple enough. I create a file Make.HPL in the directory and type
    Code:
    sudo make arch=HPL
    at which point i get a bunch of scrolling text that generally repeats itself and doesn't stop till I hit ctrl+c.
    Sample:
    Code:
    make[27]: [refresh_src] Error 127 (ignored)
    makes/Make.blas     src/blas/HPL/Makefile
    make[27]: execvp: makes/Make.blas: Permission denied
    make[27]: [refresh_src] Error 127 (ignored)
    makes/Make.comm     src/comm/HPL/Makefile
    make[27]: execvp: makes/Make.comm: Permission denied
    make[27]: [refresh_src] Error 127 (ignored)
    makes/Make.grid     src/grid/HPL/Makefile
    make[27]: execvp: makes/Make.grid: Permission denied
    make[27]: [refresh_src] Error 127 (ignored)
    makes/Make.panel    src/panel/HPL/Makefile
    make[27]: execvp: makes/Make.panel: Permission denied
    make[27]: [refresh_src] Error 127 (ignored)
    makes/Make.pauxil   src/pauxil/HPL/Makefile
    make[27]: execvp: makes/Make.pauxil: Permission denied
    make[27]: [refresh_src] Error 127 (ignored)
    makes/Make.pfact    src/pfact/HPL/Makefile
    make[27]: execvp: makes/Make.pfact: Permission denied
    What am I doing wrong?

  2. #2
    Join Date
    Jan 2010
    Beans
    25

    Re: compiling High Performance Computing Linpack Benchmark

    Hi,

    I have got the same problem here. Any new ideas?

    GT

  3. #3
    Join Date
    Apr 2006
    Location
    Dalarna - Sweden
    Beans
    94
    Distro
    Ubuntu

    Re: compiling High Performance Computing Linpack Benchmark

    Hello! I'm also trying to get HPL working...

    I get:
    Code:
    make[2]: [leaf] Error 1 (ignored)
    ( cd src/pfact/Linux_P2 ; \
                ln -s /home/emil/hpl/Make.Linux_P2 Make.inc )
    In file included from /home/emil/hpl/include/hpl.h:80,
                     from ../HPL_fprintf.c:50:
    /home/emil/hpl/include/hpl_pmisc.h:54:17: error: mpi.h: No such file or directory
    In "hpl_pmisc.h" there is just the normal "include mpi.h".

    I got an mpi.h in /usr/include/mpich2/mpi.h, but how do I get make search there?

  4. #4
    Join Date
    Jan 2010
    Beans
    25

    Re: compiling High Performance Computing Linpack Benchmark

    If you're interested in benchmarking intel cpus only,

    http://software.intel.com/en-us/arti...pack-download/

    will help.

    Still, I would be very interested if someone managed to compile it and wants give some instructions.

    Best regards,
    GT

  5. #5
    Join Date
    Apr 2012
    Beans
    7

    Re: compiling High Performance Computing Linpack Benchmark

    Quote Originally Posted by GrandTheft View Post
    If you're interested in benchmarking intel cpus only,

    http://software.intel.com/en-us/arti...pack-download/

    will help.

    Still, I would be very interested if someone managed to compile it and wants give some instructions.

    Best regards,
    GT
    Link seems to be dead, found this though.

    http://software.intel.com/en-us/arti...pack-download/

  6. #6
    Join Date
    Apr 2012
    Beans
    7

    Re: compiling High Performance Computing Linpack Benchmark

    Found a solution

    on the make file comment the MPI section and change the compiler/linker section like below. The mpicc wrapper will deal with the dependencies.

    Code:
    # ----------------------------------------------------------------------
    # - Message Passing library (MPI) --------------------------------------
    # ----------------------------------------------------------------------
    # MPinc tells the  C  compiler where to find the Message Passing library
    # header files,  MPlib  is defined  to be the name of  the library to be
    # used. The variable MPdir is only used for defining MPinc and MPlib.
    #
    #MPdir        = /usr/lib64/mpich2
    #MPinc        = -I$(MPdir)/include
    #MPlib        = $(MPdir)/lib/libmpich.a
    
    # ----------------------------------------------------------------------
    # - Compilers / linkers - Optimization flags ---------------------------
    # ----------------------------------------------------------------------
    #
    CC           = /usr/bin/mpicc
    CCNOOPT      = $(HPL_DEFS)
    CCFLAGS      = $(HPL_DEFS) -fomit-frame-pointer -O3 -funroll-loops
    #
    # On some platforms,  it is necessary  to use the Fortran linker to find
    # the Fortran internals used in the BLAS library.
    #
    LINKER       = /usr/bin/mpicc
    LINKFLAGS    = $(CCFLAGS)
    #

  7. #7
    Join Date
    Feb 2007
    Beans
    23,866
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: compiling High Performance Computing Linpack Benchmark


    From the Ubuntu Forums Code of Conduct.
    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
    Thread closed.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •