arpack for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    arpack  most recent diff


      View the most recent changes for the arpack port at: arpack.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for arpack.
      The raw portfile for arpack 1 is located here:
      http://arpack.darwinports.com/dports/math/arpack/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/arpack
      Google
      Web Darwinports.com



      # $Id: Portfile 27054 2007-07-16 21:48:01Z ryandesign macports.org $

      PortSystem 1.0

      Name: arpack
      Version: 1
      revision 1
      Category: math
      Platform: darwin
      Maintainers: mmoll cs.rice.edu
      Description: Package for solving large scale eigenvalue problems
      Long Description: ARPACK is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems.
      Homepage: http://www.caam.rice.edu/software/ARPACK
      master_sites ${homepage}/SRC/
      distfiles arpack96.tar.gz patch.tar.gz
      checksums arpack96.tar.gz md5 fffaa970198b285676f4156cebc8626e patch.tar.gz md5 14830d758f195f272b8594a493501fa2

      # We need gfortran. Gcc41 doesn't seem to compile on Intel Mac, so we'll take
      # gcc42. Too bad that the actual gfortran binary in gcc42 is called
      # gfortran-mp-4.2, otherwise we could just say bin:gfortran:gcc42.
      depends_build port:gcc42
      use_configure no
      worksrcdir ARPACK
      patchfiles patch-arpack.diff
      build.args all FC=gfortran-mp-4.2 home=${worksrcpath}
      destroot {
      xinstall -m 644 -v -W ${worksrcpath} libarpack.a ${destroot}${prefix}/lib
      }
      post-destroot {
      system "ranlib ${destroot}${prefix}/lib/libarpack.a"
      }

      Variant: mpi {
      distfiles-append parpack96.tar.gz ppatch.tar.gz
      checksums-append parpack96.tar.gz md5 598d0453b938ccd99a078246be5927f3 ppatch.tar.gz md5 e6f0d70dd99f719c0efee351d0875c96
      pre-build { foreach entry [glob -directory ${worksrcpath}/PARPACK */MPI/mpif.h] { delete $entry } }
      depends_build bin:mpif77:openmpi
      build.args all FC=${prefix}/lib/openmpi/bin/mpif77 home=${worksrcpath}
      destroot {
      xinstall -m 644 -v -W ${worksrcpath} libarpack.a libparpack.a ${destroot}${prefix}/lib
      }
      post-destroot {
      system "ranlib ${destroot}${prefix}/lib/libarpack.a"
      system "ranlib ${destroot}${prefix}/lib/libparpack.a"
      }
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/arpack
      % sudo port install arpack
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching arpack
      ---> Verifying checksum for arpack
      ---> Extracting arpack
      ---> Configuring arpack
      ---> Building arpack with target all
      ---> Staging arpack into destroot
      ---> Installing arpack
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using arpack with these commands:
      %  man arpack
      % apropos arpack
      % which arpack
      % locate arpack

     Where to find more information:

    Darwin Ports



    image test