Dear Marcos, Thanks for your interest in CloudSuite and welcome to our mailing list.
Regarding the Analyitics benchmark, I can see that you made some small mistakes.In your first example, you didn't execute the whole command: $MAHOUT_HOME/bin/mahout wikipediaXMLSplitter -d $MAHOUT_HOME/examples/temp/enwiki-latest-pages-articles.xml -o wikipedia/chunks -c 64 The wikipediaXMLSplitter class requires input and output files to be defined, as well as the rest of the options. I see that you actually split the command into two: 1. $MAHOUT_HOME/bin/mahout wikipediaXMLSplitter -d 2. $MAHOUT_HOME/examples/temp/enwiki-latest-pages-articles.xml -o wikipedia/chunks -c 64 None of the above is valid command, that's why you got errors. Please try executing the full command. Also, $MAHOUT_HOME is a link to your Mahout installation folder. Make sure the variable is defined. If not, you can execute the command directly from the installation folder, but then you would need to remove "$MAHOUT_HOME /" from the command. Regarding the Software testing questions, I will assume that you have precisely followed the guide up to the step "2. Building KLEE - Run make". In order to help you I would require some knowledge of your baseline. I´m interested in: - 64 or 32 bits OS - gcc version - linker and assembler version Regards, Djordje and Javier ________________________________________ From: Marcos Cilleruelo Alonso [[email protected]] Sent: Thursday, August 09, 2012 11:33 AM To: [email protected] Subject: [cloudsuite] Errors installing Cloud Suite Hello, I'm a student of computer science at Politecnic University of Catalonia (UPC). I'm trying to do some benchmark experiments with Cloud Suite but I had some issues during the installation of some components. I try the installation on a virtual machine with Ubuntu 10.04 OS (x86) and I had no clue that what can I do for resolve them. During the Testing of Data Analytics, when I execute de command $MAHOUT_HOME/bin/mahout wikipediaXMLSplitter -d I receive this errors marcos@marcos-UBUNTUPFC10:/usr/local/mahout-distribution-0.6/bin$ $MAHOUT_HOME/bin/mahout wikipediaXMLSplitter -d MAHOUT_LOCAL is not set; adding HADOOP_CONF_DIR to classpath. Running on hadoop, using HADOOP_HOME=/usr/local/hadoop-0.20.2/ No HADOOP_CONF_DIR set, using /usr/local/hadoop-0.20.2//conf MAHOUT-JOB: /usr/local/mahout-distribution-0.6/examples/target/mahout-examples-0.6-job.jar 12/08/09 11:11:13 WARN driver.MahoutDriver: No wikipediaXMLSplitter.props found on classpath, will use command-line arguments only 12/08/09 11:11:14 ERROR bayes.WikipediaXmlSplitter: Error while parsing options org.apache.commons.cli2.OptionException: Missing value(s) --dumpFile at org.apache.commons.cli2.option.ArgumentImpl.validate(ArgumentImpl.java:241) at org.apache.commons.cli2.option.ParentImpl.validate(ParentImpl.java:124) at org.apache.commons.cli2.option.DefaultOption.validate(DefaultOption.java:176) at org.apache.commons.cli2.option.GroupImpl.validate(GroupImpl.java:265) at org.apache.commons.cli2.commandline.Parser.parse(Parser.java:104) at org.apache.mahout.classifier.bayes.WikipediaXmlSplitter.main(WikipediaXmlSplitter.java:122) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.hadoop.util.RunJar.main(RunJar.java:156) Usage: [--dumpFile <dumpFile> --outputDir <outputDir> --chunkSize <chunkSize> --numChunks <numChunks> --s3ID <s3Id> --s3Secret <s3Secret>] Options --dumpFile (-d) dumpFile The path to the wikipedia dump file (.bz2 or uncompressed) --outputDir (-o) outputDir The output directory to place the splits in: local files: /var/data/wikipedia-xml-chunks or file:///var/data/wikipedia-xml-chunks Hadoop DFS: hdfs://wikipedia-xml-chunks AWS S3 (blocks): s3://bucket-name/wikipedia-xml-chunks AWS S3 (native files): s3n://bucket-name/wikipedia-xml-chunks --chunkSize (-c) chunkSize The Size of the chunk, in megabytes --numChunks (-n) numChunks The maximum number of chunks to create. If specified, program will only create a subset of the chunks --s3ID (-i) s3Id Amazon S3 ID key --s3Secret (-s) s3Secret Amazon S3 secret key 12/08/09 11:11:14 INFO driver.MahoutDriver: Program took 18 ms (Minutes: 3.1666666666666665E-4) And when I execute $MAHOUT_HOME/examples/temp/enwiki-latest-pages-articles.xml -o wikipedia/chunks -c 64 I receive: marcos@marcos-UBUNTUPFC10:/usr/local/mahout-distribution-0.6/bin$ $MAHOUT_HOME/examples/temp/enwiki-latest-pages-articles.xml -o wikipedia/chunks -c 64 /usr/local/mahout-distribution-0.6//examples/temp/enwiki-latest-pages-articles.xml: línea 1: error sintáctico cerca del elemento inesperado `newline' /usr/local/mahout-distribution-0.6//examples/temp/enwiki-latest-pages-articles.xml: línea 1: `<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.6/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.6/ http://www.mediawiki.org/xml/export-0.6.xsd" version="0.6" xml:lang="en">' During the installing of Software Testing, I install all necesary packages (gnu g++,dejagnu,flex,bison,protobuf-compiler,libprotobuf-dev,libboost-thread-dev,libboost-system-dev,python-argparse), and after I builded llvm-2.9 (Included in the cloud9 package) I receive some errors when I build KLEE C. When I execute make I receive this errors: marcos@marcos-UBUNTUPFC10:/usr/local/klee-c9-uclibc$ ./configure --with-llvm=/usr/local/llvm-2.9 Using llvm... done marcos@marcos-UBUNTUPFC10:/usr/local/klee-c9-uclibc$ make /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: Syntax error: Unterminated quoted string /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: ELF: not found /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: Syntax error: Unterminated quoted string /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: ELF: not found /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: Syntax error: Unterminated quoted string /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: ELF: not found /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: Syntax error: Unterminated quoted string /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: ELF: not found /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: Syntax error: Unterminated quoted string /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: ELF: not found /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: Syntax error: Unterminated quoted string /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: ELF: not found /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: Syntax error: Unterminated quoted string /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: ELF: not found /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: Syntax error: Unterminated quoted string /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: ELF: not found CC libcrypt/crypt.os /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: Syntax error: Unterminated quoted string make: *** [libcrypt/crypt.os] Error 2 marcos@marcos-UBUNTUPFC10:/usr/local/klee-c9-uclibc$ /usr/local/llvm-gcc4.2-2.9-x86_64-linux/bin/llvm-gcc: 1: ELF: not found Also I try to build KLEE C with the llvm-2.9 x86 version but I receive more errors during make command. marcos@marcos-UBUNTUPFC10:/usr/local/klee-c9-uclibc$ ./configure --with-llvm=/usr/local/llvm-2.9 Using llvm... done marcos@marcos-UBUNTUPFC10:/usr/local/klee-c9-uclibc$ make cc1: warning: unrecognized gcc debugging option: N CC libcrypt/crypt.os CC libcrypt/des.os CC libcrypt/md5.os STRIP -x -R .note -R .comment lib/libcrypt.a AR cr lib/libcrypt.a CC libm/w_acos.os CC libm/w_asin.os CC libm/s_atan.os CC libm/w_atan2.os CC libm/s_ceil.os CC libm/s_cos.os CC libm/w_cosh.os CC libm/w_exp.os CC libm/s_fabs.os CC libm/s_floor.os CC libm/w_fmod.os CC libm/s_frexp.os CC libm/s_ldexp.os CC libm/w_log.os CC libm/w_log10.os CC libm/s_modf.os CC libm/w_pow.os CC libm/s_sin.os CC libm/w_sinh.os CC libm/w_sqrt.os CC libm/s_tan.os CC libm/s_tanh.os CC libm/s_expm1.os CC libm/s_scalbn.os CC libm/s_copysign.os CC libm/e_acos.os CC libm/e_asin.os CC libm/e_atan2.os CC libm/k_cos.os CC libm/e_cosh.os CC libm/e_exp.os CC libm/e_fmod.os CC libm/e_log.os CC libm/e_log10.os CC libm/e_pow.os CC libm/k_sin.os CC libm/e_sinh.os CC libm/e_sqrt.os CC libm/k_tan.os CC libm/e_rem_pio2.os CC libm/k_rem_pio2.os CC libm/s_finite.os CC libm/sqrtf.os STRIP -x -R .note -R .comment lib/libm.a AR cr lib/libm.a CC libnsl/nsl.os STRIP -x -R .note -R .comment lib/libnsl.a AR cr lib/libnsl.a CC libresolv/resolv.os STRIP -x -R .note -R .comment lib/libresolv.a AR cr lib/libresolv.a CC libutil/forkpty.os CC libutil/login.os CC libutil/login_tty.os CC libutil/logout.os CC libutil/logwtmp.os CC libutil/openpty.os STRIP -x -R .note -R .comment lib/libutil.a AR cr lib/libutil.a CC librt/mq_close.os CC librt/mq_getsetattr.os CC librt/mq_notify.os CC librt/mq_open.os CC librt/mq_receive.os CC librt/mq_send.os CC librt/mq_unlink.os CC librt/timer_create.os CC librt/timer_delete.os CC librt/timer_getoverr.os CC librt/timer_gettime.os CC librt/timer_settime.os STRIP -x -R .note -R .comment lib/librt.a AR cr lib/librt.a CC libc/sysdeps/linux/x86_64/brk.os CC libc/sysdeps/linux/x86_64/__syscall_error.os AS libc/sysdeps/linux/x86_64/__longjmp.os libc/sysdeps/linux/x86_64/__longjmp.S: Assembler messages: libc/sysdeps/linux/x86_64/__longjmp.S:32: Error: bad register name `%rdi)' libc/sysdeps/linux/x86_64/__longjmp.S:33: Error: bad register name `%rdi)' libc/sysdeps/linux/x86_64/__longjmp.S:34: Error: bad register name `%rdi)' libc/sysdeps/linux/x86_64/__longjmp.S:35: Error: bad register name `%rdi)' libc/sysdeps/linux/x86_64/__longjmp.S:36: Error: bad register name `%rdi)' libc/sysdeps/linux/x86_64/__longjmp.S:37: Error: bad register name `%rdi)' libc/sysdeps/linux/x86_64/__longjmp.S:43: Error: bad register name `%rdi)' libc/sysdeps/linux/x86_64/__longjmp.S:44: Error: bad register name `%rdi)' libc/sysdeps/linux/x86_64/__longjmp.S:45: Error: bad register name `%rdx' make: *** [libc/sysdeps/linux/x86_64/__longjmp.os] Error 1 I would appreciate any help or clue that you can bring me. Thank you at all. -- Un Saludo. Marcos
