Hi all,

I made my RB model based on reduced_basis_ex5, and tried running it in
parallel by

mpirun -np 4 ./beam_3d-opt -ksp_type cg -online_mode 0

But then the log showed me that my code just run 4 times (literally every
message printed out 4 times) as shown below.  I tested the example, ex5,
with the same option, but it worked fine.  I'm not sure which part I made a
mistake since my code is based on the ex5 (even the makefile).  I'd
appreciate any advice to fix the problem.

Regards,
K. Lee.


Here is the log:

l$ mpirun -np 4 ./beam_3d-opt -ksp_type cg -online_mode 0
*** Warning, This code is untested, experimental, or likely to see future
API changes: src/reduced_basis/rb_parametrized.C, line 40, compiled Sep 11
2012 at 08:16:31 ***
*** Warning, This code is untested, experimental, or likely to see future
API changes: src/reduced_basis/rb_parametrized.C, line 40, compiled Sep 11
2012 at 08:16:31 ***
*** Warning, This code is untested, experimental, or likely to see future
API changes: src/reduced_basis/rb_parametrized.C, line 40, compiled Sep 11
2012 at 08:16:31 ***
*** Warning, This code is untested, experimental, or likely to see future
API changes: src/reduced_basis/rb_parametrized.C, line 40, compiled Sep 11
2012 at 08:16:31 ***

......

E: 1
load_Fx: 0
load_Fy: 0.1
load_Fz: 0
nu: 0.3

E: 1
load_Fx: 0
load_Fy: 0.1
load_Fz: 0
nu: 0.3

E: 1
load_Fx: 0
load_Fy: 0.1
load_Fz: 0
nu: 0.3

E: 1
load_Fx: 0
load_Fy: 0.1
load_Fz: 0
nu: 0.3

truth output[0] = -2.693489e-03
truth output[1] =  3.450762e+02
truth output[2] =  7.165310e-01
Compute output dual norms
truth output[0] = -2.693489e-03
truth output[1] =  3.450762e+02
truth output[2] =  7.165310e-01
Compute output dual norms
truth output[0] = -2.693489e-03
truth output[1] =  3.450762e+02
truth output[2] =  7.165310e-01
Compute output dual norms
truth output[0] = -2.693489e-03
truth output[1] =  3.450762e+02
truth output[2] =  7.165310e-01
Compute output dual norms
output_dual_innerprods[0][0] = 1.422632e+01
output_dual_innerprods[0][0] = 1.422632e+01
output_dual_innerprods[0][0] = 1.422632e+01
output_dual_innerprods[0][0] = 1.422632e+01
output_dual_innerprods[1][0] = 4.929660e+03
output_dual_innerprods[1][0] = 4.929660e+03
output_dual_innerprods[1][0] = 4.929660e+03
output_dual_innerprods[1][0] = 4.929660e+03
output_dual_innerprods[2][0] = 5.085329e+03
output_dual_innerprods[2][0] = 5.085329e+03
output_dual_innerprods[2][0] = 5.085329e+03
output_dual_innerprods[2][0] = 5.085329e+03

---- Performing Greedy basis enrichment ----

---- Basis dimension: 0 ----
Performing RB solves on training set
Maximum (relative) error bound is inf

Performing truth solve at parameter:
E: 0.551508
load_Fx: 0.223213
load_Fy: -0.450231
load_Fz: -0.39237
nu: 0.358464


---- Performing Greedy basis enrichment ----

---- Basis dimension: 0 ----
Performing RB solves on training set
Maximum (relative) error bound is inf

Performing truth solve at parameter:
E: 0.551508
load_Fx: 0.223213
load_Fy: -0.450231
load_Fz: -0.39237
nu: 0.358464


---- Performing Greedy basis enrichment ----

---- Basis dimension: 0 ----
Performing RB solves on training set
Maximum (relative) error bound is inf

Performing truth solve at parameter:
E: 0.551508
load_Fx: 0.223213
load_Fy: -0.450231
load_Fz: -0.39237
nu: 0.358464


---- Performing Greedy basis enrichment ----

---- Basis dimension: 0 ----
Performing RB solves on training set
Maximum (relative) error bound is inf

Performing truth solve at parameter:
E: 0.551508
load_Fx: 0.223213
load_Fy: -0.450231
load_Fz: -0.39237
nu: 0.358464

Enriching the RB space
Updating RB matrices
Updating RB residual terms
Enriching the RB space
Updating RB matrices
Updating RB residual terms
Enriching the RB space
Updating RB matrices
Updating RB residual terms
Enriching the RB space
Updating RB matrices
Updating RB residual terms

---- Basis dimension: 1 ----
Performing RB solves on training set
Maximum (relative) error bound is 3.307051e+04

Maximum number of basis functions reached: Nmax = 1
WARNING! There are options you set that were not used!
WARNING! could be spelling mistake, etc!
Option left: name:-online_mode value: 0

---- Basis dimension: 1 ----
Performing RB solves on training set
Maximum (relative) error bound is 3.307051e+04

Maximum number of basis functions reached: Nmax = 1
WARNING! There are options you set that were not used!
WARNING! could be spelling mistake, etc!
Option left: name:-online_mode value: 0

---- Basis dimension: 1 ----
Performing RB solves on training set
Maximum (relative) error bound is 3.307051e+04

Maximum number of basis functions reached: Nmax = 1

---- Basis dimension: 1 ----
Performing RB solves on training set
Maximum (relative) error bound is 3.307051e+04

Maximum number of basis functions reached: Nmax = 1
WARNING! There are options you set that were not used!
WARNING! could be spelling mistake, etc!
Option left: name:-online_mode value: 0
WARNING! There are options you set that were not used!
WARNING! could be spelling mistake, etc!
Option left: name:-online_mode value: 0
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to