[petsc-users] Metis building

Alexander Grayver agrayver at gfz-potsdam.de
Fri Dec 9 04:51:42 CST 2011


Hello,

It's pretty weird situation now. A couple of weeks ago I configured 
petsc-3.2-p5 successfully, today I decided to do it with new options and 
it didn't work, I tried to do it with old options just to check and got 
error:

lib/petsc-3.2-p5> ./configure --with-petsc-arch=intel-complex-debug-f-ds 
--with-fortran-interfaces=1 --download-superlu_dist --download-mumps 
--download-parmetis --download-metis  
--with-scalapack-lib=/opt/intel/Compiler/11.1/072/mkl/lib/em64t/libmkl_scalapack_lp64.a 
--with-scalapack-include=/opt/intel/Compiler/11.1/072/mkl/include 
--with-blacs-lib=/opt/intel/Compiler/11.1/072/mkl/lib/em64t/libmkl_blacs_openmpi_lp64.a 
--with-blacs-include=/opt/intel/Compiler/11.1/072/mkl/include 
--with-mpi-dir=/opt/mpi/intel/openmpi-1.4.2 --with-scalar-type=complex 
--with-blas-lapack-dir=/opt/intel/Compiler/11.1/072/mkl/lib/em64t 
--with-precision=double --with-x=0
===============================================================================
              Configuring PETSc to compile on your system
===============================================================================
===============================================================================                                
***** WARNING: CC found in enviornment variables - ignoring 
******                                 
===============================================================================                          
===============================================================================                                
***** WARNING: CXX found in enviornment variables - ignoring 
******                                
===============================================================================                          
===============================================================================                                
***** WARNING: FC found in enviornment variables - ignoring 
******                                 
===============================================================================                          
===============================================================================                                
***** WARNING: F77 found in enviornment variables - ignoring 
******                                
===============================================================================                          
===============================================================================                                
***** WARNING: F90 found in enviornment variables - ignoring 
******                                
===============================================================================                          
===============================================================================                                
Compiling & installing Metis; this may take several 
minutes                                        
===============================================================================                                                                                                                                   
*******************************************************************************
          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log 
for details):
-------------------------------------------------------------------------------
Error running make on Metis: Could not execute "cd 
/home/lib/petsc-3.2-p5/externalpackages/metis-4.0.3 && make clean && 
make library && make minstall && make clean":
(cd Lib ; make clean )
make[1]: Entering directory 
`/home/lib/petsc-3.2-p5/externalpackages/metis-4.0.3/Lib'
rm -f *.o
make[1]: Leaving directory 
`/home/lib/petsc-3.2-p5/externalpackages/metis-4.0.3/Lib'
(cd Programs ; make clean )
make[1]: Entering directory 
`/home/lib/petsc-3.2-p5/externalpackages/metis-4.0.3/Programs'
rm -f *.o
make[1]: Leaving directory 
`/home/lib/petsc-3.2-p5/externalpackages/metis-4.0.3/Programs'
(cd Test ; make clean )
make[1]: Entering directory 
`/home/lib/petsc-3.2-p5/externalpackages/metis-4.0.3/Test'
rm -f *.o
make[1]: Leaving directory 
`/home/lib/petsc-3.2-p5/externalpackages/metis-4.0.3/Test'
make: *** No rule to make target `library'.  Stop.
*******************************************************************************

I looked into /home/lib/petsc-3.2-p5/externalpackages/metis-4.0.3/makefile:


default:
     (cd Lib ; make )
     (cd Programs ; make )
     (cd Test ; make )

clean:
     (cd Lib ; make clean )
     (cd Programs ; make clean )
     (cd Test ; make clean )

realclean:
     (cd Lib ; make realclean )
     (cd Programs ; make realclean )
     (cd Test ; make realclean )

So there is no library.
I have no idea what went wrong. Any suggestions would be appreciated.

Thanks in advance.

Regards,
Alexander


More information about the petsc-users mailing list