[deal.II] Element wise reciprocal operation of a distributed vector
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.
Re: [deal.II] Installation didn't give any errors but when I tried make test, it failed all tests
Hi Dr. Bangerth, 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? I have the following: $ dpkg --list | grep compiler ii g++ 4:5.3.1-1ubuntu1 amd64GNU C++ compiler ii g++-5 5.4.0-6ubuntu1~16.04.4 amd64GNU C++ compiler ii gcc 4:5.3.1-1ubuntu1 amd64GNU C compiler ii gcc-5 5.4.0-6ubuntu1~16.04.4 amd64GNU C compiler ii gfortran4:5.3.1-1ubuntu1 amd64GNU Fortran 95 compiler ii gfortran-5 5.4.0-6ubuntu1~16.04.4 amd64GNU Fortran compiler ii hardening-includes 2.7ubuntu2 all Makefile for enabling compiler flags for security hardening ii libllvm3.6v5:amd64 1:3.6.2-3ubuntu2 amd64Modular compiler and toolchain technologies, runtime library ii libllvm3.8:amd641:3.8-2ubuntu4 amd64Modular compiler and toolchain technologies, runtime library ii libllvm3.8:i386 1:3.8-2ubuntu4 i386 Modular compiler and toolchain technologies, runtime library ii libprotoc9v5:amd64 2.6.1-1.3 amd64protocol buffers compiler library ii libxkbcommon0:amd64 0.5.0-1ubuntu2 amd64library interface to the XKB compiler - shared library ii protobuf-compiler 2.6.1-1.3 amd64compiler for protocol buffer definition files Please advise on what to do next. I really appreciate your help! Thanks! On Sat, Aug 12, 2017 at 4:50 PM, Wolfgang Bangerth wrote: > On 08/12/2017 05:21 PM, drgeoffschr...@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: 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] Line Integral of function
Rajat, The geometry is a cubical box [0 1] X [0 1] X [0 1] with a uniform rectilinear mesh in the domain. I have obtained the scalar solution vector u in the domain. I need to find the line integral of the solution along the boundary. For example: lets say I want to integrate the solution variable \int u dx on the line which is on +z face and goes from from (0,0,1) to (1,0,1). There is not functionality right now that allows you to do easily what you want to do. At some fundamental level, the reason is that for solutions of most PDEs, the solution is in the space H^1 which allows you to take integrals over d-dimensional objects (e.g., cells) as well as (d-1)-dimensional objects (e.g. faces) but not (d-2)-dimensional objects such as lines in 3d. It's just not well defined mathematically. On a pragmatic level, it's not available because nobody has implemented this. Can someone please help to figure out how to do this? In the pseudo code, my doubt is how to initialize the fe_face_values (line values?) object and the gauss quadrature formula for this? You have to create a 2-dimensional quadrature object that you can then use in FEFaceValues. To this end, you need the 2d quadrature objects to have only quadrature points on one of the bounding lines. This can be done using the QProjector class. The issue you have to pay attention to is *which* edge of the face quad you want to integrate over. This may require a bit of book-keeping. 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] Installation didn't give any errors but when I tried make test, it failed all tests
On 08/12/2017 05:21 PM, drgeoffschr...@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: 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] Installation didn't give any errors but when I tried make test, it failed all tests
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 To Wolfgang's question... I have both gcc and g++ installed. I'm not sure if that could cause a conflict. The libraries, in particular the one in question, were installed using apt-get, so I didn't do any compiling on the machine. By the way, my platform is Ubuntu 14.04, if that is important. Thanks, Geoff On Saturday, August 12, 2017 at 10:57:58 AM UTC-6, Wolfgang Bangerth wrote: > > On 08/11/2017 06:42 PM, jap...@gmail.com wrote: > > step.debug: RUN failed. Output: > > ./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version > `CXXABI_1.3.9' > > not found (required by ./step.debug) > > ./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version > > `GLIBCXX_3.4.21' not found (required by ./step.debug) > > ./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version > > `GLIBCXX_3.4.20' not found (required by ./step.debug) > > These error messages typically indicate that either (i) you have multiple > compilers installed in your system and/or (ii) that deal.II or any of the > libraries it depends on (Trilinos, p4est, etc) were built with different > compilers or compiler versions. Could this be the case for you? > > 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
On 08/11/2017 06:42 PM, japa...@gmail.com wrote: step.debug: RUN failed. Output: ./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./step.debug) ./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./step.debug) ./step.debug: /home/japan/anaconda3/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./step.debug) These error messages typically indicate that either (i) you have multiple compilers installed in your system and/or (ii) that deal.II or any of the libraries it depends on (Trilinos, p4est, etc) were built with different compilers or compiler versions. Could this be the case for you? 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.