[petsc-dev] configuring hypre on batch system

Barry Smith bsmith at mcs.anl.gov
Thu Jan 8 17:42:16 CST 2015


  Mark,

   We don't generally support batch only systems with external packages; this requires the external package's configure to work on batch systems:   It would be nice to make this work but requires someone with access to that system (i.e. you). Essentially you need to add to config/BuildSystem/config/packages/hypre.py additional arguments that get passed to hype's configure when batch is used. Specifically at least the argument --host (Note this is an argument not to PETSc's configure but to hype's configure) I do not know if it has a value etc. You would need to look at hype's docs or consult with the hypre developers. I can't try stuff because I don't have accounts on those machines.

  You can try iterating with Satish on adding the support to hypre.py 

  Barry


Error running configure on HYPRE: Could not execute "cd /autofs/na3_home1/adams/petsc2/arch-titan-opt-pgi/externalpackages/hypre-2.9.1a/src && ./configure --prefix=/autofs/na3_home1/adams/petsc2/arch-titan-opt-pgi MAKE=/usr/bin/gmake --libdir=/autofs/na3_home1/adams/petsc2/arch-titan-opt-pgi/lib CC="cc" CFLAGS=" -mp " CXX="CC" CXXFLAGS=" -mp    " F90="ftn" F90FLAGS=" -mp  " F77="ftn" FFLAGS=" -mp  " FC="ftn" FCFLAGS=" -mp  " --disable-shared --with-MPI-include="" --with-MPI-lib-dirs="" --with-MPI-libs="" --with-blas-libs= --with-blas-lib-dir= --with-lapack-libs= --with-lapack-lib-dir= --with-blas=yes --with-lapack=yes --with-fmangle-blas=one-underscore --with-fmangle-lapack=one-underscore --without-babel --without-mli --without-fei --without-superlu AR="/usr/bin/ar cr"":
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether /usr/bin/gmake sets $(MAKE)... yes
checking for ranlib... ranlib
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works...configure: error: in `/autofs/na3_home1/adams/petsc2/arch-titan-opt-pgi/externalpackages/hypre-2.9.1a/src':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

> On Jan 8, 2015, at 4:55 PM, Mark Adams <mfadams at lbl.gov> wrote:
> 
> I am getting this error with hypre on Titan.  Documents and previous threads say '--with-batch' should fix this ...
> 
> Thanks,
> Mark
> 
> <configure.log>




More information about the petsc-dev mailing list