Invalid argument!

2009-09-15 Thread Sergio Zlotnik
Hi All,

I need some help with the following error:

[59]PETSC ERROR: - Error Message

[59]PETSC ERROR: Invalid argument!
[59]PETSC ERROR: Unknown logical value: !
[59]PETSC ERROR:

[59]PETSC ERROR: Petsc Release Version 2.3.3, Patch 8, Fri Nov 16 17:03:40
CST 2007 HG revision: 414581156e67e55c761739b0deb119f7590d0f4b
[59]PETSC ERROR: See docs/changes/index.html for recent updates.
[59]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[59]PETSC ERROR: See docs/index.html for manual pages.
[59]PETSC ERROR:

[59]PETSC ERROR:
/gpfs/home/mona97/mona97824/sz/underworld2/build/bin/StGermain on a
linux-gnu named s25c4b04 by mona97824 Tue Sep 15 07:07:18 2009
[59]PETSC ERROR: Libraries linked from
/gpfs/apps/PETSC/2.3.3-p8/mpi2/64//lib/linux-gnu-c-opt
[59]PETSC ERROR: Configure run at Wed Aug 12 13:29:03 2009

The code does not break after the error!
Any idea of what should I check???

I'm using multigrid with the following options:
-scr_ksp_max_it 300
-scr_ksp_type  bcgs
-scr_ksp_rtol 3.0e-3
-scr_ksp_monitor
-scr_ksp_converged_reason
-Q22_pc_type uwscale
-A11_ksp_rtol 3.0e-4
-A11_ksp_type bcgs
-A11_pc_mg_cycle_type v
-no_scale
-no_remove_nullspace
-A11_pc_mg_log
-A11_pc_mg_multiplicative_cycles 1
-A11_pc_mg_smoothup 1
-A11_pc_mg_smoothdown 1
-pc_mg_different_smoothers
-mg_levels_down_ksp_type cg
-mg_levels_down_pc_type bjacobi
-mg_coarse_ksp_type cg
-mg_coarse_ksp_max_it 100
-mg_coarse_ksp_rtol 3.0e-4
-mg_coarse_pc_type bjacobi
-mg_coarse_sub_pc_type cholesky
-mat_schur_sub_monitor


Thanks in advance,
Sergio



Sergio Zlotnik
Research fellow

School of Geosciences/ School of Mathematical Sciences
Monash University
Clayton campus
Rm 240, Building 28
Monash University VIC 3800
t: (+61 3) 9905 4317
f: (+61 3) 9905 4403
sergio.zlotnik at sci.monash.edu.au
http://users.monash.edu.au/~szlotnik/<http://users.monash.edu.au/%7Eszlotnik/>
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20090915/7d509bec/attachment.html>


Invalid argument!

2009-09-15 Thread Matthew Knepley
1) Please don't cut off the stack. Its very useful when debugging problems
like this.

2) When reading one of these true/false options, it got an unprintable
character
 instead of nothing (hence the weird error message). I recommend giving
a
 valid 1/0 to every option. Its typically some Windows/Linux
incompatibility
 like \r.

  Matt

On Tue, Sep 15, 2009 at 1:50 AM, Sergio Zlotnik  wrote:

> Hi All,
>
> I need some help with the following error:
>
> [59]PETSC ERROR: - Error Message
> ----
> [59]PETSC ERROR: Invalid argument!
> [59]PETSC ERROR: Unknown logical value: !
> [59]PETSC ERROR:
> 
> [59]PETSC ERROR: Petsc Release Version 2.3.3, Patch 8, Fri Nov 16 17:03:40
> CST 2007 HG revision: 414581156e67e55c761739b0deb119f7590d0f4b
> [59]PETSC ERROR: See docs/changes/index.html for recent updates.
> [59]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> [59]PETSC ERROR: See docs/index.html for manual pages.
> [59]PETSC ERROR:
> 
> [59]PETSC ERROR:
> /gpfs/home/mona97/mona97824/sz/underworld2/build/bin/StGermain on a
> linux-gnu named s25c4b04 by mona97824 Tue Sep 15 07:07:18 2009
> [59]PETSC ERROR: Libraries linked from
> /gpfs/apps/PETSC/2.3.3-p8/mpi2/64//lib/linux-gnu-c-opt
> [59]PETSC ERROR: Configure run at Wed Aug 12 13:29:03 2009
>
> The code does not break after the error!
> Any idea of what should I check???
>
> I'm using multigrid with the following options:
> -scr_ksp_max_it 300
> -scr_ksp_type  bcgs
> -scr_ksp_rtol 3.0e-3
> -scr_ksp_monitor
> -scr_ksp_converged_reason
> -Q22_pc_type uwscale
> -A11_ksp_rtol 3.0e-4
> -A11_ksp_type bcgs
> -A11_pc_mg_cycle_type v
> -no_scale
> -no_remove_nullspace
> -A11_pc_mg_log
> -A11_pc_mg_multiplicative_cycles 1
> -A11_pc_mg_smoothup 1
> -A11_pc_mg_smoothdown 1
> -pc_mg_different_smoothers
> -mg_levels_down_ksp_type cg
> -mg_levels_down_pc_type bjacobi
> -mg_coarse_ksp_type cg
> -mg_coarse_ksp_max_it 100
> -mg_coarse_ksp_rtol 3.0e-4
> -mg_coarse_pc_type bjacobi
> -mg_coarse_sub_pc_type cholesky
> -mat_schur_sub_monitor
>
>
> Thanks in advance,
> Sergio
>
>
>
> Sergio Zlotnik
> Research fellow
>
> School of Geosciences/ School of Mathematical Sciences
> Monash University
> Clayton campus
> Rm 240, Building 28
> Monash University VIC 3800
> t: (+61 3) 9905 4317
> f: (+61 3) 9905 4403
> sergio.zlotnik at sci.monash.edu.au
> http://users.monash.edu.au/~szlotnik/<http://users.monash.edu.au/%7Eszlotnik/>
>
>


-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20090915/b8d6eb71/attachment.html>