[petsc-dev] problem with hypre with '--with-openmp=1'

Satish Balay balay at mcs.anl.gov
Wed Jun 27 19:13:00 CDT 2018


On Wed, 27 Jun 2018, Mark Adams wrote:

> On Wed, Jun 27, 2018 at 12:40 PM Satish Balay <balay at mcs.anl.gov> wrote:
> 
> > >>>>>>>>>
> > Configure Options: --configModules=PETSc.Configure
> > --optionsModule=config.compilerOptions --with-cc=cc --with-cxx=CC
> > --with-fc=ftn COPTFLAGS="  -g -fp-model fast -xMIC-AVX512 -qopt-report=5
> > -hcpu=mic-knl -qopenmp-simd" CXXOPTFLAGS="-g -fp-model fast -xMIC-AVX512
> > -qopt-report=5  -hcpu=mic-knl -qopenmp-simd" FOPTFLAGS="  -g -fp-model fast
> > -xMIC-AVX512 -qopt-report=5  -hcpu=mic-knl -qopenmp-simd"
> > --download-metis=1 --with-hypre-dir=/global/homes/m/madams/tmp/hypre
> > --download-parmetis=1 --download-fblaslapack --with-debugging=0
> > --with-mpiexec=srun --with-batch=0 --known-mpi-shared-libraries=1
> > --known-64-bit-blas-indices=0 --with-64-bit-indices=0
> > PETSC_ARCH=arch-cori-knl-opt-intel-omp --with-openmp=1 --download-p4est=0
> > --prefix=/global/homes/m/madams/petsc_install/petsc-cori-knl-opt-intel-omp
> > --download-hdf5
> > Wo
> >
> >               HYPRE: UserSpecified DirPath not found.. skipping:
> > /global/homes/m/madams/tmp/hypre/lib
> >               HYPRE: UserSpecified DirPath not found.. skipping:
> > /global/homes/m/madams/tmp/hypre/lib64
> >
> > <<<<<<<<
> >
> > What do you have for:
> >
> > ls /global/homes/m/madams/tmp/hypre
> > ls /global/homes/m/madams/tmp/hypre/lib
> >
> 
> 11:11 2 cori07  ~$ ls /global/homes/m/madams/tmp/hypre
> AUTOTEST  CHANGELOG  COPYING.LESSER  COPYRIGHT  INSTALL  README  docs  src
> 11:11 cori07  ~$ ls /global/homes/m/madams/tmp/hypre/lib
> ls: cannot access '/global/homes/m/madams/tmp/hypre/lib': No such file or
> directory
> 
> Hypre puts everything in src. I see this the BuildSystem:
> 
>   def formGNUConfigureArgs(self):
>     self.packageDir = os.path.join(self.packageDir,'src')
> 
> I figured this was trying to do this. lib is in src.

Ok - specify hypre with the correct  --with-hypre-include  and --with-hypre-lib options

--with-hypre-dir can only guess a prefix install - not in-place install of hypre.

Satish


More information about the petsc-dev mailing list