[petsc-users] petsc 3.5.3, Time Stepping, printing -help, bug

Lukasz Kaczmarczyk Lukasz.Kaczmarczyk at glasgow.ac.uk
Sat Mar 7 07:28:23 CST 2015


Hello, 

Printing -help I get following error. I believe that bug is here,

[0]PETSC ERROR: #4 PetscOptionsRealArray_Private() line 1306 in /opt/petsc/src/sys/objects/aoptions.c
ierr = (*PetscHelpPrintf)(PetscOptionsObject->comm,"  -%s%s <%G",PetscOptionsObject->prefix?PetscOptionsObject->prefix:"",opt+1,value[0]);CHKERRQ(ierr); 

My git commit:
git rev-parse HEAD
ee900cc92187a7889ca4f268c65f36fb91826ff2

Pleas see following error trial:

[0]PETSC ERROR: No support for this operation for this object type
[0]PETSC ERROR: %G format is no longer supported, use %g and cast the argument to double
[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[0]PETSC ERROR: Petsc Development GIT revision: v3.5.3-1524-gee900cc  GIT Date: 2015-01-31 17:44:15 -0600
[0]PETSC ERROR: /mofem_build/um_debug/nonlinear_elasticity/nonlinear_dynamics on a arch-linux2-c-debug named likask by root Sat Mar  7 13:07:58 2015
[0]PETSC ERROR: Configure options --with-mpi=1 --with-debugging=1 --download-superlu_dist=1 --download-metis=1 --download-parmetis=1 --download-hypre=1 --download-mumps=1 --download-scalapack=1 --download-zoltan=1 --download-blacs=1 --download-moab = 1 --download-ptscotch=1 --with-hdf5=1 --with-hdf5-dir=/usr --download-netcdf=1 --with-shared-libraries=1
[0]PETSC ERROR: #1 PetscFormatConvert() line 67 in /opt/petsc/src/sys/fileio/mprint.c
[0]PETSC ERROR: #2 PetscVFPrintfDefault() line 192 in /opt/petsc/src/sys/fileio/mprint.c
[0]PETSC ERROR: #3 PetscHelpPrintfDefault() line 601 in /opt/petsc/src/sys/fileio/mprint.c
[0]PETSC ERROR: #4 PetscOptionsRealArray_Private() line 1306 in /opt/petsc/src/sys/objects/aoptions.c
[0]PETSC ERROR: #5 TSAdaptSetFromOptions_Basic() line 83 in /opt/petsc/src/ts/adapt/impls/basic/adaptbasic.c
[0]PETSC ERROR: #6 TSAdaptSetFromOptions() line 392 in /opt/petsc/src/ts/adapt/interface/tsadapt.c
[0]PETSC ERROR: #7 TSSetFromOptions() line 332 in /opt/petsc/src/ts/interface/ts.c
[0]PETSC ERROR: #8 main() line 579 in /mnt/home/MyBuild/mofem-cephas/mofem_v0.2/users_modules/nonlinear_elasticity/nonlinear_dynamics.cpp

[0]PETSC ERROR: PETSc Option Table entries:
[0]PETSC ERROR: -help
[0]PETSC ERROR: -ksp_atol 1e-10
[0]PETSC ERROR: -ksp_rtol 1e-10
[0]PETSC ERROR: -ksp_type fgmres
[0]PETSC ERROR: -my_disp_order 3
[0]PETSC ERROR: -my_file LShape.cub
[0]PETSC ERROR: -my_max_post_proc_ref_level 0
[0]PETSC ERROR: -my_output_prt 1
[0]PETSC ERROR: -my_time_data_file data.txt
[0]PETSC ERROR: -my_vel_order 3
[0]PETSC ERROR: -pc_factor_mat_solver_package superlu_dist
[0]PETSC ERROR: -pc_type lu
[0]PETSC ERROR: -snes_atol 1e-7
[0]PETSC ERROR: -snes_linesearch_type basic
[0]PETSC ERROR: -snes_max_it 100
[0]PETSC ERROR: -snes_monitor
[0]PETSC ERROR: -snes_rtol 1e-7
[0]PETSC ERROR: -snes_type newtonls
[0]PETSC ERROR: -ts_dt 0.001
[0]PETSC ERROR: -ts_final_time 0.002
[0]PETSC ERROR: -ts_monitor
[0]PETSC ERROR: -ts_type beuler


Kind regards,
Lukasz


Lukasz Kaczmarczyk

"Prediction is very difficult, especially about the future." -- Niels Bohr
"... there are dark corners in the Bourne shell, and people use all of them." --Chet Ramey

HomePage:
http://www.gla.ac.uk/schools/engineering/staff/lukaszkaczmarczyk/

MoFEM JosePH (Finite Element System) 
* https://en.wikipedia.org/wiki/MoFEM_JosePH
* https://bitbucket.org/likask/mofem-joseph/wiki/Home





More information about the petsc-users mailing list