Author Topic: parfeap installation with feap version 8.5.2g  (Read 5300 times)

ryan

  • Jr. Member
  • **
  • Posts: 13
parfeap installation with feap version 8.5.2g
« on: December 20, 2017, 08:12:35 AM »
Which version of PETSc fits to feap 8.5.2g? The current PETSc version 3.8 seems to require heavy modifications.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1164
Re: parfeap installation with feap version 8.5.2g
« Reply #1 on: December 20, 2017, 01:17:50 PM »
The version we tested against was 3.7.6.

Looking at the release notes, it looks like there are no changes to the PETSc routines that we use, but there changes to the include structure that need to be dealt with.

I suggest using one of the 3.7.x releases for now. 

We will try to update 8.5 over the next month to the new include structure.

ryan

  • Jr. Member
  • **
  • Posts: 13
Re: parfeap installation with feap version 8.5.2g
« Reply #2 on: December 21, 2017, 02:00:09 AM »
Thanks, this was very helpful.

Steps to solve the parfeap installation problem:

1) PETSc downgrade via git repository:
git checkout 7587a4b
2) Delete build directory:
rm -rf arch-linux2-c-debug
3) Run ./configure (including mpich, fblaslapack, metis, prometheus) and run the make procedure
4) Run make install in feap/ver85/packages/arpack/archive for libarchive.a
5) Go to feap/ver85/parfeap/packages/arpack and change include path in *.F files for petsc.h to "YOUR_PETSc_PATH/petsc/include/petsc/finclude/petsc.h"
6) Run make install in feap/ver85/parfeap/packages/arpack for libparpack.a
7) Go to feap/ver85/parfeap and change include path in *.F files for petsc.h to "YOUR_PETSc_PATH/petsc/include/petsc/finclude/petsc.h"
8) Run make install [If you want a different name for the parallel executable then change "feap" in line 49. This might be better if you want to set an alias and you have already one for serial feap.]