The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Confusing spmd error
Replies: 3   Last Post: Jan 9, 2013 12:34 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 95
Registered: 2/23/10
Confusing spmd error
Posted: Jan 8, 2013 10:49 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a function that is giving me an error when called within spmd but I can't repeat it outside. e.g:

x = <something>;
if labindex == 1
y = <something>
z = function(x,y);

Gives me an error inside the function, but when I try to debug like this:

z = function(x,y{1})

It runs through just fine. This makes debugging very difficult. Anyone have any idea of what would cause it not to run exactly the same way in each case?

The error is nothing parallel related by the way, it's actually a singular matrix warning.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.