Disable Warning information

12 views
Skip to first unread message

larryh...@gmail.com

unread,
Jun 21, 2017, 1:11:13 PM6/21/17
to QUESO-users mailing list
Hi,

For some reason, I use the remote connection to run QUESO program on a cluster. The program produces lots of text message like this:

WARNING In Algorithm<V,M>::alpha(x,y), worldRank 13, fullRank 13, subEnvironment 13, subRank 0, inter0Rank 13: y.logTarget() = -nan, x.values() = 2.27419 0.295273 2.73792 1.00725 1.32158 , y.values() = 2.25812 0.0333117 2.95789 1.05869 0.946922 
WARNING In MetropolisHastingsSG<P_V,P_M>::alpha(vec), worldRank 2, fullRank 2, subEnvironment 2, subRank 0, inter0Rank 2, positionId = 2689, stageId = 1: inputSize = 2, inputPositionsData[inputSize - 1]->logTarget() = -nan, [0]->values() = 2.37597 0.453559 1.76072 0.982073 1.39194 , [inputSize - 1]->values() = 2.33418 0.0901451 1.78749 1.03637 0.906743 
WARNING In MetropolisHastingsSG<P_V,P_M>::alpha(vec), worldRank 2, fullRank 2, subEnvironment 2, subRank 0, inter0Rank 2, positionId = 2689, stageId = 1: inputSize = 2, inputPositionsData[inputSize - 1]->logTarget() = -nan, [0]->values() = 2.37323 0.41491 1.76344 0.98628 1.36673 , [inputSize - 1]->values() = 2.33418 0.0901451 1.78749 1.03637 0.906743 
WARNING In MetropolisHastingsSG<P_V,P_M>::alpha(vec), worldRank 13, fullRank 13, subEnvironment 13, subRank 0, inter0Rank 13, positionId = 2706, stageId = 1: inputSize = 2, inputPositionsData[inputSize - 1]->logTarget() = -nan, [0]->values() = 2.27357 0.230773 2.77661 1.0064 1.28709 , [inputSize - 1]->values() = 2.25812 0.0333117 2.95789 1.05869 0.946922 
WARNING In MetropolisHastingsSG<P_V,P_M>::alpha(vec), worldRank 13, fullRank 13, subEnvironment 13, subRank 0, inter0Rank 13, positionId = 2706, stageId = 1: inputSize = 2, inputPositionsData[inputSize - 1]->logTarget() = -nan, [0]->values() = 2.27419 0.295273 2.73792 1.00725 1.32158 , [inputSize - 1]->values() = 2.25812 0.0333117 2.95789 1.05869 0.946922 
WARNING In Algorithm<V,M>::alpha(x,y), worldRank 8, fullRank 8, subEnvironment 8, subRank 0, inter0Rank 8: y.logTarget() = -nan, x.values() = 2.30758 0.118578 1.95847 1.03928 1.22619 , y.values() = 2.24293 0.0911618 2.34782 1.08867 0.666791 


My chain length is very long so the buffer becomes full and the program does not continue anymore. Is there any way to disable such message?

Thank you very much.
Han

Damon McDougall

unread,
Jul 20, 2017, 2:31:55 PM7/20/17
to larryh...@gmail.com, QUESO-users mailing list
Hi Larry,

The reason that text is produced is because there is something wrong.

The message tells you that at this point:

2.25812 0.0333117 2.95789 1.05869 0.946922

Your posterior distribution is NaN. It's not clear to me whether this
is a QUESO bug or a user-level bug. The solution is to fix what the
problem is, not turn off the messages.

With that said, you can redirect stderr output to a file if you like:

$ my_executable 2> some_file

Hope that helps,
Damon
> --
> You received this message because you are subscribed to the Google Groups
> "QUESO-users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to queso-users...@googlegroups.com.
> Visit this group at https://groups.google.com/group/queso-users.
> For more options, visit https://groups.google.com/d/optout.


--
Damon McDougall
http://dmcdougall.co.uk
Institute for Computational Engineering Sciences
201 E. 24th St., Stop C0200
The University of Texas at Austin
Austin, TX 78712-1229
Reply all
Reply to author
Forward
0 new messages