FEAP User Forum
FEAP => Parallel FEAP => Topic started by: ad10 on December 24, 2021, 03:14:37 AM
-
I am solving the Linear-elastic problem with phase-field for which I have generated mesh using 'gmsh' as it is an unstructured 4-node element with over 10000 elements. I tried to solve this problem using FEAP which is taking a very long time as it's a fine mesh. I want to shift to ParFEAP. I went through the documentation but I don't get a few things,
1. To use ParFEAP do I have to make any changes in make.in file? I am using Feap.8.6. I think the parallel version is already linked.
# Parallel MPI Build
FFMPI = $(PETSC_DIR)/$(PETSC_ARCH)/bin/mpif90
CCMPI = $(PETSC_DIR)/$(PETSC_ARCH)/bin/mpicc
# Parallel FE2 Build
FFE2 = $(PETSC_DIR)/$(PETSC_ARCH)/bin/mpif90
CCE2 = $(PETSC_DIR)/$(PETSC_ARCH)/bin/mpicc
2. I have installed PETSc but still I am getting the following issue for one of the codes that are there in the forum.
*ERROR* GRAPh command only available in parallel version
*ERROR* OUTDomain command only available in parallel version
3. As I can see in the manual many examples are tested, but the input file for the sample example is not given.
Any comments will really be helpful for me.
-
To use the parallel version you need to build it. First build the serial version which it seems you have. Next go into the folder parfeap/ and type 'make install'. This will build the parallel version of feap in the folder parfeap/. This version of the executable is the one you need to use to partition your problem. It is also the version that you will use to run your parallel problem.
-
Prof. Thanks a lot for your comments. I am able to connect FEAP with PETSc.
-
Dear all, which version of PETSc is tested with FEAP 8.6.1e? That I should use. Because I am getting errors for the latest version.
for the simple cases, we use
Batch
tang,,1
end
if I solve the same problem with PETSc, I will use
Batch
PETSc, On
TOL ITER 1.d-07 1.d-08 1.d+20
TANGent,,1
end
It will solve faster right?? without any partition just making changes in the Input file.
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Argument out of range
[0]PETSC ERROR: Out of range index value 4697932 maximum 0
[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.16.2, unknown
[0]PETSC ERROR: ./feap on a arch-linux-c-debug named Wed Dec 29 11:02:44 2021
[0]PETSC ERROR: Configure options --download-metis
[0]PETSC ERROR: #1 VecSetValues_Seq() at /home/petsc/src/vec/vec/impls/seq/bvec2.c:665
[0]PETSC ERROR: #2 VecSetValues() at /home/petsc/src/vec/vec/interface/rvector.c:829
[0]PETSC ERROR: #3 VecSetValues_Seq() at /home/ajinkya/petsc/src/vec/vec/impls/seq/bvec2.c:665
[0]PETSC ERROR: #4 VecSetValues() at /home/petsc/src/vec/vec/interface/rvector.c:829
[0]PETSC ERROR: #5 VecSetValues_Seq() at /home/ajinkya/petsc/src/vec/vec/impls/seq/bvec2.c:665
[0]PETSC ERROR: #6 VecSetValues() at /home/petsc/src/vec/vec/interface/rvector.c:829
[0]PETSC ERROR: #7 VecSetValues_Seq() at /home/petsc/src/vec/vec/impls/seq/bvec2.c:665
[0]PETSC ERROR: #8 VecSetValues() at /home/petsc/src/vec/vec/interface/rvector.c:829
-
Parfeap only works with partitioned input files -- even if you want only one partition, you have to partition the original input file.