Hi Marcos,

Regarding software testing, it only works for 64-bits OSs. Installing a 64-bits 
OS should solve all these problems.

Regards,
Javier
________________________________
From: Marcos Cilleruelo Alonso [[email protected]]
Sent: 11 August 2012 13:39
To: Djordje Jevdjic
Cc: [email protected]
Subject: Re: [cloudsuite] Errors installing Cloud Suite

Hi Djordje,
I really appreciate your help and your faster answer.

Regarding Data Analytics benchmark you are right after I executed the whole 
command it works (I get errors of connection refused but I think that I can fix 
this errors).

Regarding the Software testing, I followed the guide up step by step but I 
received the errors attached at the last mail. I think that maybe the problem 
is my OS version (32 bits), Can you help me?

Information of my computer:

Ubuntu 10.04 OS (x86) 32bits version
Gcc version: gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303
GNU assembler version 2.20.1 (i486-linux-gnu) using BFD version (GNU Binutils 
for Ubuntu) 2.20.1-system.20100303
Kernel version 2.6.32-41-generic


marcos@marcos-UBUNTUPFC10:~$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 
4.4.3-4ubuntu5.1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared 
--enable-multiarch --enable-linker-build-id --with-system-zlib 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc 
--enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic 
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu 
--target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)

marcos@marcos-UBUNTUPFC10:~$ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303

marcos@marcos-UBUNTUPFC10:~$ as -v
GNU assembler version 2.20.1 (i486-linux-gnu) using BFD version (GNU Binutils 
for Ubuntu) 2.20.1-system.20100303

marcos@marcos-UBUNTUPFC10:~$ uname -r
2.6.32-41-generic

Thank you very much for your help, and sorry for my bad english.



--

Un Saludo.
Marcos


2012/8/10 Djordje Jevdjic 
<[email protected]<mailto:[email protected]>>
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]<mailto:[email protected]>]
Sent: Thursday, August 09, 2012 11:33 AM
To: [email protected]<mailto:[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



Reply via email to