FEAP User Forum
FEAP => Parallel FEAP => Topic started by: pbstone on November 25, 2016, 12:40:07 AM
-
Dear FEAP Users,
I have a problem running a parallel example. I am able to split the serial import file to
solve it with the installed petsc solvers running mpirun.
My problem is that there is an error message and I can not identify the reason.
Maybe someone had the same problem before or someone can figure out the reason.
I am using Feap8_4 and the petsc 3.7.4.
I will attach the used files and the produced error message.
I will be grateful for any hide.
Best regards
Thomas
-
Do you have one or two domains? You only posted the 0001 file there should be a 0002 file too?
-
In the 3.7.X release of PETSc, they changed the syntax for PetscGetOptionsString. If you change line 312 in pdomain.F to:
call PetscOptionsGetString(PETSC_NULL_OBJECT,PETSC_NULL_CHARACTER,
& '-pc_type',optstr,chk,ierr)
it should work. But beware that they are other changes need to get parfeap to work with 3.7.4. You get all the changes you will need to look through the Petsc release notes. I have a working version with 3.7.3, I will try to grep the changes and post them.
-
Seems there were not too many changes. Here is a list of the ones that I found commented in my code:
pdomain.F:! 6. update PetscOptionsXXX( ) for v3.7 16/05/2016
usolve.F:! 16. Update PetscOptionsXXX( ) for v3.7 16/05/2016
So this is just the one I mentioned already but also in usolve.F. Then in lots of the files, you also need the change
filargs.F:! 4. finclude -> petsc/finclude 12/05/2016
but you probably already have this if you got your code to compile.
-
Thank you Prof. Taylor and Prof. Govindjee,
I only posted the first file, because of the limitation to upload 4 files. The partition process seems to work quiet well.
To the answer of Prof. Govindjee:
Thanks a lot for this solution. I will add this changes to the files and will report the results.