Looks to me like your example ran fine --- that is the output you are supposed to get.
I guess you're worried about the warning message: WARNING! There are options you set that were not used! WARNING! could be spelling mistake, etc! Option left: name:-d value: 3 Option left: name:-n value: 8 ? That message is printed out by PETSc, but it's nothing to worry about. PETSc reads in options from the command line, and it's telling you that it doesn't understand the flags -n and -d. But in this case, those flags have nothing to do with PETSc --- they're just being used in ex4.C to set up the mesh --- so it's no problem. Dave On 03/21/2011 04:01 AM, Bao Kai wrote: > Sorry to post wrong information on my last message. I missed the number 3. > > I tried to run the example 4 by inputting > > ./ex4-opt -d* 3 *- n 8 > > I got > > Running ./ex4-opt -d 3 -n 8 > > Mesh Information: > mesh_dimension()=3 > spatial_dimension()=3 > n_nodes()=4913 > n_local_nodes()=4913 > n_elem()=512 > n_local_elem()=512 > n_active_elem()=512 > n_subdomains()=1 > n_processors()=1 > processor_id()=0 > > EquationSystems > n_systems()=1 > System "Poisson" > Type "LinearImplicit" > Variables="u" > Finite Element Types="LAGRANGE" > Approximation Orders="SECOND" > n_dofs()=4913 > n_local_dofs()=4913 > n_constrained_dofs()=0 > n_vectors()=1 > > Mesh Information: > mesh_dimension()=3 > spatial_dimension()=3 > n_nodes()=4913 > n_local_nodes()=4913 > n_elem()=512 > n_local_elem()=512 > n_active_elem()=512 > n_subdomains()=1 > n_processors()=1 > processor_id()=0 > > > ------------------------------------------------------------------- > | Time: Mon Mar 21 16:00:02 2011 | > | OS: Linux | > | HostName: localhost.localdomain | > | OS Release: 2.6.35.6-45.fc14.x86_64 | > | OS Version: #1 SMP Mon Oct 18 23:57:44 UTC 2010 | > | Machine: x86_64 | > | Username: paean | > | Configuration: ./configure run on Mon Mar 21 15:25:04 HKT 2011 | > ------------------------------------------------------------------- > > ----------------------------------------------------------------------------------------------------------- > | Matrix Assembly Performance: Alive time=0.137877, Active > time=0.13637 | > > ----------------------------------------------------------------------------------------------------------- > | Event nCalls Total Time Avg Time Total > Time Avg Time % of Active Time | > | w/o Sub w/o Sub With > Sub With Sub w/o S With S | > |-----------------------------------------------------------------------------------------------------------| > | > | > | BCs 512 0.0551 0.000108 > 0.0551 0.000108 40.41 40.41 | > | Fe 512 0.0092 0.000018 > 0.0092 0.000018 6.77 6.77 | > | Ke 512 0.0308 0.000060 > 0.0308 0.000060 22.61 22.61 | > | elem init 512 0.0107 0.000021 > 0.0107 0.000021 7.86 7.86 | > | matrix insertion 512 0.0305 0.000060 > 0.0305 0.000060 22.35 22.35 | > > ----------------------------------------------------------------------------------------------------------- > | Totals: 2560 > 0.1364 100.00 | > > ----------------------------------------------------------------------------------------------------------- > > *WARNING! There are options you set that were not used! > WARNING! could be spelling mistake, etc! > Option left: name:-d value: 3 > Option left: name:-n value: 8* > > > On Mon, Mar 21, 2011 at 3:52 PM, Bao Kai<[email protected]> wrote: > >> Dear all, >> >> I have just compiled libmesh under my Fedora 14. >> >> The version of mpich is mpich2-1.3.2p1 >> The version of petsc is petsc-3.1-p8 >> >> When I tried to run the examples 4 by inputting >> >> ./ex4-opt -d -n 8 >> >> I got the following message. >> >> Running ./ex4-opt -d -n 8 >> >> Mesh Information: >> mesh_dimension()=2 >> spatial_dimension()=3 >> n_nodes()=289 >> n_local_nodes()=289 >> n_elem()=64 >> n_local_elem()=64 >> n_active_elem()=64 >> n_subdomains()=1 >> n_processors()=1 >> processor_id()=0 >> >> EquationSystems >> n_systems()=1 >> System "Poisson" >> Type "LinearImplicit" >> Variables="u" >> Finite Element Types="LAGRANGE" >> Approximation Orders="SECOND" >> n_dofs()=289 >> n_local_dofs()=289 >> n_constrained_dofs()=0 >> n_vectors()=1 >> >> Mesh Information: >> mesh_dimension()=2 >> spatial_dimension()=3 >> n_nodes()=289 >> n_local_nodes()=289 >> n_elem()=64 >> n_local_elem()=64 >> n_active_elem()=64 >> n_subdomains()=1 >> n_processors()=1 >> processor_id()=0 >> >> >> ------------------------------------------------------------------- >> | Time: Mon Mar 21 15:50:58 2011 | >> | OS: Linux | >> | HostName: localhost.localdomain | >> | OS Release: 2.6.35.6-45.fc14.x86_64 | >> | OS Version: #1 SMP Mon Oct 18 23:57:44 UTC 2010 | >> | Machine: x86_64 | >> | Username: paean | >> | Configuration: ./configure run on Mon Mar 21 15:25:04 HKT 2011 | >> ------------------------------------------------------------------- >> >> >> ----------------------------------------------------------------------------------------------------------- >> | Matrix Assembly Performance: Alive time=0.002045, Active >> time=0.001746 | >> >> >> ----------------------------------------------------------------------------------------------------------- >> | Event nCalls Total Time Avg Time Total >> Time Avg Time % of Active Time | >> | w/o Sub w/o Sub With >> Sub With Sub w/o S With S | >> >> |-----------------------------------------------------------------------------------------------------------| >> | >> | >> | BCs 64 0.0006 0.000010 >> 0.0006 0.000010 35.11 35.11 | >> | Fe 64 0.0003 0.000005 >> 0.0003 0.000005 17.98 17.98 | >> | Ke 64 0.0002 0.000003 >> 0.0002 0.000003 9.85 9.85 | >> | elem init 64 0.0003 0.000004 >> 0.0003 0.000004 14.43 14.43 | >> | matrix insertion 64 0.0004 0.000006 >> 0.0004 0.000006 22.62 22.62 | >> >> >> ----------------------------------------------------------------------------------------------------------- >> | Totals: 320 >> 0.0017 100.00 | >> >> >> ----------------------------------------------------------------------------------------------------------- >> >> *WARNING! There are options you set that were not used! >> WARNING! could be spelling mistake, etc! >> Option left: name:-d no value >> Option left: name:-n value: 8* >> >> >> Could you please tell me what is going wrong. Thank you very much. >> >> Best Regards, >> Kai >> > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Libmesh-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libmesh-users ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
