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

Mark Adams mfadams at lbl.gov
Wed Jun 27 04:35:27 CDT 2018


>
>
> In this case you can try:
>
> ./configure --download-hypre=1 --prefix=$HOME/soft/hypre --with-openmp=1
> PETSC_ARCH=arch-hypreinstall
> ./configure --with-hypre-dir=$HOME/soft/hypre
> PETSC_ARCH=my-regular-build-arch [and no openmp option]
> make PETSC_ARCH=my-regular-build-arch
>
>
This syntax for the hypre dir does not seem to work ...


> One caveat: sometimes - mixing openmp compiled code with non-openmp
> build of PETSc can give link errors [as compilers/linkers do different
> stuff internally during linktime] - so this might not always work.
>
> Satish
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180627/add31520/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 3043155 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180627/add31520/attachment-0001.obj>


More information about the petsc-dev mailing list