Florian | 1 Aug 22:39 2011

Re: Problems with the ubuntu madlib installt

On Jul 30, 4:26 am, Dhruv <akhil...@...> wrote:

> I converted the rpm to debian for use with Ubuntu, may be you are
> right about the package dependencies.

This may work if you manually install the dependencies, which are (on
Ubuntu) "liblapack-dev" and "libblas-dev". (I suggest the developer
packages here because you also tried installation from source.)

> I also tried building it from source but it gave an error on executing
> the config file
>
> CMake Error at deploy/CMakeLists.txt:45 (add_subdirectory):
>   add_subdirectory given source "PackageMaker" which is not an
> existing
>   directory.

I would try downloading the MADlib source again from:
https://github.com/madlib/madlib/zipball/v0.2beta
The directories deploy/PackageMaker and deploy/RPM should definitely
be there:
https://github.com/madlib/madlib/tree/v0.2beta/deploy

> I have built lapack/blas in my home directory, can you guide me on
> installing it in the root level.

Unless you have specific needs, I would rather go with the Ubuntu-
provided packages (see above).

Florian
(Continue reading)

Dhruv | 2 Aug 21:53 2011
Picon

Re: Problems with the ubuntu madlib installt

Hi Florian,

I have finally installed MADlib on Ubuntu. Thanks for providing the
deploy directories. However there were some other issues that I
faced :-
I installed a C library of postgresql through this package postgresql-
server-dev.

Also in the <madlib folder>/doc/src/sql.yy file I included sting.h
library because in line no. 512 there was std::strcmp and std
namespace does not have strcmp function so I removd std here. Other
errors were file permission errors and dependency errors like m4 pre
processor, gfortran, lapack/blas etc.

The installation is complete, I just got an error in the output of the
built in k means algorithm.

I created a table in a postgres database with attributes pid and
position and of type integer and float array respectively. When I run
the algorithm it gives this error

 select MADlib.kmeans(
'public.test', 3, 1, 'testrun', 'testab');
INFO:  ('Started kmeans_run() with parameters:',)
INFO:  (' * k = 3 (number of centroids)',)
INFO:  (' * input_table = public.test',)
INFO:  (' * goodness = 1 (GOF test on)',)
INFO:  (' * run_id = testrun',)
INFO:  (' * output_schema = testab',)
NOTICE:  table "kmeans_out_points_testrun" does not exist, skipping
(Continue reading)

Aleks | 2 Aug 21:57 2011

Re: Problems with the ubuntu madlib installt

Dhruv, try setting your search path to include madlib schema, e.g.: "set 
search_path=madlib,..."

Dhruv | 2 Aug 23:12 2011
Picon

Re: Problems with the ubuntu madlib installt

thanks

crodgers | 24 Aug 19:57 2011
Picon

MADLib and Netezza

Has anyone used this with a Netezza server?

Aleks | 24 Aug 20:05 2011

Re: MADLib and Netezza

Not that we know of, but you are welcome to try...

carloratm | 30 Aug 19:11 2011
Picon

Installation failed on CentOS 5

Hi all,
I'm following this document:
https://github.com/madlib/madlib/wiki/Installation-Guide-on-Greenplum-%28v0.1.0alpha%29

On step 4 I get:

[gpadmin <at> bravo01 tmp]$ $GPHOME/ext/python/bin/easy_install hashlib
Searching for hashlib
Reading http://pypi.python.org/simple/hashlib/
Reading http://code.krypto.org/python/hashlib/
Best match: hashlib 20081119
Downloading http://code.krypto.org/python/hashlib/hashlib-20081119.zip?attredirects=0
Processing hashlib-20081119.zip
Running hashlib-20081119/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-j1GsQ4/hashlib-20081119/egg-dist-tmp-nu5eY5
Using OpenSSL version 0x0090802f from
 Headers:	/usr/include
 Library:	/usr/lib/libssl.so
no previously-included directories found matching 'build'
no previously-included directories found matching 'dist'
no previously-included directories found matching 'RCS'
no previously-included directories found matching 'CVS'
no previously-included directories found matching '.svn'
/usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching
for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching
for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.so when
searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.a when searching
(Continue reading)

Aleks | 30 Aug 19:15 2011

Re: Installation failed on CentOS 5

Carlo, please follow the instructions for our Beta version below:
https://github.com/madlib/madlib/wiki/Installation-Guide-%28v0.2beta%29

We do not have enough resources to support Alpha at this point.


Gmane