- Download and install Intel Fortran Compiler
- 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
- I added this to my path:
- Download openmpi
- 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
- Download and extract SuperLU_DIST_2.2
Copy MAKE_INC/<yourplatform.inc> to make.inc. For me it was make.i386_linux.
- 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
- Make
Copy <superlu>/lib to /opt/pydusa/pydusa/mympi/src
- Change Options.mk so that LLIBS includes -L/opt/pydusa/pydusa/mympi/src/ -lsuperlu_dist_2.0
- ???
- make
- make test
