Re: [deal.II] Re: PETScWrappers::SparseDirectMUMPS for symmetry system matrix and factorization resue

2016-07-27 Thread shanglong zhang
Hi Wolfgang, Thank you for the explanation. Then everything make sense. Best, Shanglong 在 2016年7月27日星期三 UTC-4下午6:13:16,bangerth写道: > > On 07/27/2016 01:43 PM, Alexander wrote: > > > > step-17 claims to solve same problem as step-8. If one produces symmetry > > matrix and the other does not or

Re: [deal.II] Issue on Windows x64 Debug linkage

2016-07-27 Thread Tulio Ligneul
In my system, deal_II.lib is about 400MB and deal_II.g.lib is almost 2GB. Maybe the issue is somehow related to these reports: https://connect.microsoft.com/VisualStudio/feedback/details/995447/linker-is-hanging-while-linking-some-project-in-debug-x64-configuration https://www.gittprogram.com/qu

Re: [deal.II] Re: PETScWrappers::SparseDirectMUMPS for symmetry system matrix and factorization resue

2016-07-27 Thread Wolfgang Bangerth
On 07/27/2016 01:43 PM, Alexander wrote: step-17 claims to solve same problem as step-8. If one produces symmetry matrix and the other does not or both do not -- this is suspicious. The reason why the matrix in step-17 is not symmetric is actually explained in the code: // The last argu

[deal.II] Re: PETScWrappers::SparseDirectMUMPS for symmetry system matrix and factorization resue

2016-07-27 Thread Alexander
So why is it not 162x162? step-17 claims to solve same problem as step-8. If one produces symmetry matrix and the other does not or both do not -- this is suspicious. Anyway, I recommend you creating an issue on github and put short description with the link to this thread. People who created

Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST

2016-07-27 Thread Daniel Arndt
Ehsan, can you show us what your "detailed.log" in the build directory looks like? This file stores the configuration that is used for building deal.II. ` -DCMAKE_INSTALL_PREFIX= /home/General_for_All_Users/deal_II_install_dir` should tell deal.II to copy the build library into that folder when y

[deal.II] Re: PETScWrappers::SparseDirectMUMPS for symmetry system matrix and factorization resue

2016-07-27 Thread shanglong zhang
Alexander, I run step-8 and the system matrix is symmetry at least for the first cycle. I attach the output txt of the system matrix in this reply. Thanks. Best, Shanglong 在 2016年7月27日星期三 UTC-4上午10:53:46,Alexander写道: > > Shanglong, > I'm not an expert in this field, but I assume it should be. >

Re: [deal.II] Re: Memory usage using MPI/PETSc on single processor

2016-07-27 Thread Pete Griffin
Thanks, Bruno. I'm in no rush. I have other things I can work on too. The only other difference I could find, other than the MPI/PETSc stuff, had to do with solver_control() which should only effect # steps to solution. I mainly brought it up because the results contrasted what I read in the

Re: [deal.II] Issue on Windows x64 Debug linkage

2016-07-27 Thread Matthias Maier
The last time I checked (statically) linking an executable against the debug or release version was on the order of several minutes. We currently do not support shared libraries (dlls) on Windows. This might change with [1] though. [1] https://github.com/dealii/dealii/pull/2807 -- The deal.II p

Re: [deal.II] Issue on Windows x64 Debug linkage

2016-07-27 Thread Wolfgang Bangerth
On 07/27/2016 06:49 AM, Tulio Ligneul wrote: I have been trying to compile the examples using Visual Studio Community 2015 targeting x64 platform. If I try to compile the 'step-1' example in Release mode, it finishes in just a few seconds, but if i try to compile it in Debug mode it seems the li

[deal.II] Re: PETScWrappers::SparseDirectMUMPS for symmetry system matrix and factorization resue

2016-07-27 Thread Alexander
Shanglong, I'm not an expert in this field, but I assume it should be. Can you please check if system matrix in step-8 (which was used to implement step-17) is symmetric? Alexander Am Mittwoch, 27. Juli 2016 15:58:42 UTC+2 schrieb shanglong zhang: > > Hi Alexander, > > Thank you for your explan

Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST

2016-07-27 Thread Ehsan
Dear Toby, Thanks for your reply. I deleted folder of my previous deal ii installation and installed it again and now I faced two other problems. Can you please help me solve them: First: previously when I installed deal-ii without MPI, Trilinos and P4EST options and addresse deall-ii to be in

Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST

2016-07-27 Thread Ehsan
Dear Toby, Thanks for your reply. I deleted folder of my previous deal ii installation and installed it again and now I faced two other problems. Can you please help me solve them: First: previously when I installed deal-ii without MPI, Trilinos and P4EST options and addresse deall-ii to be ins

[deal.II] Re: PETScWrappers::SparseDirectMUMPS for symmetry system matrix and factorization resue

2016-07-27 Thread shanglong zhang
Hi Alexander, Thank you for your explanation. I should have checked the symmetricity first. However, since the step-17 is isotropic linear elasticity problem, should the system matrix be symmetry? Thank you very much for your help and patience. Regards, Shanglong 在 2016年7月27日星期三 UTC-4上午4:49:5

Re: [deal.II] Re: Memory usage using MPI/PETSc on single processor

2016-07-27 Thread Bruno Turcksin
Pete, I saw it. I am just busy :-) I will try to take another look later. Best, Bruno 2016-07-27 9:37 GMT-04:00 Pete Griffin : > Bruno, I posted a reply to your comment. but not within your comment but at > top of page. If you did not receive an indication of reply check the > original thread.

[deal.II] Re: Memory usage using MPI/PETSc on single processor

2016-07-27 Thread Pete Griffin
Bruno, I posted a reply to your comment. but not within your comment but at top of page. If you did not receive an indication of reply check the original thread. Pete Griffin On Monday, July 25, 2016 at 2:31:09 PM UTC-4, Bruno Turcksin wrote: > > Pete, > > you need to make sure that the codes

Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST

2016-07-27 Thread Tobi Young
Ehsan. Yes, but that is not what you have done. ;-) Look at the configure script in your first email again calmly and *very carefully* and then look at my reply calmly and *very carefully*. In the configure script you sent us, you are missing a D on two lines, which I am guessing is stopping c

Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST

2016-07-27 Thread Ehsan
Hi, Moreover I have 2 more problems. First: previously when I installed deal-ii without MPI, Trilinos and P4EST options and addresse deall-ii to be installed ins a specific directory with -DCMAKE_INSTALL_PREFIX= /home/General_for_All_Users/deal_II_install_dir option, it was installed in the

Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST

2016-07-27 Thread Ehsan
Dear Toby, But in below links they are -DDEAL_II_With_... https://www.dealii.org/developer/readme.html https://www.dealii.org/developer/external-libs/p4est.html Best, Ehsan On Wednesday, July 27, 2016 at 12:19:07 PM UTC+2, Tobi Young wrote: > > Hello Eshan, > > Perhaps here is your error. It

Re: [deal.II] Step-42 -- Problem with Trilinos and P4EST

2016-07-27 Thread Tobi Young
Hello Eshan, Perhaps here is your error. It is a simple typo. ;-) > -DEAL_II_WITH_P4EST= ON > -DEAL_II_WITH_TRILINOS= ON Should be: -DDEAL_II_WITH_P4EST= ON -DDEAL_II_WITH_TRILINOS= ON Please check that the output (or configure.log) says it has found a

[deal.II] Step-42 -- Problem with Trilinos and P4EST

2016-07-27 Thread Ehsan
Hello, I want to run Step-42 but I receive below error: Error! The deal.II library found at / was not configured with DEAL_II_WITH_MPI = ON DEAL_II_WITH_P4EST = ON DEAL_II_WITH_TRILINOS = ON One or all of these are OFF in your installation but are required for this tutorial

[deal.II] Re: PETScWrappers::SparseDirectMUMPS for symmetry system matrix and factorization resue

2016-07-27 Thread Alexander
Shanglong, I can reproduce this behaviour, but this isn't a bug. I output the 162x162 system matrix at first cycle and as far as I can see it fails symmetry check. You can see this already from first few non-zero entries: (0,0) 1.3 (1,1) 1.3 (2,2) 1.3 (3,3) 1.3 (4,4) 1.3 (5,5

Re: [deal.II] Problem using WorkStream with a hp::DoFHandler

2016-07-27 Thread Claire
Thank to both of you for your time and answers. Pr. Bangerth's solution works perfectly (although I guess I could and should have figured it out by myself...) Best, Claire Le mardi 26 juillet 2016 23:56:02 UTC+2, bangerth a écrit : > > On 07/26/2016 08:54 AM, Claire wrote: > > > > I hope th

[deal.II] Re: How to solve each block separately when working with TrilinosWrappers::BlockSparseMatrix and AMG precondition.

2016-07-27 Thread dealii . group
Dear Daniel Thank you. Yes, the first problem is due to a mistake in partitioning in system setup. I will Also read the steps that you mentioned. Best, Pasha On Tuesday, July 26, 2016 at 10:52:55 PM UTC+4:30, Daniel Arndt wrote: > > Pasha, > > >> *if* (direct_solver) >> >> { >> >> SolverContr