Hmm.  This is trunk, I assume?  If so, Values.pm:107 is:

----
        my $ret = _eval_func($func_name, $func_args);

        # If we got a string back, append the remaining and loop
        # around looking for more &funclets.
-->     if (ref($ret) eq "") {
-----

So it's the return of evaluating the function.

Your output says ">>> Using group_reports" , but I don't see a "group_reports" 
in mini.ini...?

I think what I would do here is try to figure out what function it was trying 
to invoke -- perhaps something returned undef instead of a value...?  If so, 
perhaps we should protect that if statement if a check to see if $ret is 
defined...?


On Jan 27, 2010, at 4:36 AM, Mike Dubman wrote:

> 
> 
> Hello guys,
> 
> 
> mtt fails on sles11up2 with perl version 5.10.0 but works on other distros as 
> a charm.
> 
> The same minimalistic ini file which works on other distro`s fails on sles 
> with error:
> 
> >> Test Run [osu]
> >> Running with [open mpi] / [1.3.3] / [openmpi]
>    Using MPI Details [open mpi] with MPI Install [openmpi]
> >>> Using group_reports
> Can't use string ("2") as an ARRAY ref while "strict refs" in use at 
> /hpc/home/USERS/mttuserqa/work/svn/ompi/mtt/trunk/lib/MTT/Values.pm line 107.
> 
> Do you have any ideas what it may be?
> 
> P.S. mini.ini is attached.
> <mini.ini>_______________________________________________
> mtt-devel mailing list
> mtt-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel


-- 
Jeff Squyres
jsquy...@cisco.com


Reply via email to