Re: [Libmesh-users] Attempting to solve LinearImplicitSystem with single matrix construction but multiple RHS

2009-01-13 Thread bkraczek
David, Thank you for your help. I have this part working now. I will likely need to be optimize this more, but not at the present. -Brent On Tue, 13 Jan 2009 16:32:47 -0500, David Knezevic wrote: > When assemble_before_solve==true, you have to call > attach_assemble_function(fptr ), where fpt

Re: [Libmesh-users] control nonlinear steps and tolerence

2009-01-13 Thread Roy Stogner
Derek Gaston wrote: > It's probably getting close. We're going to be doing more work on the > Trilinos stuff again starting this week (I say we because we got someone > else to pick up my slack ;-) It would be nice if that worked before > 0.6.4 I agree completely. If the biggest outstan

Re: [Libmesh-users] control nonlinear steps and tolerence

2009-01-13 Thread Derek Gaston
On Jan 13, 2009, at 4:29 PM, Roy Stogner wrote: > I think someone (Derek?) changed this around a bit when working on the > Trilinos nonlinear solver interfaces; perhaps the changes haven't > quite > been completed. I believe a few arguments to solve() are now > deprecated, and some member varia

Re: [Libmesh-users] nonlinear steps

2009-01-13 Thread Derek Gaston
Actually it works fine if you use a NonlinearImplicitSystem and set the "nonlinear solver maximum iterations" parameter I do it all day every day here. I think yunfei just missed it On line 266 of petsc_nonlinear_solver.C there is: ierr = SNESSetTolerances(_snes, this->absolut

Re: [Libmesh-users] Libmesh-users Digest, Vol 32, Issue 6

2009-01-13 Thread David Fuentes
>> Compilers used: >> >> export CC=icc >> export CXX=icpc >> export FC=ifort >> export F77=ifort >> export F90=ifort >> >> Configure For Mpich2-1.0.8 >> $MPI_SOURCE/configure --prefix=$MPI_DIR --enable-sharedlibs=gcc >> --enable-debug >> >> Configure For PETSC-2.3.3-p13-lite >> config/configure.py

Re: [Libmesh-users] Compile Error

2009-01-13 Thread Roy Stogner
Andrea Hawkins wrote: > In response to John's first thought: > > grep uuid $PETSC_DIR/bmake/$PETSC_ARCH/petscconf > MPI_LIB = > -Wl,-rpath,/org/groups/oden/LIBRARIES/MPI/mpich-ahawkins/mpich2-1.0.8-intel-shared-dbg/lib > -L/org/groups/oden/LIBRARIES/MPI/mpich-ahawkins/mpich2-1.0.8-intel-shared-d

Re: [Libmesh-users] Compile Error

2009-01-13 Thread Kirk, Benjamin (JSC-EG)
What if you build with mpicxx? - Original Message - From: Andrea Hawkins To: John Peterson Cc: libmesh-users@lists.sourceforge.net ; r...@stogners.org Sent: Tue Jan 13 17:28:50 2009 Subject: Re: [Libmesh-users] Compile Error In response to John's first thought: grep uuid $PETSC_DI

Re: [Libmesh-users] control nonlinear steps and tolerence

2009-01-13 Thread Roy Stogner
yunfei zhu wrote: > Hi, all > I find that the number of nonlinear steps can not be controled by: > es.parameters.set ("nonlinear solver maximum iterations") = 100 > In the function NonlinearImplicitSystem::solve ( ) , the parameter is > assigned to "maxits" by: > const unsigned int maxits = es.par

Re: [Libmesh-users] Compile Error

2009-01-13 Thread Andrea Hawkins
In response to John's first thought: grep uuid $PETSC_DIR/bmake/$PETSC_ARCH/petscconf MPI_LIB = -Wl,-rpath,/org/groups/oden/LIBRARIES/MPI/mpich-ahawkins/mpich2-1.0.8-intel-shared-dbg/lib -L/org/groups/oden/LIBRARIES/MPI/mpich-ahawkins/mpich2-1.0.8-intel-shared-dbg/lib -lmpich -lssl -luuid -lpthr

Re: [Libmesh-users] Attempting to solve LinearImplicitSystem with single matrix construction but multiple RHS

2009-01-13 Thread David Knezevic
When assemble_before_solve==true, you have to call attach_assemble_function(fptr ), where fptr is a pointer to the assembly function (have a look at the examples to understand that better). Then in that case when you call system.solve(), system knows to call the assembly function before it trie

Re: [Libmesh-users] Libmesh-users Digest, Vol 32, Issue 5

2009-01-13 Thread David Fuentes
I'm assuming this is an ICES machine. Mine is compiling. what is LD_LIBRARY_PATH set to? > > -- > > Message: 7 > Date: Tue, 13 Jan 2009 15:31:48 -0600 > From: Andrea Hawkins > Subject: [Libmesh-users] Compile Error > To: libmesh-users@lists.sourceforge.net > Messag

Re: [Libmesh-users] Compile Error

2009-01-13 Thread John Peterson
On Tue, Jan 13, 2009 at 5:19 PM, Roy Stogner wrote: > John Peterson wrote: >> >> On Tue, Jan 13, 2009 at 3:31 PM, Andrea Hawkins >> wrote: >>> >>> I am wondering if any of you can shed some light on why I am getting >>> this compile error: >>> >>> Building bin/amr-dbg >>> ld: cannot find -luuid >

Re: [Libmesh-users] Compile Error

2009-01-13 Thread Roy Stogner
John Peterson wrote: > On Tue, Jan 13, 2009 at 3:31 PM, Andrea Hawkins wrote: >> I am wondering if any of you can shed some light on why I am getting >> this compile error: >> >> Building bin/amr-dbg >> ld: cannot find -luuid >> make: *** [bin/amr-dbg] Error 1 > > Maybe it comes from petsc? > >

Re: [Libmesh-users] nonlinear steps

2009-01-13 Thread Kirk, Benjamin (JSC-EG)
The easiest answer is to use a petsc command line option -snes_max_it # I believe (-help will tell you all the options for the particular petsc functions you are using) . Longer term, we will look into using the provided option properly. -Ben - Original Message - From: yunfei zhu

Re: [Libmesh-users] Compile Error

2009-01-13 Thread Kirk, Benjamin (JSC-EG)
Can you post the output of 'make echo'? -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___

Re: [Libmesh-users] Compile Error

2009-01-13 Thread John Peterson
On Tue, Jan 13, 2009 at 3:31 PM, Andrea Hawkins wrote: > I am wondering if any of you can shed some light on why I am getting > this compile error: > > Building bin/amr-dbg > ld: cannot find -luuid > make: *** [bin/amr-dbg] Error 1 > > > Compilers used: > > export CC=icc > export CXX=icpc > export

[Libmesh-users] control nonlinear steps and tolerence

2009-01-13 Thread yunfei zhu
Hi, all I find that the number of nonlinear steps can not be controled by: es.parameters.set ("nonlinear solver maximum iterations") = 100 In the function NonlinearImplicitSystem::solve ( ) , the parameter is assigned to "maxits" by: const unsigned int maxits = es.parameters.get("nonlinear solver

[Libmesh-users] Compile Error

2009-01-13 Thread Andrea Hawkins
I am wondering if any of you can shed some light on why I am getting this compile error: Building bin/amr-dbg ld: cannot find -luuid make: *** [bin/amr-dbg] Error 1 Compilers used: export CC=icc export CXX=icpc export FC=ifort export F77=ifort export F90=ifort Configure For Mpich2-1.0.8 $MPI_S

[Libmesh-users] nonlinear steps

2009-01-13 Thread yunfei zhu
Hi, all I find that the number of nonlinear steps can not be controled by: es.parameters.set ("nonlinear solver maximum iterations") = 100 In the function NonlinearImplicitSystem::solve ( ) , the parameter is assigned to "maxits" by: const unsigned int maxits = es.parameters.get("nonlinear solver

Re: [Libmesh-users] Attempting to solve LinearImplicitSystem with single matrix construction but multiple RHS

2009-01-13 Thread Brent Kraczek
David (or anyone else), I've been trying to figure out how to do this. But I'm still getting stuck with the rhs assembly. I have been working backward through the various function calls for what it does when assemble_before_solve==true but I can't figure out how the code figures out which ass