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
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
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
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
>> 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
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
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
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
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
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
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
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
>
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?
>
>
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
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
___
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
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
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
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
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
20 matches
Mail list logo