Author Topic: FEAP PARPACK fails  (Read 2431 times)

manisha.sachdeva

  • Jr. Member
  • **
  • Posts: 14
FEAP PARPACK fails
« on: February 16, 2021, 10:41:53 PM »
I am working with version 8.6... and trying to install ARPACK in PARFEAP... I get the following error...
--------------------------------------------------------------------------------------------------------------------------------------------------

parkv.F:64:47:

         call VecCreate        (PETSC_COMM_WORLD, xvec, ierr)
                                               1
Error: Name ‘petsc_comm_world’ at (1) is an ambiguous reference to ‘petsc_comm_world’ from module ‘petscsys’
parkv.F:90:50:

         call PetscViewerASCIIOpen(PETSC_COMM_WORLD,"yvec.m",Y_view,
                                                  1
Error: Name ‘petsc_comm_world’ at (1) is an ambiguous reference to ‘petsc_comm_world’ from module ‘petscsys’
parkv.F:31:9:

       use                      petscksp
         1
Warning: Although not referenced, ‘generic interface 'mpi_file_read_ordered_begin'’ has ambiguous interfaces at (1)
parkv.F:31:9:

       use                      petscksp
         1
Warning: Although not referenced, ‘generic interface 'mpi_file_write_at_all_begin'’ has ambiguous interfaces at (1)
parkv.F:31:9:

       use                      petscksp
         1
Warning: Although not referenced, ‘generic interface 'pmpi_file_read_ordered_begin'’ has ambiguous interfaces at (1)
parkv.F:31:9:

       use                      petscksp
         1
Warning: Although not referenced, ‘generic interface 'pmpi_file_write_at_all_begin'’ has ambiguous interfaces at (1)
/home/manisha/packages/petsc-3.13.2/petsc/lib/petsc/conf/rules:274: recipe for target 'parkv.o' failed
make: *** [parkv.o] Error 1

manisha.sachdeva

  • Jr. Member
  • **
  • Posts: 14
Re: FEAP PARPACK fails
« Reply #1 on: February 17, 2021, 12:07:00 AM »
If I try to install PARFEAP without arpack.... I get the following error from linker....

parbmat.o: In function `parbmat_':
/home/manisha/feap/feap-8.6.1e/parfeap/parbmat.F:85: undefined reference to `vecgetownershiprange_'
psprojb.o: In function `psprojb_':
/home/manisha/feap/feap-8.6.1e/parfeap/psprojb.F:93: undefined reference to `vecgetownershiprange_'
psubsp.o: In function `psubsp_':
/home/manisha/feap/feap-8.6.1e/parfeap/psubsp.F:102: undefined reference to `vecgetownershiprange_'
usolve.o: In function `usolve_':
/home/manisha/feap/feap-8.6.1e/parfeap/usolve.F:329: undefined reference to `vecgetownershiprange_'
collect2: error: ld returned 1 exit status
makefile:51: recipe for target 'install' failed
make: [install] Error 1 (ignored)

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: FEAP PARPACK fails
« Reply #2 on: February 17, 2021, 09:10:30 AM »
Have you tested your PETSc installation separately from FEAP?  Also are you environment variables for PETSC_DIR and PETSC_ARCH correctly defined?

The fact that VecGetOwnershipRange( ) can not be found indicates
a deeper problem than just FEAP.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: FEAP PARPACK fails
« Reply #3 on: February 17, 2021, 04:32:06 PM »
I have just performed a test install of arpack in parallel.  There are a couple of issues in the source code if you have picky compiler that I have found but there are not the type of errors you are seeing.  Your errors are more fundamental to getting petsc working properly.  When I have sorted out the other errors, I will post an updated version for you.