On Tue, Apr/07/2009 03:53:48PM, Rafael Folco wrote:
> Hi,
>
> I'm trying to run MTT on SLES11, but I am getting an error message
> during the RUN phase and I can't figure out what is the problem.
>
> *** ERROR: Module aborted: MTT::Test::Specify::Simple:Specify: Can't use
> string ("183") as
Well, I took a look at /tmp/ompi-core-testers/lib/MTT/Values.pm line 75.
This piece of code looks wrong to me:
if ($#{@$ret} < 0) {
$ret references an array
@$ret points to the first element of this array
$# returns the number of elements
So this line is trying to count elements of the first e
I just forgot to mention that removing @ from "if ($#{@$ret} < 0) {" it
worked fine.
On Wed, 2009-04-08 at 11:36 -0300, Rafael Folco wrote:
> Well, I took a look at /tmp/ompi-core-testers/lib/MTT/Values.pm line 75.
>
> This piece of code looks wrong to me:
>
> if ($#{@$ret} < 0) {
>
> $ret
On Wed, Apr/08/2009 11:51:31AM, Rafael Folco wrote:
>
> I just forgot to mention that removing @ from "if ($#{@$ret} < 0) {" it
> worked fine.
>
That might be masking a problem in your INI file, but it is hard to
know for sure without seeing your INI file.
> On Wed, 2009-04-08 at 11:36 -0300,
On Wed, Apr/08/2009 11:36:05AM, Rafael Folco wrote:
> Well, I took a look at /tmp/ompi-core-testers/lib/MTT/Values.pm line 75.
>
> This piece of code looks wrong to me:
>
> if ($#{@$ret} < 0) {
>
> $ret references an array
> @$ret points to the first element of this array
> $# returns the numbe
Btw, I agree w ethan: the syntax looks good to me. @ tells how to cast the
reference; it doesn't dereference to get the first element.
But we need to see your ini file to be sure (I don't have the mtt code here w
me to check it for sure).
-jms
Sent from my PDA. No type good.
- Original
Ethan, Jeff,
Sorry for the perl confusion, nevermind...
Below is attached the log and ini files, and also how I run MTT.
Thanks,
Rafael
client/mtt -d -v -p -f openmpi.ini 2>&1 |tee test.log
...
*** Run test phase starting
>> Test run [trivial]
Evaluating: trivial
Found a match! trivial [tr