Dear All.
I'm installing parfeap with feap ver8.5,petsc version 3.16.2 , following the step writing in the 'parmanual_86.pdf'(page 23-24),and when I using the command 'make install' in the directory ver85/parfeap. I got the fllowing errors
ifort -c -O2 -Warn -I/home/ver85/include -I/home/ver85/modules -I/home/ver85/include/integer8 ../main/feap85.f -o ../main/feap85.o
../main/feap85.f(183): warning #8889: Explicit declaration of the EXTERNAL attribute is required. [PSTART]
call pstart()
-----------^
../main/feap85.f(187): warning #8889: Explicit declaration of the EXTERNAL attribute is required. [PCONTR]
call pcontr()
-----------^
ifort -c -O2 -Warn -I/home/ver85/include -I/home/ver85/modules -I/home/ver85/include/integer8 adomnam.f -o adomnam.o
adomnam.f(50): warning #8889: Explicit declaration of the EXTERNAL attribute is required. [ADDEXT]
call addext(fout,fext,128,5)
-----------^
mpiifort -o filargs.o -c -fPIC -g -O3 -I/home/petsc/petsc-3.16.2/include -I/home/petsc/petsc-3.16.2/gnu-opt/include -I/home/ver85/include -I/home/ver85/modules -I/home/ver85/include/integer8 `pwd`/filargs.F
mpiifort -o fparsop.o -c -fPIC -g -O3 -I/home/petsc/petsc-3.16.2/include -I/home/petsc/petsc-3.16.2/gnu-opt/include -I/home/ver85/include -I/home/ver85/modules -I/home/ver85/include/integer8 `pwd`/fparsop.F
mpiifort -o parbmat.o -c -fPIC -g -O3 -I/home/petsc/petsc-3.16.2/include -I/home/petsc/petsc-3.16.2/gnu-opt/include -I/home/ver85/include -I/home/ver85/modules -I/home/ver85/include/integer8 `pwd`/parbmat.F
/home/ver85/parfeap/pfeapc.h(2): error #6457: This derived type name has not been declared. [TVEC]
type(tVec) rhs, sol, xvec
-----------^
/home/ver85/parfeap/pfeapc.h(5): error #6457: This derived type name has not been declared. [TVEC]
type(tVec) yvec, zvec
-----------^
/home/ver85/parfeap/pfeapc.h( 8 ): error #6457: This derived type name has not been declared. [TVEC]
type(tVec) Mdiag, Msqrt
-----------^
/home/ver85/parfeap/pfeapc.h(11): error #6457: This derived type name has not been declared. [TMAT]
type(tMat) Kmat, Mmat, Pmat
-----------^
/home/ver85/parfeap/pfeapc.h(14): error #6457: This derived type name has not been declared. [TKSP]
type(tKSP) kspsol
-----------^
/home/ver85/parfeap/parbmat.F(55): error #6404: This name does not have a type, and must have an explicit type. [XVEC]
if(xvec .eq. 0) then
---------^
/home/ver85/parfeap/parbmat.F(56): error #6404: This name does not have a type, and must have an explicit type. [PETSC_COMM_WORLD]
call VecCreate (PETSC_COMM_WORLD, xvec, ierr)
-------------------------------^
/home/ver85/parfeap/parbmat.F(57): error #6404: This name does not have a type, and must have an explicit type. [PETSC_DECIDE]
call VecSetSizes (xvec, numpeq, PETSC_DECIDE, ierr)
---------------------------------------------^
/home/ver85/parfeap/parbmat.F(61): error #6404: This name does not have a type, and must have an explicit type. [YVEC]
if(yvec .eq. 0) then
---------^
/home/ver85/parfeap/parbmat.F(72): error #6404: This name does not have a type, and must have an explicit type. [INSERT_VALUES]
call VecSetValue(xvec,k,phib(j),INSERT_VALUES, ierr)
------------------------------------------^
/home/ver85/parfeap/parbmat.F(79): error #6404: This name does not have a type, and must have an explicit type. [MMAT]
call MatMult( Mmat, xvec, yvec, ierr )
----------------------^
/home/ver85/parfeap/parbmat.F(81): error #6404: This name does not have a type, and must have an explicit type. [MDIAG]
call VecPointwiseMult( yvec, Mdiag, xvec, ierr )
-------------------------------------^
/home/ver85/parfeap/pfeapc.h(3): error #6404: This name does not have a type, and must have an explicit type. [RHS]
common /pfeapc/ rhs, sol, xvec
----------------------^
/home/ver85/parfeap/pfeapc.h(3): error #6404: This name does not have a type, and must have an explicit type. [SOL]
common /pfeapc/ rhs, sol, xvec
---------------------------^
/home/ver85/parfeap/pfeapc.h(6): error #6404: This name does not have a type, and must have an explicit type. [ZVEC]
common /pfeapc/ yvec, zvec
----------------------------^
/home/ver85/parfeap/pfeapc.h(9): error #6404: This name does not have a type, and must have an explicit type. [MSQRT]
common /pfeapc/ Mdiag, Msqrt
-----------------------------^
/home/ver85/parfeap/pfeapc.h(12): error #6404: This name does not have a type, and must have an explicit type. [KMAT]
common /pfeapc/ Kmat, Mmat, Pmat
----------------------^
/home/ver85/parfeap/pfeapc.h(12): error #6404: This name does not have a type, and must have an explicit type. [PMAT]
common /pfeapc/ Kmat, Mmat, Pmat
----------------------------------^
/home/ver85/parfeap/pfeapc.h(15): error #6404: This name does not have a type, and must have an explicit type. [KSPSOL]
common /pfeapc/ kspsol
----------------------^
compilation aborted for /home/ver85/parfeap/parbmat.F (code 1)
make: *** [parbmat.o] Error 1
Thanks for your help!