Dolfin add superlu

Upgrade petsc

  1. find petsc folder: /usr/lib/petscdir
  2. download petsc somewhere from http://www.mcs.anl.gov/petsc/download/index.html with wget
  3. extract with tar xf
  4. the configure it: ./configure –prefix=/usr/lib/petscdir/3.6.3 –download-superlu_dist –with-cc=gcc –with-cxx=g++ –with-fc=gfortran –download-fblaslapack –download-mpich –download-parmetis –download-metis
  5. make all test
  6. and then change the environment variables as required

Add superlu to dolfin

http://fenicsproject.org/pipermail/fenics-support/2014-May/000588.html

  1. download fenics
  2. mkdir build
  3. cd build
  4. change Cmakelists.txt
  5. cmake –DCMAKE_INSTALL_PREFIX=~/software –download-suitesparse –download-superlu –download-superlu_dist ..

In case of warnings: “invalid suffix on literal”:
http://fenicsproject.org/pipermail/fenics-support/2014-December/001028.html

https://bitbucket.org/petsc/petsc4py/issues/24/installation-on-mac-os-x-yosemite

 

http://fenicsproject.org/qa/6195/newton-solver-hangs-indefinitely-when-using-more-number-cores

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s