<div dir="ltr"><div><div>I was able to build hypre on theta (KNL) by adding the following two lines of code to hypre.py<br><br>args.append('--host')<br>args.append('--host-alias')<br><br></div>It might help.<br><br><br></div>Fande Kong,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 27, 2018 at 10:39 AM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>>>>>>>>><br>
Configure Options: --configModules=PETSc.<wbr>Configure --optionsModule=config.<wbr>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/<wbr>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-<wbr>intel-omp --with-openmp=1 --download-p4est=0 --prefix=/global/homes/m/<wbr>madams/petsc_install/petsc-<wbr>cori-knl-opt-intel-omp --download-hdf5<br>
Wo<br>
<br>
              HYPRE: UserSpecified DirPath not found.. skipping: /global/homes/m/madams/tmp/<wbr>hypre/lib<br>
              HYPRE: UserSpecified DirPath not found.. skipping: /global/homes/m/madams/tmp/<wbr>hypre/lib64<br>
<br>
<<<<<<<<<br>
<br>
What do you have for:<br>
<br>
ls /global/homes/m/madams/tmp/<wbr>hypre<br>
ls /global/homes/m/madams/tmp/<wbr>hypre/lib<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Wed, 27 Jun 2018, Mark Adams wrote:<br>
<br>
> ><br>
> ><br>
> > In this case you can try:<br>
> ><br>
> > ./configure --download-hypre=1 --prefix=$HOME/soft/hypre --with-openmp=1<br>
> > PETSC_ARCH=arch-hypreinstall<br>
> > ./configure --with-hypre-dir=$HOME/soft/<wbr>hypre<br>
> > PETSC_ARCH=my-regular-build-<wbr>arch [and no openmp option]<br>
> > make PETSC_ARCH=my-regular-build-<wbr>arch<br>
> ><br>
> ><br>
> This syntax for the hypre dir does not seem to work ...<br>
> <br>
> <br>
> > One caveat: sometimes - mixing openmp compiled code with non-openmp<br>
> > build of PETSc can give link errors [as compilers/linkers do different<br>
> > stuff internally during linktime] - so this might not always work.<br>
> ><br>
> > Satish<br>
> ><br>
> <br>
<br>
</div></div></blockquote></div><br></div>