FEAP User Forum
FEAP => Parallel FEAP => Topic started by: ryan 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.
-
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.
-
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.]