[petsc-users] slepc build fails..

Jose E. Roman jroman at dsic.upv.es
Mon May 6 08:28:59 CDT 2013


El 05/05/2013, a las 09:30, Dharmendar Reddy escribió:

> On Sun, May 5, 2013 at 1:06 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> Dharmendar Reddy <dharmareddy84 at gmail.com> writes:
> 
> > Hello,
> >          I am getting an error when i try to build slepc.
> >
> > I first see:
> >
> > ===============================================================================
> >
> >       CMake setup incomplete (status 256), falling back to legacy
> > build
> > ===============================================================================
> 
> This problem, which is definitely a CMake bug (but they seem to have no
> plans to fix), is usually related to NOTFOUND cache entries:
> 
>   //Path to a library.
>   -LARPACKLIB:FILEPATH=-LARPACKLIB-NOTFOUND
> 
> This is probably constructed by joining an empty variable.  Jose may
> know where in the SLEPc CMake code to look for this occurring.
> 
> > then make all gives an error, look at the attached logs
> 
> Does 'make test' work?  What about after 'make allfortranstubs all'?
> 
>    Make test works. 
>   login4$ make SLEPC_DIR=$PWD PETSC_DIR=/home1/00924/Reddy135/LocalApps/petsc PETSC_ARCH=mp
> i_rScalar_Opt test
> Running test examples to verify correct installation
> Using SLEPC_DIR=/home1/00924/Reddy135/LocalApps/slepc, PETSC_DIR=/home1/00924/Reddy135/Loc
> alApps/petsc and PETSC_ARCH=mpi_rScalar_Opt
> C/C++ example src/eps/examples/tests/test10 run successfully with 1 MPI process
> C/C++ example src/eps/examples/tests/test10 run successfully with 2 MPI process
> Fortran example src/eps/examples/tests/test7f run successfully with 1 MPI process
> Completed test examples
> 
>  But 
> make allfortranstubs all 
>  fails.. 
> grep: ftn-auto/makefile: No such file or directory
> grep: ftn-auto/makefile: No such file or directory
> grep: ftn-auto/makefile: No such file or directory
> grep: ftn-auto/makefile: No such file or directory
> grep: ftn-auto/makefile: No such file or directory
> grep: ftn-auto/makefile: No such file or directory
> libfast in: /home1/00924/Reddy135/LocalApps/slepc/include/finclude/ftn-auto
> make[5]: *** No rule to make target `slepc_tree'.  Stop.
> libfast in: /home1/00924/Reddy135/LocalApps/slepc/include/finclude/ftn-custom
> libfast in: /home1/00924/Reddy135/LocalApps/slepc/include/slepc-private
> libfast in: /home1/00924/Reddy135/LocalApps/slepc/docs
> Completed building libraries
> =========================================
> making shared libraries in /home1/00924/Reddy135/LocalApps/slepc/mpi_rScalar_Opt/lib
> building libslepc.so
> =========================================
> *******************************ERROR************************************
>   Error during compile, check mpi_rScalar_Opt/conf/make.log               
>   Send all contents of mpi_rScalar_Opt/conf to slepc-maint at grycap.upv.es  
> ************************************************************************
> 
> Now, i am wondering why i get these errors now ? i had no issues with slepc until i did git pull on petsc today. petsc does compile and pass tests. ?
> I am using slepc-dev -rev 3324
> 
> Thanks
> Reddy

You should be using petsc-master since slepc-dev is in sync with petsc-master, not petsc-next.
Anyway, I think the problem is the arpack-flags option, it should be like this (with a comma, as in the example of the manual):

$ ./configure --with-arpack-dir=/home1/00924/Reddy135/LocalApps/arpack/lib --with-arpack-flags=-lparpack,-larpack

Jose



More information about the petsc-users mailing list