<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
In this case you can try:<br>
<br>
./configure --download-hypre=1 --prefix=$HOME/soft/hypre --with-openmp=1 PETSC_ARCH=arch-hypreinstall<br>
./configure --with-hypre-dir=$HOME/soft/hypre PETSC_ARCH=my-regular-build-arch [and no openmp option]<br>
make PETSC_ARCH=my-regular-build-arch<br>
<br></blockquote><div><br></div><div>This syntax for the hypre dir does not seem to work ...</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>
</blockquote></div></div>