Dsdp version 5.8 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    version 5.8

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


      The dsdp Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: DSDP
      Version: 5.8
      Maintainers: mnick

      Category: math science
      Description: DSDP is a open source implementation of an interior-point method for semidefinite programming
      Long Description: DSDP provides primal and dual solutions, exploits low-rank structure and sparsity in the data, and has relatively low memory requirements for an interior-point method. The dual-scaling algorithm implemented in this package has a convergence proof and worst-case polynomial complexity under mild assumptions on the data
      Platform: darwin

      Homepage: http://www.mcs.anl.gov/hs/software/DSDP/
      Master Sites: ${homepage}

      distname ${name}${version}

      use_zip yes
      use_configure no
      Checksums: md5 f61d3759cc8c6de688ab5c30877ca83c sha1 8327a6fe2de902d97c3b4cf63668f2731c84b80d rmd160 75cf8629445522a4f9bbfffdcec25e832c8ffc4e

      Patch Files: make.include.diff

      build.target dsdpapi
      build.env-append DSDPROOT=${worksrcpath}

      Variant: octave description {Build DSDP with octave interface} {
      build.target all
      depends_lib-append port:octave
      }

      destroot {
      xinstall ${worksrcpath}/lib/libdsdp.a ${destroot}/${prefix}/lib
      eval xinstall [glob ${worksrcpath}/include/*] ${destroot}/${prefix}/include
      xinstall ${worksrcpath}/bin/dsdp5 ${destroot}/${prefix}/bin
      xinstall ${worksrcpath}/bin/maxcut ${destroot}/${prefix}/bin
      xinstall ${worksrcpath}/bin/theta ${destroot}/${prefix}/bin

      if {[variant_isset octave]} {
      if {[catch {set msite [exec ${prefix}/bin/octave-config --m-site-dir]}]} {
      set msite ${prefix}/share/dsdp/matlab
      }
      set msite ${msite}/dsdp
      xinstall -d ${destroot}${msite}
      eval file copy [glob ${worksrcpath}/matlab/*] ${destroot}${msite}
      }
      }

      livecheck.type regex
      livecheck.url ${master_sites}
      livecheck.regex .tar.gz

    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/dsdp
      % sudo port install dsdp
      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 dsdp
      ---> Verifying checksum for dsdp
      ---> Extracting dsdp
      ---> Configuring dsdp
      ---> Building dsdp with target all
      ---> Staging dsdp into destroot
      ---> Installing dsdp
    - 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 dsdp with these commands:
      %  man dsdp
      % apropos dsdp
      % which dsdp
      % locate dsdp

     Where to find more information:

    Darwin Ports



    Lightbox this page.