MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Set::pspec error in parallelized loop in Unix

  • To: mathgroup at
  • Subject: [mg113750] Set::pspec error in parallelized loop in Unix
  • From: Magbenji <ben.ridenhour at>
  • Date: Wed, 10 Nov 2010 06:29:33 -0500 (EST)


I've run into a bit of a snag using the built-in parallelized
functions in the Unix environment. If you do something like:

test = Table[Null,{i,100}];

Mathematica (in Unix) then complains and gives Set::pspec errors,

Set::pspec: Part specification i is neither an integer nor a list of

When I do this on my Mac, I get no problems or errors. Any ideas why
I'm getting problems assigning test[[i]] with ParallelDo in Unix and
not in Mac??? And more importantly how can I fix this? (I need to run
large jobs on the Unix cluster...)

Thanks in advance!

  • Prev by Date: Re: pure function
  • Next by Date: Re: Default Value for SetterBar
  • Previous by thread: Address to the Mathematica-users Wiki Homepage
  • Next by thread: Re: issue with LinearSolve[] when using SparseArray