Re: [deal.II] Installation didn't give any errors but when I tried make test, it failed all tests

2017-08-13 Thread drgeoffschrank
Thanks. I was able to find the other thread regarding my problem and was 
able to use the correct cmake flags to get dealii to install correctly. 
Thank you for your help!

On Saturday, August 12, 2017 at 5:50:13 PM UTC-6, Wolfgang Bangerth wrote:
>
> On 08/12/2017 05:21 PM, drgeoff...@gmail.com  wrote: 
> > I'm wondering if I could tag onto this message. I'm having a similar 
> problem. 
> > Installed with no problems. However, when I run the tests, they all fail 
> with 
> > the error: 
> > 
> > symbol lookup error: /usr/lib/libumfpack.so.3.1.0: undefined symbol: 
> amd_realloc 
>
> That seems like a separate issue unless you also get the error messages 
> about 
> the CXXABI or GLIBCXX version mismatch. 
>
> I think there was a question about your error on the mailing list a while 
> ago. 
> Can you try to search for it? 
>
> Best 
>   W. 
>
> -- 
>  
> Wolfgang Bangerth  email: bang...@colostate.edu 
>  
> www: http://www.math.colostate.edu/~bangerth/ 
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] Installation didn't give any errors but when I tried make test, it failed all tests

2017-08-13 Thread Wolfgang Bangerth

On 08/12/2017 07:22 PM, Japan Patel wrote:


Thank you for your reply. You are right. When I checked for compilers I have 
two versions of each compilers. I don't know why that isI do have petsc 
installed and I think that might have used different compilers. Is there a way 
to tell dealii to choose compilers?




You can also set the CXX environment variable to select a particular compiler 
before running cmake. You may have to start from a new, empty, build directory 
for this to work.


Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] crash with step-55 with PETSc both in serial and parallel

2017-08-13 Thread Timo Heister
Nur,

do you have PETSc configured without hypre by any chance? step-55 runs
correctly for me.

On Fri, Aug 11, 2017 at 7:24 AM, Nur Fadel  wrote:
> Hi all,
> I have installed Deal II 8.5 and trunk versions on Daint (the CSCS machine).
> When I run the example step-5 with PETSc I have the following error:
> Running using PETSc.
> Cycle 0:
>Number of degrees of freedom: 659 (578+81)
> +-+++
> | Total wallclock time elapsed since start| 0.354s ||
> | |||
> | Section | no. calls |  wall time | % of total |
> +-+---+++
> | assembly| 1 |  0.14s |40% |
> | setup   | 1 |0.0873s |25% |
> | solve   | 1 | 0.365s | 1e+02% |
> +-+---+++
> ERROR: Uncaught exception in MPI_InitFinalize on proc 0. Skipping
> MPI_Finalize() to avoid a deadlock.
> 
> Exception on processing:
> 
> An error occurred in line <66> of file
>  in
> function
> void
> dealii::PETScWrappers::PreconditionerBase::vmult(dealii::PETScWrappers::VectorBase&,
> const dealii::PETScWrappers::VectorBase&) const
> The violated condition was:
> pc != nullptr
> Additional information: (none)
> 
> Aborting!
> 
> [0]PETSC ERROR: #1 PetscCommDestroy() line 214 in
> /project/csstaff/nfadel/petsc-vanilla/src/sys/objects/tagm.c
> [0]PETSC ERROR: #2 PetscHeaderDestroy_Private() line 116 in
> /project/csstaff/nfadel/petsc-vanilla/src/sys/objects/inherit.c
>
> on github I found the issue "step-55 PETSc fails #4150" already solved but
> it seems not the same problem.
>
> I reproduce the crash both in serial and parallel, while trilinos works
> fine.
>
> The error is caught when Deal II checks if the pointer to preconditioner
> object's pc is a NULL.
> AssertThrow (pc != nullptr, StandardExceptions::ExcInvalidState ());
>
> It happens when the minres solver does:
>  precondition.vmult (v,*u[1]);
>
> Do you have any hint how to fix it?
>
>
> Thank you in advance!
> Nur
>
>
> --
> The deal.II project is located at 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=naKdiC5MpUUon2ztgdpg6EXMaY_Y4siuEIMCo2REU-U=bkBgAEUtvkgVku1tMVte7BoHucoYxCvhYeXIy_OHMzU=
>  
> For mailing list/forum options, see
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_forum_dealii-3Fhl-3Den=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=naKdiC5MpUUon2ztgdpg6EXMaY_Y4siuEIMCo2REU-U=GdBkwqIdCUvJTldnuwEtrzs_3XawG9py6IWg74MwFdI=
>  
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> For more options, visit 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw=naKdiC5MpUUon2ztgdpg6EXMaY_Y4siuEIMCo2REU-U=iXMtDNGI9SX47AwdcwsJ6UoDB5XU5Ea9cnzidyZIZaE=
>  .



-- 
Timo Heister
http://www.math.clemson.edu/~heister/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] Installation didn't give any errors but when I tried make test, it failed all tests

2017-08-13 Thread Denis Davydov
Hi,

Usually, one compiles some MPI provider (i.e. Openmpi) and then use its 
compiler wrappers in majority of dealii' dependencies.

Alternativelt ou can give Spack 
https://github.com/dealii/dealii/wiki/deal.II-in-Spack a try which guarantees 
that the whole toolchain is consistent: a single version of a library is used 
in dependents and (by default) the same compiler is used to build everything.

Regards,
Denis

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Element wise reciprocal operation of a distributed vector

2017-08-13 Thread ken . vishal
Dear users,

I haven't got around to figuring out a good answer to the following 
question. I am glad if someone could help me.

Given a *:MPI::Vector, what is the best way to assign element wise 
reciprocal value?

Thanks,
Vishal

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.