Re: [MTT users] MTT Error on SLES11
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 [trivial Evaluating: Simple >> Running with [openmpi-1.2.8] / [1.2.8] / [openmpi-1.2.8] Found MPI details: [mpi details: open mpi] Using [mpi details: open mpi] with [MPI Install: openmpi-1.2.8] Evaluating: # We can exit if the test passed or was skipped (i.e., there's no need # to cleanup). if test "$MTT_TEST_RUN_RESULT" = "passed" -o "$MTT_TEST_RUN_RESULT" = "skipped"; then exit 0 fi if test "$MTT_TEST_HOSTFILE" != ""; then args="--hostfile $MTT_TEST_HOSTFILE" elif test "$MTT_TEST_HOSTLIST" != ""; then args="--host $MTT_TEST_HOSTLIST" fi orterun $args -np $MTT_TEST_NP --prefix $MTT_TEST_PREFIX mtt_ompi_cleanup.pl Got final exec: mpirun (_hostfile(), "("--hostfile ", "()")", "(_hostlist(), "("--host ", "()")", "")") -np _np() --mca btl openib,self --debug --prefix _prefix() _executable() _argv() chdir /tmp/ompi-core-testers/installs/dLS2/tests/trivial/test_get__trivial Evaluating: require MTT::Test::Specify::Simple Evaluating: $ret = ::Test::Specify::Simple::Specify(@args) Evaluating: _executables(".") Got name: find_executables Got args: "." _do: $ret = MTT::Values::Functions::find_executables(".") _executables got . _exectuables returning: ./c_ring ./f77_ring ./f90_hello ./cxx_ring ./f77_hello ./cxx_hello ./f90_ring ./c_hello *** ERROR: Module aborted: MTT::Test::Specify::Simple:Specify: Can't use string ("8") as an ARRAY ref while "strict refs" in use at /tmp/ompi-core-testers/lib/MTT/Values.pm line 75. On Wed, 2009-04-08 at 14:15 -0400, Ethan Mallove wrote: > 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 number of elements > > > > So this line is trying to count elements of the first element??! Doesn't > > make sense. Correct me if I am wrong, what am I missing here ? > > > > "if ($#{$ret} < 0) {" would be correct, without @. > > > > I believe "strict refs" has been forced somewhere on SLES11... I also > > tried on other distro and it works fine. > > How do perl -V differ between the two distros? > > I can not reproduce the error on a SLES 10 machine. > > Could you run MTT with the --debug option and send the output with the > line 75 perl error? That might help me determine which INI param is > responsible for the error. > > -Ethan > > > > > Thanks, > > > > Rafael > > > > On Tue, 2009-04-07 at 15:53 -0300, 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 an ARRAY ref while "strict refs" in use at > > > /tmp/ompi-core-testers/lib/MTT/Values.pm line 75. > > > > > > What I could see was that this error is nothing specific to any > > > particular test, it happens at certain points during the RUN phase. > > > Also, the BUILD phase has been completed successfully for all tests. > > > > > > Anybody have already seen this? Any thoughts ? > > > > > > Thanks in advance. > > > > > > Rafael > > > > > > > > > > -- > > Rafael Folco > > OpenHPC / Test Lead > > IBM Linux Technology Center > > E-Mail: rfo...@linux.vnet.ibm.com > > > > ___ > > mtt-users mailing list > > mtt-us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users -- Rafael Folco OpenHPC / Test Lead IBM Linux Technology Center E-Mail: rfo...@linux.vnet.ibm.com #== # Overall configuration #== [MTT] # OMPI Core: if you are not running in a scheduled environment and you # have a fixed hostfile for what nodes you'll be running on, fill in # the absolute pathname to it here. If you do not have a hostfile, # leave it empty. Example: # hostfile = /home/me/mtt-runs/mtt-hostfile # This file will be parsed and will automatically set a valid value # for _max_np() (it'll count the number of lines in the hostfile, # adding slots/cpu counts if it finds them). The "hostfile" value is # ignored if you are running in a recognized scheduled environment. hostfile = # OMPI Core: if you would rather list the hosts individually on the # mpirun command line, list hosts here delimited by whitespace (if you # have a hostfile listed above, this value will be
Re: [MTT users] MTT Error on SLES11
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 Message - From: mtt-users-boun...@open-mpi.orgTo: rfo...@linux.vnet.ibm.com ; General user list for the MPI Testing Tool Sent: Wed Apr 08 14:15:54 2009 Subject: Re: [MTT users] MTT Error on SLES11 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 number of elements > > So this line is trying to count elements of the first element??! Doesn't > make sense. Correct me if I am wrong, what am I missing here ? > > "if ($#{$ret} < 0) {" would be correct, without @. > > I believe "strict refs" has been forced somewhere on SLES11... I also > tried on other distro and it works fine. How do perl -V differ between the two distros? I can not reproduce the error on a SLES 10 machine. Could you run MTT with the --debug option and send the output with the line 75 perl error? That might help me determine which INI param is responsible for the error. -Ethan > > Thanks, > > Rafael > > On Tue, 2009-04-07 at 15:53 -0300, 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 an ARRAY ref while "strict refs" in use at > > /tmp/ompi-core-testers/lib/MTT/Values.pm line 75. > > > > What I could see was that this error is nothing specific to any > > particular test, it happens at certain points during the RUN phase. > > Also, the BUILD phase has been completed successfully for all tests. > > > > Anybody have already seen this? Any thoughts ? > > > > Thanks in advance. > > > > Rafael > > > > > > -- > Rafael Folco > OpenHPC / Test Lead > IBM Linux Technology Center > E-Mail: rfo...@linux.vnet.ibm.com > > ___ > mtt-users mailing list > mtt-us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users ___ mtt-users mailing list mtt-us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
Re: [MTT users] MTT Error on SLES11
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 number of elements > > So this line is trying to count elements of the first element??! Doesn't > make sense. Correct me if I am wrong, what am I missing here ? > > "if ($#{$ret} < 0) {" would be correct, without @. > > I believe "strict refs" has been forced somewhere on SLES11... I also > tried on other distro and it works fine. How do perl -V differ between the two distros? I can not reproduce the error on a SLES 10 machine. Could you run MTT with the --debug option and send the output with the line 75 perl error? That might help me determine which INI param is responsible for the error. -Ethan > > Thanks, > > Rafael > > On Tue, 2009-04-07 at 15:53 -0300, 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 an ARRAY ref while "strict refs" in use at > > /tmp/ompi-core-testers/lib/MTT/Values.pm line 75. > > > > What I could see was that this error is nothing specific to any > > particular test, it happens at certain points during the RUN phase. > > Also, the BUILD phase has been completed successfully for all tests. > > > > Anybody have already seen this? Any thoughts ? > > > > Thanks in advance. > > > > Rafael > > > > > > -- > Rafael Folco > OpenHPC / Test Lead > IBM Linux Technology Center > E-Mail: rfo...@linux.vnet.ibm.com > > ___ > mtt-users mailing list > mtt-us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
Re: [MTT users] MTT Error on SLES11
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 element??! Doesn't make sense. Correct me if I am wrong, what am I missing here ? "if ($#{$ret} < 0) {" would be correct, without @. I believe "strict refs" has been forced somewhere on SLES11... I also tried on other distro and it works fine. Thanks, Rafael On Tue, 2009-04-07 at 15:53 -0300, 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 an ARRAY ref while "strict refs" in use at > /tmp/ompi-core-testers/lib/MTT/Values.pm line 75. > > What I could see was that this error is nothing specific to any > particular test, it happens at certain points during the RUN phase. > Also, the BUILD phase has been completed successfully for all tests. > > Anybody have already seen this? Any thoughts ? > > Thanks in advance. > > Rafael > > -- Rafael Folco OpenHPC / Test Lead IBM Linux Technology Center E-Mail: rfo...@linux.vnet.ibm.com