Re: [deal.II] Re: Internal instability of the GMRES Solver / Trilinos

2017-03-15 Thread Pascal Kraft
Hi Martin, that didn't solve my problem. What I have done in the meantime is replace the check in line 247 of trilinos_vector.cc with true. I don't know if this causes memory leaks or anything but my code seems to be working fine with that change. To your suggestion: Would I have also had to c

Re: [deal.II] Can't build deal ii tutorials or program which uses deal ii libraries due to unresolved external symbol _compress2 and _compressBound errors

2017-03-15 Thread mbranag
I am also currently installing it through the bash subsystem so I can give feedback on that when that occurs. Thanks, Michael On Wednesday, March 15, 2017 at 6:51:00 PM UTC-4, mbranag wrote: > > I added the verbose statement and then compiled. I have attached the > resulting output file. > > Th

Re: [deal.II] AMR , how to pass solution vector to refined mesh

2017-03-15 Thread Wolfgang Bangerth
On 03/15/2017 02:37 PM, Jaekwang Kim wrote: I wonder if it is possible to pass solution vector to refined-meshed I am solving non-linear problem with iterative method. I'd like to use coarse mesh solution as a initial solution to find accurate solution fast. However, my present code sets

[deal.II] AMR , how to pass solution vector to refined mesh

2017-03-15 Thread Jaekwang Kim
Hi, all. I wonder if it is possible to pass solution vector to refined-meshed I am solving non-linear problem with iterative method. I'd like to use coarse mesh solution as a initial solution to find accurate solution fast. However, my present code sets up system again on every refineme

Re: [deal.II] fixing one component of solution to the same value

2017-03-15 Thread Wolfgang Bangerth
I am using deal.ii to solve a 3D solid mechanics problem which uses p::d::triangulation. I am solving equilibrium equations to solve for the displacement in the domain. The domain of the problem is a cylinder with the z-axis aligned along the axis of the cylinder. To avoid the warping, I want

Re: [deal.II] Can't build deal ii tutorials or program which uses deal ii libraries due to unresolved external symbol _compress2 and _compressBound errors

2017-03-15 Thread Wolfgang Bangerth
On 03/15/2017 08:31 AM, mbranag wrote: 1>deal_II.g.lib(data_out_base.obj) : error LNK2019: unresolved external symbol _compress2 referenced in function "... This is a function in zlib, a compression library. We only call it if we could find zlib during the run of cmake, and have the following

Re: [deal.II] Re: Internal instability of the GMRES Solver / Trilinos

2017-03-15 Thread Martin Kronbichler
Dear Pascal, This problem seems related to a problem we recently worked around in https://github.com/dealii/dealii/pull/4043 Can you check what happens if you call GrowingVectorMemory::release_unused_memory() between your optimization steps? If a communicator gets stack in those places it

[deal.II] Re: Can't build deal ii tutorials or program which uses deal ii libraries due to unresolved external symbol _compress2 and _compressBound errors

2017-03-15 Thread Jean-Paul Pelteret
Ah ok, I suspected as much. Windows support is still "experimental" (although some work is being done in this regard). However, I understand that installing deal.II though the bash subsystem is possible

[deal.II] Re: Can't build deal ii tutorials or program which uses deal ii libraries due to unresolved external symbol _compress2 and _compressBound errors

2017-03-15 Thread mbranag
I am compiling on Windows 10 using Visual Studios so Microsoft C/C++ Compiler. For deal ii and step-1, I used cmake and then built using VS. On Wednesday, March 15, 2017 at 11:12:18 AM UTC-4, Jean-Paul Pelteret wrote: > > Hi Michael, > > That output looks very strange. Which operating system and

[deal.II] Re: Can't build deal ii tutorials or program which uses deal ii libraries due to unresolved external symbol _compress2 and _compressBound errors

2017-03-15 Thread Jean-Paul Pelteret
Hi Michael, That output looks very strange. Which operating system and compiler are you using? Kind regards, Jean-Paul On Wednesday, March 15, 2017 at 2:31:54 PM UTC, mbranag wrote: > > Hi all, > > I am new to trying to work with deal II and have had trouble getting it > working. I currently h

[deal.II] Can't build deal ii tutorials or program which uses deal ii libraries due to unresolved external symbol _compress2 and _compressBound errors

2017-03-15 Thread mbranag
Hi all, I am new to trying to work with deal II and have had trouble getting it working. I currently have been able to compile the deal ii libraries but when I try to build either the first tutorial (step-1) or my own code which is just creating a simple grid mesh similar to that found in step-

[deal.II] Re: Internal instability of the GMRES Solver / Trilinos

2017-03-15 Thread Pascal Kraft
Dear Timo, I have done some more digging and found out the following. The problems seem to happen in trilinos_vector.cc between the lines 240 and 270. What I see on the call stacks is, that one process reaches line 261 ( ierr = vector->GlobalAssemble (last_action); ) and then waits inside this c