It is odd that a "require" failed like this in the Test Run phase. I would have expected an earlier "require" to fail (e.g., in the MPI Install phase). I've never run MTT as root before. Does root have read-access to Specify/Simple.pm? If not, can you do the below command in the top-level MTT directory?
$ chmod -R a+r ./lib FWIW, I was able to get a simple "require" to fail by tweaking read permissions: $ echo "package Foo; 1;" > Foo.pm $ perl -e 'require Foo;' $ ls -l Foo.pm -rw-r--r-- 1 em162155 staff 16 May 12 10:29 Foo.pm Remove read permissions: $ chmod a-r Foo.pm Can't locate Foo.pm in @INC (@INC contains: /ws/ompi-tools/lib/perl5/5.8.8 /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at -e line 1. BEGIN failed--compilation aborted at -e line 1. -Ethan On Sun, May/11/2008 02:57:15PM, Wen Hao Wang wrote: > Hi all: > > I run MTT on RHEL5.2 Server of x86_32 arch. Only four lines were changed > in the samples/ompi-core-template.ini: > > #mttdatabase_url = https://www.open-mpi.org/mtt/submit/ > mttdatabase_username = <my_user> > mttdatabase_password = <my_password> > mttdatabase_platform = <my_platform> > > The script run for about one hour and aborted, saying error to require > MTT::Test::Specify::Simple. Does anyone have comments? Thanks in advance! > Moreover, does MTT has log for its execution? > > [root@valiant MTT]# client/mtt --trial -d --force -f > samples/ompi-core-template.ini > ... > >> Running with [ompi-nightly-v1.2] / [1.2.7a0r18267] / [gcc warnings] > Found MPI details: [mpi details: open mpi] > Using [mpi details: open mpi] with [MPI Install: gcc warnings] > 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 &if(&have_hostfile(), "&join("--hostfile ", > "&hostfile()")", "&if(&have_hostlist(), "&join("--host ", > "&hostlist()")", "")") -np &test_np() &enumerate( "--mca btl > sm,tcp,self&if(&eq("&mpi_get_name()", "ompi-nightly-v1.1"), " > --mca btl_tcp_if_include eth0 --mca oob_tcp_if_include eth0 --mca > btl_openib_max_btls 1", "")", "--mca btl > tcp,self&if(&eq("&mpi_get_name()", "ompi-nightly-v1.1"), " --mca > btl_tcp_if_include eth0 --mca oob_tcp_if_include eth0 --mca > btl_openib_max_btls 1", "")") --prefix &test_prefix() &test_executable() > &test_argv() > chdir /LTC/MTT/installs/AYrM/tests/onesided/onesided > Evaluating: require MTT::Test::Specify::Simple > Simple > *** ERROR: Module aborted during require: MTT::Test::Specify::Simple > Simple: syntax error at (eval 45608) line 4, near "require > MTT::Test::Specify::Simple > Simple > " > [root@valiant MTT]# echo $? > 25 > [root@valiant MTT]# find . -name Simple.pm > ./lib/MTT/Test/Specify/Simple.pm > > Wen Hao Wang > Email: wangw...@cn.ibm.com > > References > > Visible links > . https://www.open-mpi.org/mtt/submit/ > _______________________________________________ > mtt-users mailing list > mtt-us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users