From jayhan@gmail.com  Mon Sep  3 20:32:01 2012
Received: from mx.cims.nyu.edu (mx.cims.nyu.edu [128.122.49.99])
	by mail.cims.nyu.edu (8.14.5+Sun/8.14.5) with ESMTP id q840W0Lb000969
	for <shasha@mail.cims.nyu.edu>; Mon, 3 Sep 2012 20:32:00 -0400 (EDT)
Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174])
	by mx.cims.nyu.edu (8.14.4+Sun/8.14.4) with ESMTP id q840Vvx5005926
	for <shasha@courant.nyu.edu>; Mon, 3 Sep 2012 20:31:58 -0400 (EDT)
Received: by obbuo13 with SMTP id uo13so10040532obb.19
        for <shasha@courant.nyu.edu>; Mon, 03 Sep 2012 17:31:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:from:date:message-id:subject:to:content-type;
        bh=J04daE7h0WmWgTT49KEpBqHc+ED5zETpjLENb4Oz20o=;
        b=1G8FAlg/74ezXZtApsD2BKgieTDpMpT0XGoEoK1d7E0pPZVHB5lKNCkMPxaQ4EW6TX
         tmdEC0uCbhyUndCrk/KeNbTtMKQ+TyWVG0YZXRXesSkHd2taInppMzGYXYpiQwjkpcCF
         CNz5MGVeZtZ610hcdzoVKX6d0Mo1VS8Qh1+LAkXrseuEZKOsleMRKVW9Hz6oCxceyzXR
         NvgAwUYAR9PvOWnchmhUq3poSTaErkmU0HRN1cWiMfFIl8JgMiIu6Z46tmPR21eJhcgz
         Q8MXHiv0PBjzmV+AfSrhBo39gKEU3UhjHxicOGUSHe+ERJX8fCzJ0PwoUzXvEQKHvVJc
         FvKQ==
Received: by 10.60.7.36 with SMTP id g4mr14973482oea.112.1346718712486; Mon,
 03 Sep 2012 17:31:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.10.161 with HTTP; Mon, 3 Sep 2012 17:31:31 -0700 (PDT)
From: Jay Han <jayhan@gmail.com>
Date: Mon, 3 Sep 2012 17:31:31 -0700
Message-ID: <CAAVMBcbBpV6jQjwKP3t00yMsXT_dvLBYEh1Pyd6JjEXbtsEtGQ@mail.gmail.com>
Subject: ZeroMQ updated installation instruction
To: Dennis Shasha <shasha@courant.nyu.edu>
Content-Type: multipart/alternative; boundary=e89a8f64347c785cdf04c8d5622e
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (mx.cims.nyu.edu [128.122.49.99]); Mon, 03 Sep 2012 20:31:58 -0400 (EDT)
X-Scanned-By: MIMEDefang 2.73 on 128.122.49.99
Status: R
Content-Length: 1245

--e89a8f64347c785cdf04c8d5622e
Content-Type: text/plain; charset=UTF-8

Hello,

I think the following 3-stepprocedure will install/update ZeroMQ:

As root, first add a repository holding the ZeroMQ 2.2 to yum, then run yum
to install ZeroMQ.

# yum-config-manager --add-repo
http://download.opensuse.org/repositories/home:/fengshuo:/zeromq/CentOS_CentOS-6/home:fengshuo:zeromq.repo
# yum install zeromq
# yum install zeromq-devel

man zmq and it should display 0MQ 2.2.0 at the bottom of the man page.

Install pyzmq and ZeroMQ.pm as before:
https://github.com/jaeheum/qzmq/blob/master/demos/installation.md

I have added a test procedure to check if the installation is satisfactory
for both python and perl.

Install pyzmq:

$ sudo easy_install pyzmq

One quick check for successful installation:

$ python
>>> import zmq
>>> help(zmq) # to read the documentation
>>> zmq.pyzmq_version()
'2.2.0'
>>> zmq.zmq_version()
'2.2.0'
# either '2.2.0' or '2.2.0.1' is acceptable.

Perl

Install ZeroMQ.pm from CPAN:

$ sudo cpan -i ZeroMQ # add -f flag if necessary

One quick check for successful installation:

$ perl -e 'use ZeroMQ qw/:all/; print "ZeroMQ version is: " .
ZeroMQ::version() . "\n";'
ZeroMQ version is: 2.2.0
$

Hope this helps!
-jay

From jayhan@gmail.com  Wed Sep  5 02:18:38 2012
Received: from mx.cims.nyu.edu (mx.cims.nyu.edu [128.122.49.99])
	by mail.cims.nyu.edu (8.14.5+Sun/8.14.5) with ESMTP id q856IbVj019304
	for <shasha@mail.cims.nyu.edu>; Wed, 5 Sep 2012 02:18:37 -0400 (EDT)
Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174])
	by mx.cims.nyu.edu (8.14.4+Sun/8.14.4) with ESMTP id q856IZG7005629
	for <shasha@courant.nyu.edu>; Wed, 5 Sep 2012 02:18:35 -0400 (EDT)
Received: by ieje11 with SMTP id e11so374192iej.19
        for <shasha@courant.nyu.edu>; Tue, 04 Sep 2012 23:18:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        bh=D3XGtR96PXm6A+3V10zi83PrAm8TkXGGgPas8rprXtc=;
        b=xMoYK0IPifNIHsHRYZlOKXt/oiUSY9q+R2hNpsS6sB2pgFPdlAdh5rHKTU2y3JBPu4
         e699had/KKaL5cAmxzEAKzOEO6llwUUTqv6XoBXtBHL0yin0UqOyzMB/d+EF/bbrVgh8
         rtzwVSAO0JDcXU+spr/xU+0VUMRhZfseyCCQjzBUeNHAL9cHf6Puvn1YIdaHQ5mpMYRe
         ai5YCdtX7V77o6jMheCi2VmC4yx372wF7waKb5lVHyNseBYzpMIlafEq0sPg/R7Ohlqf
         LSID8gR2dDaQppRSbjjV35sov0jAQMCQu/kiSx8Dh9yE36TWjtN1L4vb/MPFpyw1GpyJ
         vPHw==
Received: by 10.182.131.98 with SMTP id ol2mr16541800obb.69.1346825909916;
 Tue, 04 Sep 2012 23:18:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.10.161 with HTTP; Tue, 4 Sep 2012 23:18:08 -0700 (PDT)
In-Reply-To: <201209041824.q84IO84B007475@crunchy12.cims.nyu.edu>
References: <201209041824.q84IO84B007475@crunchy12.cims.nyu.edu>
From: Jay Han <jayhan@gmail.com>
Date: Tue, 4 Sep 2012 23:18:08 -0700
Message-ID: <CAAVMBcbv2K4CHiXKuaNtiNj_gNMr+Bp4CS1zLmq0EcMf+XTGsQ@mail.gmail.com>
Subject: Re: you should be able to enter
To: Dennis Shasha <shasha@courant.nyu.edu>
Content-Type: multipart/alternative; boundary=e89a8f5028beef55d704c8ee579a
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (mx.cims.nyu.edu [128.122.49.99]); Wed, 05 Sep 2012 02:18:35 -0400 (EDT)
X-Scanned-By: MIMEDefang 2.73 on 128.122.49.99
Status: R
Content-Length: 2813

--e89a8f5028beef55d704c8ee579a
Content-Type: text/plain; charset=UTF-8

Hi Dennis,

Installation looks good.

I have unzipped the demos files in ~/probcourse.d/zmq.d (you will see more
files there than before). I have successfully ran the first demo from
https://github.com/jaeheum/qzmq/blob/master/demos/README.md (which is also
present in zmq.d)

Your students should be able to start by following the README.md to get a
feel. I don't mind answering their questions by mails. If there is a
mailing list for the course, feel free to add me there.

Please note that I cannot do anything during daytime and my replies may
come out slower than expected. Because I am going to a DTrace training
course this Thursday/Friday and XLDB conference next Monday through
Wednesday my mail latency may increase a bit more past 24 hours.

best,
-jay






On Tue, Sep 4, 2012 at 11:24 AM, Dennis Shasha <shasha@courant.nyu.edu>wrote:

>
> Jay,
> You'll be able to check for yourself whether their installation was
> correct.
> Thanks very much,
> Dennis
>

--e89a8f5028beef55d704c8ee579a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div>Hi Dennis,</div><div><br></div><div>Installation looks good.</div><div=
><br></div><div>I have unzipped the demos files in=C2=A0~/probcourse.d/zmq.=
d (you will see more files there than before). I have successfully ran the =
first demo from <a href=3D"https://github.com/jaeheum/qzmq/blob/master/demo=
s/README.md" target=3D"_blank">https://github.com/jaeheum/qzmq/blob/master/=
demos/README.md</a>=C2=A0(which is also present in zmq.d)</div>

<div><br></div><div>Your students should be able to start by following the =
README.md to get a feel. I don&#39;t mind answering their questions by mail=
s. If there is a mailing list for the course, feel free to add me there.</d=
iv>

<div><br></div><div>Please note that I cannot do anything during daytime an=
d my replies may come out slower than expected. Because=C2=A0I am going to =
a DTrace training course this Thursday/Friday and XLDB conference next Mond=
ay through Wednesday my mail latency may increase a bit more past 24 hours.=
</div>

<div><br></div><div>best,</div><div>-jay</div><div><br></div><div><br></div=
><div><br></div><div><br></div><div>
<br></div><div><br><div class=3D"gmail_quote">On Tue, Sep 4, 2012 at 11:24 =
AM, Dennis Shasha <span dir=3D"ltr">&lt;<a href=3D"mailto:shasha@courant.ny=
u.edu" target=3D"_blank">shasha@courant.nyu.edu</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">


<br>
Jay,<br>
You&#39;ll be able to check for yourself whether their installation was cor=
rect.<br>
Thanks very much,<br>
Dennis<br>
</blockquote></div><br></div>

--e89a8f5028beef55d704c8ee579a--

From jayhan@gmail.com  Fri Sep  7 18:54:30 2012
Received: from mx.cims.nyu.edu (mx.cims.nyu.edu [128.122.49.99])
	by mail.cims.nyu.edu (8.14.5+Sun/8.14.5) with ESMTP id q87MsU23000340
	for <shasha@mail.cims.nyu.edu>; Fri, 7 Sep 2012 18:54:30 -0400 (EDT)
Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174])
	by mx.cims.nyu.edu (8.14.4+Sun/8.14.4) with ESMTP id q87MsHvS022009
	for <shasha@courant.nyu.edu>; Fri, 7 Sep 2012 18:54:17 -0400 (EDT)
Received: by obbuo13 with SMTP id uo13so188430obb.19
        for <shasha@courant.nyu.edu>; Fri, 07 Sep 2012 15:54:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=UJ+1W0g4Gr/pnee3uagj0GD4DInvPRfijg7L7pr92l8=;
        b=WRvdqOabMhMrY6F6NiPLAgQi2Xm02etq1PN1HPZb4yWg8rAK9wkNUlbEAXIIXJk0WN
         o5EaaOQiGliFAk60VVo57zozZXQoIC6a3ylA7G8ug+L5GFW6Hk+mPHFelOW11paZdz3w
         h4Qwbq7G8P6v19mCa5BQaVPT0VmkijQ9cGsEUKpL5E4WreDaLoclaANaTc3Vf8ryTPBf
         IZXhS+Ww4YJ6m+QHnB2ztsQ+dQRvnekKRBxQNgIH2aur8u8nymri9VKx5USa7iKMPisd
         jr65E6Oijmgo1jl6xTsCOUOQ5QLrW4p8WgRY451+CuS5Jshdi1lD7oCS3Nqj+P/QF2EA
         ehNw==
MIME-Version: 1.0
Received: by 10.60.3.194 with SMTP id e2mr7569439oee.1.1347058452429; Fri, 07
 Sep 2012 15:54:12 -0700 (PDT)
Received: by 10.76.10.161 with HTTP; Fri, 7 Sep 2012 15:54:12 -0700 (PDT)
In-Reply-To: <201209072058.q87Kw4i6007204@crunchy12.cims.nyu.edu>
References: <201209072058.q87Kw4i6007204@crunchy12.cims.nyu.edu>
Date: Fri, 7 Sep 2012 15:54:12 -0700
Message-ID: <CAAVMBcbyj03VTC3KjDHu0zDbLJJ=SMX9Hai9fWvDdC84qHGb=w@mail.gmail.com>
Subject: Re: zero mq mostly working
From: Jay Han <jayhan@gmail.com>
To: Dennis Shasha <shasha@courant.nyu.edu>
Content-Type: multipart/alternative; boundary=e89a8fb202a08c7d7304c9247c5a
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (mx.cims.nyu.edu [128.122.49.99]); Fri, 07 Sep 2012 18:54:18 -0400 (EDT)
X-Scanned-By: MIMEDefang 2.73 on 128.122.49.99
Status: R
Content-Length: 19066

--e89a8fb202a08c7d7304c9247c5a
Content-Type: text/plain; charset=UTF-8

On Friday, September 7, 2012, Dennis Shasha wrote:

> *** Dear Jay,
>
> Hi,
>
> About 7: I should've made installation of that missing module more
> explicit.
> README.md:172:    $ q mreq.q -q # 'perl mreq.pl' (may need to install
> `cpan
> -f -i String::Random`)
> README.txt:173:    $ q mreq.q -q # 'perl mreq.pl' (may need to install
> `cpan -f -i String::Random`)
>
> Please run:
> sudo cpan -f -i String::Random



 Please ask them to run

sudo cpan -f -i String::Random


> *** What exactly should I ask the systems guys to do.
>
> and it should resolve the issue.
>
> About 8: I suspect it's a kdb 2.8 vs 3.0 issue -- k.h for 3.0 makes
> backwards incompatible change and libraries compiled with 2.8 (as is the
> case for qzmq) will not work with 3.0.
>
> Do you have 2.8 on your mac or 3.0?
>
> *** We're talking about energon2 (the university computer servers).


I understand. If both your mac and energon2 have 3.0 then it's easier to
deal with than one os with one version of kdb and another os wih another
version of kdb. I'll first work on kdb3 on linux anyways and send out
updated instruction for your sysadmin.




> Here is what happens when I call this:
> KDB+ 3.0 2012.09.02 Copyright (C) 1993-2012 Kx Systems
> l32/ 8()core 7870MB shasha energon2.cims.nyu.edu 172.22.80.85 PLAY
> 2012.12.01
>
>
>
> I have so far used 2.8 but not yet 3.0.
>
> If you have 3.0 on your mac, I can simplify the problem by upgrading qzmq
> to match 3.0.
>
> thanks,
> -jay
>
> *** Again, let's formulate this as an email to the systems people.
> Thanks, Dennis
>
>
> On Fri, Sep 7, 2012 at 1:43 AM, Dennis Shasha <shasha@courant.nyu.edu<javascript:;>
> >wrote:
>
> >
> >
> >
> > Dear Jay,
> >
> > As of now, this works:
> >
> > 1. (multi-client/single server) multiple c.pys and one rep.py
> >
> > 2. (multi-client/single server) multiple c.pys and one rep.pl
> >
> > 3. (multi-client/multiple server) mreq.py, msgqueue.pl, mrep.py
> >
> > 4. (multi-client/multiple server) mreq.pl, msgqueue.pl, mrep.py
> >
> > 5. (multi-client/multiple server) mreq.pl, msgqueue.py, mrep.py
> >
> > 6. (multi-client/multiple server) mreq.pl, msgqueue.py, mrep.pl
> >
> > 7. (multi-client/multiple server) mreq.pl, msgqueue.pl, mrep.pl
> > does not work:
> > Can't locate String/Random.pm in @INC (@INC contains:
> > /usr/local/lib64/perl5 /usr/local/share/perl5
> /usr/lib64/perl5/vendor_perl
> > /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
> > mreq.pl line 3.
> > BEGIN failed--compilation aborted at mreq.pl line 3.
> >
> > ==== less important below ====
> >
> > 8. Also the q msgqueue doesn't work
> >
> > 9. Also q mreq -q doestn't work, e.g.
> > [energon2] ~/probcourse.d/zmq.d $ q mreq.q -q
> > KDB+ 3.0 2012.09.02 Copyright (C) 1993-2012 Kx Systems
> > l32/ 8()core 7870MB shasha energon2.cims.nyu.edu 172.22.80.85 PLAY
> > 2012.12.01
> >
> > q)
> >
> > ... It just sits there.
> >
> >
> > Best,
> > Dennis
> >
>
> --14dae9399df9df1f4004c91c8e02
> Content-Type: text/html; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
>
> <div>Hi,</div><div><br></div>About 7: I should&#39;ve made installation of
> =
> that missing module more explicit.<div><div>README.md:172: =C2=A0 =C2=A0$
> q=
>  mreq.q -q # &#39;perl <a href=3D"http://mreq.pl">mreq.pl</a>&#39; (may
> nee=
> d to install `cpan -f -i String::Random`)</div>
>
> <div>README.txt:173: =C2=A0 =C2=A0$ q mreq.q -q # &#39;perl <a
> href=3D"http=
> ://mreq.pl">mreq.pl</a>&#39; (may need to install `cpan -f -i
> String::Rando=
> m`)</div><div><br></div><div>Please run:</div><div>sudo cpan -f -i
> String::=
> Random</div>
>
> <div><br></div>and it should resolve the
> issue.</div><div><br></div><div>Ab=
> out 8: I suspect it&#39;s a kdb 2.8 vs 3.0 issue -- k.h for 3.0 makes
> backw=
> ards incompatible change and libraries compiled with 2.8 (as is the case
> fo=
> r qzmq) will not work with 3.0.</div>
>
> <div><br></div><div>Do you have 2.8 on your mac or
> 3.0?=C2=A0</div><div><br=
> ></div><div>I have so far used 2.8 but not yet
> 3.0.=C2=A0</div><div><br></d=
> iv><div>If you have 3.0 on your mac, I can simplify the problem by
> upgradin=
> g qzmq to match 3.0.</div>
>
>
> <div><br></div><div>thanks,</div><div>-jay</div><div><br></div><div><br><di=
> v class=3D"gmail_quote">On Fri, Sep 7, 2012 at 1:43 AM, Dennis Shasha
> <span=
>  dir=3D"ltr">&lt;<a href=3D"mailto:shasha@courant.nyu.edu <javascript:;>"
> target=3D"_blank=
> ">shasha@courant.nyu.edu <javascript:;></a>&gt;</span> wrote:<br>
>
> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
> .8ex;border-left:1p=
> x #ccc solid;padding-left:1ex"><br>
> <br>
> <br>
> Dear Jay,<br>
> <br>
> As of now, this works:<br>
> <br>
> 1. (multi-client/single server) multiple c.pys and one rep.py<br>
> <br>
> 2. (multi-client/single server) multiple c.pys and one <a href=3D"
> http://re=
> p.pl" target=3D"_blank">rep.pl</a><br>
> <br>
> 3. (multi-client/multiple server) mreq.py, <a href=3D"http://msgqueue.pl"
> t=
> arget=3D"_blank">msgqueue.pl</a>, mrep.py<br>
> <br>
> 4. (multi-client/multiple server) <a href=3D"http://mreq.pl"
> target=3D"_bla=
> nk">mreq.pl</a>, <a href=3D"http://msgqueue.pl"
> target=3D"_blank">msgqueue.=
> pl</a>, mrep.py<br>
> <br>
> 5. (multi-client/multiple server) <a href=3D"http://mreq.pl"
> target=3D"_bla=
> nk">mreq.pl</a>, msgqueue.py, mrep.py<br>
> <br>
> 6. (multi-client/multiple server) <a href=3D"http://mreq.pl"
> target=3D"_bla=
> nk">mreq.pl</a>, msgqueue.py, <a href=3D"http://mrep.pl"
> target=3D"_blank">=
> mrep.pl</a><br>
> <br>
> 7. (multi-client/multiple server) <a href=3D"http://mreq.pl"
> target=3D"_bla=
> nk">mreq.pl</a>, <a href=3D"http://msgqueue.pl"
> target=3D"_blank">msgqueue.=
> pl</a>, <a href=3D"http://mrep.pl" target=3D"_blank">mrep.pl</a><br>
> does not work:<br>
> Can&#39;t locate String/Random.pm in @INC (@INC contains:
> /usr/local/lib64/=
> perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/=
> vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at <a href=3D"
> http://mreq.=
> pl" target=3D"_blank">mreq.pl</a> line 3.<br>
>
>
> BEGIN failed--compilation aborted at <a href=3D"http://mreq.pl"
> target=3D"_=
> blank">mreq.pl</a> line 3.<br>
> <br>
> =3D=3D=3D=3D less important below =3D=3D=3D=3D<br>
> <br>
> 8. Also the q msgqueue doesn&#39;t work<br>
> <br>
> 9. Also q mreq -q doestn&#39;t work, e.g.<br>
> [energon2] ~/probcourse.d/zmq.d $ q mreq.q -q<br>
> KDB+ 3.0 2012.09.02 Copyright (C) 1993-2012 Kx Systems<br>
> l32/ 8()core 7870MB shasha <a href=3D"http://energon2.cims.nyu.edu"
> target=
> =3D"_blank">energon2.cims.nyu.edu</a> 172.22.80.85 PLAY 2012.12.01<br>
> <br>
> q)<br>
> <br>
> ... It just sits there.<br>
> <br>
> <br>
> Best,<br>
> Dennis<br>
> </blockquote></div><br></div>
>
> --14dae9399df9df1f4004c91c8e02--
>
>

--e89a8fb202a08c7d7304c9247c5a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><br>On Friday, September 7, 2012, Dennis Shasha  wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">*** Dear Jay,<br>
<br>
Hi,<br>
<br>
About 7: I should&#39;ve made installation of that missing module more expl=
icit.<br>
README.md:172: =C2=A0 =C2=A0$ q mreq.q -q # &#39;perl <a href=3D"http://mre=
q.pl" target=3D"_blank">mreq.pl</a>&#39; (may need to install `cpan<br>
-f -i String::Random`)<br>
README.txt:173: =C2=A0 =C2=A0$ q mreq.q -q # &#39;perl <a href=3D"http://mr=
eq.pl" target=3D"_blank">mreq.pl</a>&#39; (may need to install<br>
`cpan -f -i String::Random`)<br>
<br>
Please run:<br>
sudo cpan -f -i String::Random</blockquote><div><br></div><div><br></div><d=
iv>=C2=A0Please ask them to run</div><div><br></div><span class=3D"Apple-st=
yle-span" style>sudo cpan -f -i String::Random</span><div><span class=3D"Ap=
ple-style-span" style><br>
</span><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex">
<br>
*** What exactly should I ask the systems guys to do.<br>
<br>
and it should resolve the issue.<br>
<br>
About 8: I suspect it&#39;s a kdb 2.8 vs 3.0 issue -- k.h for 3.0 makes<br>
backwards incompatible change and libraries compiled with 2.8 (as is the<br=
>
case for qzmq) will not work with 3.0.<br>
<br>
Do you have 2.8 on your mac or 3.0?<br>
<br>
*** We&#39;re talking about energon2 (the university computer servers).</bl=
ockquote><div><br></div><div>I understand. If both your mac and energon2 ha=
ve 3.0 then it&#39;s easier to deal with than one os with one version of kd=
b and another os wih another version of kdb. I&#39;ll first work on kdb3 on=
 linux anyways and send out updated instruction for your sysadmin.=C2=A0<sp=
an></span></div>
<div><br></div><div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x">
Here is what happens when I call this:<br>
KDB+ 3.0 2012.09.02 Copyright (C) 1993-2012 Kx Systems<br>
l32/ 8()core 7870MB shasha <a href=3D"http://energon2.cims.nyu.edu" target=
=3D"_blank">energon2.cims.nyu.edu</a> 172.22.80.85 PLAY 2012.12.01<br>
<br>
<br>
<br>
I have so far used 2.8 but not yet 3.0.<br>
<br>
If you have 3.0 on your mac, I can simplify the problem by upgrading qzmq<b=
r>
to match 3.0.<br>
<br>
thanks,<br>
-jay<br>
<br>
*** Again, let&#39;s formulate this as an email to the systems people.<br>
Thanks, Dennis<br>
<br>
<br>
On Fri, Sep 7, 2012 at 1:43 AM, Dennis Shasha &lt;<a href=3D"javascript:;" =
onclick=3D"_e(event, &#39;cvml&#39;, &#39;shasha@courant.nyu.edu&#39;)">sha=
sha@courant.nyu.edu</a>&gt;wrote:<br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Dear Jay,<br>
&gt;<br>
&gt; As of now, this works:<br>
&gt;<br>
&gt; 1. (multi-client/single server) multiple c.pys and one rep.py<br>
&gt;<br>
&gt; 2. (multi-client/single server) multiple c.pys and one <a href=3D"http=
://rep.pl" target=3D"_blank">rep.pl</a><br>
&gt;<br>
&gt; 3. (multi-client/multiple server) mreq.py, <a href=3D"http://msgqueue.=
pl" target=3D"_blank">msgqueue.pl</a>, mrep.py<br>
&gt;<br>
&gt; 4. (multi-client/multiple server) <a href=3D"http://mreq.pl" target=3D=
"_blank">mreq.pl</a>, <a href=3D"http://msgqueue.pl" target=3D"_blank">msgq=
ueue.pl</a>, mrep.py<br>
&gt;<br>
&gt; 5. (multi-client/multiple server) <a href=3D"http://mreq.pl" target=3D=
"_blank">mreq.pl</a>, msgqueue.py, mrep.py<br>
&gt;<br>
&gt; 6. (multi-client/multiple server) <a href=3D"http://mreq.pl" target=3D=
"_blank">mreq.pl</a>, msgqueue.py, <a href=3D"http://mrep.pl" target=3D"_bl=
ank">mrep.pl</a><br>
&gt;<br>
&gt; 7. (multi-client/multiple server) <a href=3D"http://mreq.pl" target=3D=
"_blank">mreq.pl</a>, <a href=3D"http://msgqueue.pl" target=3D"_blank">msgq=
ueue.pl</a>, <a href=3D"http://mrep.pl" target=3D"_blank">mrep.pl</a><br>
&gt; does not work:<br>
&gt; Can&#39;t locate String/Random.pm in @INC (@INC contains:<br>
&gt; /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_=
perl<br>
&gt; /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at<b=
r>
&gt; <a href=3D"http://mreq.pl" target=3D"_blank">mreq.pl</a> line 3.<br>
&gt; BEGIN failed--compilation aborted at <a href=3D"http://mreq.pl" target=
=3D"_blank">mreq.pl</a> line 3.<br>
&gt;<br>
&gt; =3D=3D=3D=3D less important below =3D=3D=3D=3D<br>
&gt;<br>
&gt; 8. Also the q msgqueue doesn&#39;t work<br>
&gt;<br>
&gt; 9. Also q mreq -q doestn&#39;t work, e.g.<br>
&gt; [energon2] ~/probcourse.d/zmq.d $ q mreq.q -q<br>
&gt; KDB+ 3.0 2012.09.02 Copyright (C) 1993-2012 Kx Systems<br>
&gt; l32/ 8()core 7870MB shasha <a href=3D"http://energon2.cims.nyu.edu" ta=
rget=3D"_blank">energon2.cims.nyu.edu</a> 172.22.80.85 PLAY<br>
&gt; 2012.12.01<br>
&gt;<br>
&gt; q)<br>
&gt;<br>
&gt; ... It just sits there.<br>
&gt;<br>
&gt;<br>
&gt; Best,<br>
&gt; Dennis<br>
&gt;<br>
<br>
--14dae9399df9df1f4004c91c8e02<br>
Content-Type: text/html; charset=3DUTF-8<br>
Content-Transfer-Encoding: quoted-printable<br>
<br>
&lt;div&gt;Hi,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;About 7: I shoul=
d&amp;#39;ve made installation of =3D<br>
that missing module more explicit.&lt;div&gt;&lt;div&gt;README.md:172: =3DC=
2=3DA0 =3DC2=3DA0$ q=3D<br>
=C2=A0mreq.q -q # &amp;#39;perl &lt;a href=3D3D&quot;<a href=3D"http://mreq=
.pl" target=3D"_blank">http://mreq.pl</a>&quot;&gt;<a href=3D"http://mreq.p=
l" target=3D"_blank">mreq.pl</a>&lt;/a&gt;&amp;#39; (may nee=3D<br>
d to install `cpan -f -i String::Random`)&lt;/div&gt;<br>
<br>
&lt;div&gt;README.txt:173: =3DC2=3DA0 =3DC2=3DA0$ q mreq.q -q # &amp;#39;pe=
rl &lt;a href=3D3D&quot;http=3D<br>
://<a href=3D"http://mreq.pl" target=3D"_blank">mreq.pl</a>&quot;&gt;<a hre=
f=3D"http://mreq.pl" target=3D"_blank">mreq.pl</a>&lt;/a&gt;&amp;#39; (may =
need to install `cpan -f -i String::Rando=3D<br>
m`)&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Please run:&lt;/=
div&gt;&lt;div&gt;sudo cpan -f -i String::=3D<br>
Random&lt;/div&gt;<br>
<br>
&lt;div&gt;&lt;br&gt;&lt;/div&gt;and it should resolve the issue.&lt;/div&g=
t;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Ab=3D<br>
out 8: I suspect it&amp;#39;s a kdb 2.8 vs 3.0 issue -- k.h for 3.0 makes b=
ackw=3D<br>
ards incompatible change and libraries compiled with 2.8 (as is the case fo=
=3D<br>
r qzmq) will not work with 3.0.&lt;/div&gt;<br>
<br>
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Do you have 2.8 on your mac or =
3.0?=3DC2=3DA0&lt;/div&gt;&lt;div&gt;&lt;br=3D<br>
&gt;&lt;/div&gt;&lt;div&gt;I have so far used 2.8 but not yet 3.0.=3DC2=3DA=
0&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/d=3D<br>
iv&gt;&lt;div&gt;If you have 3.0 on your mac, I can simplify the problem by=
 upgradin=3D<br>
g qzmq to match 3.0.&lt;/div&gt;<br>
<br>
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;thanks,&lt;/div&gt;&lt;div&gt;-=
jay&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;di=
=3D<br>
v class=3D3D&quot;gmail_quote&quot;&gt;On Fri, Sep 7, 2012 at 1:43 AM, Denn=
is Shasha &lt;span=3D<br>
=C2=A0dir=3D3D&quot;ltr&quot;&gt;&amp;lt;&lt;a href=3D3D&quot;mailto:<a hre=
f=3D"javascript:;" onclick=3D"_e(event, &#39;cvml&#39;, &#39;shasha@courant=
.nyu.edu&#39;)">shasha@courant.nyu.edu</a>&quot; target=3D3D&quot;_blank=3D=
<br>
&quot;&gt;<a href=3D"javascript:;" onclick=3D"_e(event, &#39;cvml&#39;, &#3=
9;shasha@courant.nyu.edu&#39;)">shasha@courant.nyu.edu</a>&lt;/a&gt;&amp;gt=
;&lt;/span&gt; wrote:&lt;br&gt;<br>
<br>
&lt;blockquote class=3D3D&quot;gmail_quote&quot; style=3D3D&quot;margin:0 0=
 0 .8ex;border-left:1p=3D<br>
x #ccc solid;padding-left:1ex&quot;&gt;&lt;br&gt;<br>
&lt;br&gt;<br>
&lt;br&gt;<br>
Dear Jay,&lt;br&gt;<br>
&lt;br&gt;<br>
As of now, this works:&lt;br&gt;<br>
&lt;br&gt;<br>
1. (multi-client/single server) multiple c.pys and one rep.py&lt;br&gt;<br>
&lt;br&gt;<br>
2. (multi-client/single server) multiple c.pys and one &lt;a href=3D3D&quot=
;<a href=3D"http://re" target=3D"_blank">http://re</a>=3D<br>
<a href=3D"http://p.pl" target=3D"_blank">p.pl</a>&quot; target=3D3D&quot;_=
blank&quot;&gt;<a href=3D"http://rep.pl" target=3D"_blank">rep.pl</a>&lt;/a=
&gt;&lt;br&gt;<br>
&lt;br&gt;<br>
3. (multi-client/multiple server) mreq.py, &lt;a href=3D3D&quot;<a href=3D"=
http://msgqueue.pl" target=3D"_blank">http://msgqueue.pl</a>&quot; t=3D<br>
arget=3D3D&quot;_blank&quot;&gt;<a href=3D"http://msgqueue.pl" target=3D"_b=
lank">msgqueue.pl</a>&lt;/a&gt;, mrep.py&lt;br&gt;<br>
&lt;br&gt;<br>
4. (multi-client/multiple server) &lt;a href=3D3D&quot;<a href=3D"http://mr=
eq.pl" target=3D"_blank">http://mreq.pl</a>&quot; target=3D3D&quot;_bla=3D<=
br>
nk&quot;&gt;<a href=3D"http://mreq.pl" target=3D"_blank">mreq.pl</a>&lt;/a&=
gt;, &lt;a href=3D3D&quot;<a href=3D"http://msgqueue.pl" target=3D"_blank">=
http://msgqueue.pl</a>&quot; target=3D3D&quot;_blank&quot;&gt;msgqueue.=3D<=
br>
pl&lt;/a&gt;, mrep.py&lt;br&gt;<br>
&lt;br&gt;<br>
5. (multi-client/multiple server) &lt;a href=3D3D&quot;<a href=3D"http://mr=
eq.pl" target=3D"_blank">http://mreq.pl</a>&quot; target=3D3D&quot;_bla=3D<=
br>
nk&quot;&gt;<a href=3D"http://mreq.pl" target=3D"_blank">mreq.pl</a>&lt;/a&=
gt;, msgqueue.py, mrep.py&lt;br&gt;<br>
&lt;br&gt;<br>
6. (multi-client/multiple server) &lt;a href=3D3D&quot;<a href=3D"http://mr=
eq.pl" target=3D"_blank">http://mreq.pl</a>&quot; target=3D3D&quot;_bla=3D<=
br>
nk&quot;&gt;<a href=3D"http://mreq.pl" target=3D"_blank">mreq.pl</a>&lt;/a&=
gt;, msgqueue.py, &lt;a href=3D3D&quot;<a href=3D"http://mrep.pl" target=3D=
"_blank">http://mrep.pl</a>&quot; target=3D3D&quot;_blank&quot;&gt;=3D<br>
<a href=3D"http://mrep.pl" target=3D"_blank">mrep.pl</a>&lt;/a&gt;&lt;br&gt=
;<br>
&lt;br&gt;<br>
7. (multi-client/multiple server) &lt;a href=3D3D&quot;<a href=3D"http://mr=
eq.pl" target=3D"_blank">http://mreq.pl</a>&quot; target=3D3D&quot;_bla=3D<=
br>
nk&quot;&gt;<a href=3D"http://mreq.pl" target=3D"_blank">mreq.pl</a>&lt;/a&=
gt;, &lt;a href=3D3D&quot;<a href=3D"http://msgqueue.pl" target=3D"_blank">=
http://msgqueue.pl</a>&quot; target=3D3D&quot;_blank&quot;&gt;msgqueue.=3D<=
br>
pl&lt;/a&gt;, &lt;a href=3D3D&quot;<a href=3D"http://mrep.pl" target=3D"_bl=
ank">http://mrep.pl</a>&quot; target=3D3D&quot;_blank&quot;&gt;<a href=3D"h=
ttp://mrep.pl" target=3D"_blank">mrep.pl</a>&lt;/a&gt;&lt;br&gt;<br>
does not work:&lt;br&gt;<br>
Can&amp;#39;t locate String/Random.pm in @INC (@INC contains: /usr/local/li=
b64/=3D<br>
perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/=
=3D<br>
vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at &lt;a href=3D3D&quot;<a=
 href=3D"http://mreq." target=3D"_blank">http://mreq.</a>=3D<br>
pl&quot; target=3D3D&quot;_blank&quot;&gt;<a href=3D"http://mreq.pl" target=
=3D"_blank">mreq.pl</a>&lt;/a&gt; line 3.&lt;br&gt;<br>
<br>
<br>
BEGIN failed--compilation aborted at &lt;a href=3D3D&quot;<a href=3D"http:/=
/mreq.pl" target=3D"_blank">http://mreq.pl</a>&quot; target=3D3D&quot;_=3D<=
br>
blank&quot;&gt;<a href=3D"http://mreq.pl" target=3D"_blank">mreq.pl</a>&lt;=
/a&gt; line 3.&lt;br&gt;<br>
&lt;br&gt;<br>
=3D3D=3D3D=3D3D=3D3D less important below =3D3D=3D3D=3D3D=3D3D&lt;br&gt;<br=
>
&lt;br&gt;<br>
8. Also the q msgqueue doesn&amp;#39;t work&lt;br&gt;<br>
&lt;br&gt;<br>
9. Also q mreq -q doestn&amp;#39;t work, e.g.&lt;br&gt;<br>
[energon2] ~/probcourse.d/zmq.d $ q mreq.q -q&lt;br&gt;<br>
KDB+ 3.0 2012.09.02 Copyright (C) 1993-2012 Kx Systems&lt;br&gt;<br>
l32/ 8()core 7870MB shasha &lt;a href=3D3D&quot;<a href=3D"http://energon2.=
cims.nyu.edu" target=3D"_blank">http://energon2.cims.nyu.edu</a>&quot; targ=
et=3D<br>
=3D3D&quot;_blank&quot;&gt;<a href=3D"http://energon2.cims.nyu.edu" target=
=3D"_blank">energon2.cims.nyu.edu</a>&lt;/a&gt; 172.22.80.85 PLAY 2012.12.0=
1&lt;br&gt;<br>
&lt;br&gt;<br>
q)&lt;br&gt;<br>
&lt;br&gt;<br>
... It just sits there.&lt;br&gt;<br>
&lt;br&gt;<br>
&lt;br&gt;<br>
Best,&lt;br&gt;<br>
Dennis&lt;br&gt;<br>
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;<br>
<br>
--14dae9399df9df1f4004c91c8e02--<br>
<br>
</blockquote></div>

--e89a8fb202a08c7d7304c9247c5a--

