1. Download and install Intel Fortran Compiler
  2. Make sure Intel Fortran compiler is available to PATH and it's libraries and is capable of compiling
    • I added this to my path:
      source /opt/intel/fc/10.1.015/bin/ifortvars.sh
      
    • I also needed to install libstd5
      #found this with apt-file search filename
      sudo apt-get install libstdc++5
      
  3. Download openmpi
  4. Configure openmpi; make sure it can build fortran code
    • #http://support.intel.com/support/performancetools/sb/CS-026988.htm
      tar -xzvf openmpi-1.2.6.tar.gz
      cd openmpi-1.2.6
      ./configure --prefix=/usr/local F77=/opt/intel/fc/10.1.015/bin/ifort FC=/opt/intel/fc/10.1.015/bin/ifort
      sudo make all install
      
  5. Download and extract SuperLU_DIST_2.2
  6. Copy MAKE_INC/<yourplatform.inc> to make.inc. For me it was make.i386_linux.

  7. Edit make.inc
    • Change DSuperLUroot to point to wherever you've extracted the SuperLU source code
    • Change LOADER to mpicc. I'm not sure yet if this was a good thing.
    • Make kept failing because it was missing for_write_seq_fmt_xmit. I Added this
      LOADOPTS        = -lblas -L/opt/intel/fc/10.1.015/lib/ -lifcore
      
  8. Make
  9. Copy <superlu>/lib to /opt/pydusa/pydusa/mympi/src

  10. Change Options.mk so that LLIBS includes -L/opt/pydusa/pydusa/mympi/src/ -lsuperlu_dist_2.0
  11. ???
  12. make
  13. make test

On hexahedral

  1. make.inc