Thanks Ted.
I didn't use bourne shell. When I ran the test case of clusterstopping.pl,
the error that I got is
sh: vcluster: cannot execute
I thought that the test case itself might use bourne shell, which is not
true. So My guess was wrong.
I use the hosting service of aptana. It runs on the solaris. I don't know
why it doesn't work. Not only vcluster, the scluster seems not working
either. I contract the George, but he didn't either. I wish CLUTO could have
been released with source code. :-)
Any way, I will try this on my cygwin first, and may try to resolve this
issue later.
Thanks.
Lingzhi
On Mon, Aug 31, 2009 at 7:54 PM, Ted Pedersen <[email protected]> wrote:
> Thanks for these additional details. I'm not entirely clear why you
> would need the "sh" shell - I don't think we explicitly use that
> (unless I am mistaken). Some of the files are named *.sh, but those
> use the csh shell.
>
> We developed SenseClusters on Solaris/Sun OS, and that's actually one
> of the reasons why we use csh quite a bit, since that is what
> Solaris/Sun OS typically uses as the command line shell (often tcsh I
> think). If you are using sh for something, you may want to use csh
> instead. In general we run SenseClusters using the csh shell.
>
> Can you clarify when and why you are using the sh shell?
>
> Thanks!
> Ted
>
> On Fri, Aug 28, 2009 at 1:02 PM, Lingzhi Zhang<[email protected]> wrote:
> > Hi, Ted,
> >
> > Thanks for your advice. The vcluster is in the path. The problem is that
> I
> > can execute under the bash shell, and csh shell. However, when I change
> to
> > sh, it does't work.
> >
> > -bash-3.2$ ls
> > libcluto.a scluster vcluster
> > -bash-3.2$ ./vcluster
> > -bash: ./vcluster: Invalid argument
> > -bash-3.2$ sh
> > $ vcluster
> > ./vcluster: cannot execute
> > $
> >
> > It seems that vcluster doesn't work under "sh", which looks also what
> shell
> > is used in the clutostopping.pl
> >
> > Running clusterstopping.pl --prefix testA1 testA1.vectors
> > sh: vcluster: cannot execute
> >
> > Here is the outup when I run:
> >
> > SunOS dab442ca.joyent.us 5.11 snv_89 i86pc i386 i86pc
> >
> > I will put those not on the workaround that we made.
> >
> > Thank you.
> >
> > Lingzhi
> >
> > On Fri, Aug 28, 2009 at 2:36 AM, Ted Pedersen <[email protected]>
> wrote:
> >>
> >> Hi Lingzhi,
> >>
> >> Cluto comes as a binary distribution only, so you have to make sure
> >> you get the right version for your hardware. If you used the intstall
> >> script that comes with SenseClusters (install.sh), you *might* be
> >> getting the wrong version, since it doesn't actually check to make
> >> sure it's getting the right one (this is a problem with that script,
> >> and it should be modified in our next release).
> >>
> >> http://glaros.dtc.umn.edu/gkhome/cluto/cluto/download
> >>
> >> By default you are getting the Linux i686 version ( cluto-2.1.1.tar.gz
> >> ), which does also work with SunOS. However, it might be that you need
> >> the other version (for reasons that I'm not entirely clear about,
> >> since both are said to work with SunOS)...
> >>
> >> http://glaros.dtc.umn.edu/gkhome/fetch/sw/cluto/cluto-2.1.2a.tar.gz
> >>
> >> This is a little bit of a guess, to be honest, but it's the first
> >> thing to check, assuming that your paths are ok. Try and run
> >>
> >> which vcluster
> >>
> >> If you get back the name of some path where vcluster resides, then
> >> it's not a path problem.
> >>
> >> If you still have problems after trying the other version, please send
> >> me the output of the following:
> >>
> >> which vcluster
> >> uname -a
> >> echo $PATH
> >>
> >> Also, some description of the other problems you had and how you
> >> worked around them might be helpful.
> >>
> >> I hope this helps, please let us know how things go!
> >>
> >> Cordially,
> >> Ted
> >>
> >>
> >>
> >> On Fri, Aug 28, 2009 at 2:25 AM, Lingzhi Zhang<[email protected]>
> wrote:
> >> > Hi, Ted,
> >> > We signed up hosting, so we tried installing Senseclusters into
> server.
> >> > It
> >> > is a solaris machine. There were some issues during installation,
> >> > however,
> >> > we found work-around. When we run the test, everything else is OK but
> >> > still
> >> > one error. The installation of CLUTO seems OK. However, it seems that
> >> > vcluster can't be execute under sh. But it is OK under bash or csh. Do
> >> > you
> >> > have a hint on how to work this around.
> >> > Lingzhi
> >> > ----------------------------------------------------
> >> > ------------- clusterstopping.pl -------------------
> >> > ----------------------------------------------------
> >> > Test A1 - Testing clusterstopping.pl with default settings.
> >> > Running clusterstopping.pl --prefix testA1 testA1.vectors
> >> > sh: vcluster: cannot execute
> >> > Error while running vcluster --clmethod rb --crfun i2 --sim cos
> >> > --rowmodel
> >> > none --colmodel none --nooutput testA1.vectors 1
> >> > STATUS : ERROR Test Results don't Match....
> >> > When Tested Against testA1.reqd -
> >> > 0a1
> >> >> 7
> >> > STATUS : OK File testA1.cr.dat created.
> >> > STATUS : OK File testA1.pk3 created.
> >> > STATUS : ERROR File testA1.pk3.dat NOT created.
> >> >
> >> > On Mon, Aug 24, 2009 at 6:23 AM, Ted Pedersen <[email protected]>
> >> > wrote:
> >> >>
> >> >> Hi Lingzhi,
> >> >>
> >> >> Thanks for the detailed report, that's really very helpful.
> >> >>
> >> >> It looks to me like everything is working pretty well, and I wouldn't
> >> >> be overly concerned about this particular error. In general there are
> >> >> some places in cluster stopping where the algorithm essentially makes
> >> >> a random choice, and there is some possibility of different platforms
> >> >> giving different results due to how random numbers are generated. If
> >> >> everything else seems to be working ok (which it does, as far as I
> can
> >> >> tell) then I think you can proceed without any concern.
> >> >>
> >> >> You may, however, want to run a case or two from your data through
> the
> >> >> web interface, just to make sure you are getting approximately the
> >> >> same results for your installation.
> >> >>
> >> >> Please let us know if there are any further questions or anomalies.
> >> >>
> >> >> Good luck!
> >> >> Ted
> >> >>
> >> >> On Sun, Aug 23, 2009 at 8:03 PM, Lingzhi Zhang<[email protected]>
> >> >> wrote:
> >> >> > Thanks Ted.
> >> >> >
> >> >> > I tried installation to Cygwin. The problem during the installation
> >> >> > that
> >> >> > I
> >> >> > had was when installing the PDL. But after running the rebase, i
> >> >> > successfully installed the PDL; the SenseCluster was installed
> >> >> > successfully
> >> >> > afterwards. ( I used the manual installation. )
> >> >> >
> >> >> > SVDPACKC was installed and run without problem. As you advised, the
> >> >> > CLUTO
> >> >> > seems to be a problem since they only distribute binary. I
> installed
> >> >> > the
> >> >> > CLUTO binary for win32. It ran, however, the clustestopping test
> >> >> > failed.
> >> >> > This is the only error that I got when running the ALL_TEST.sh,
> Other
> >> >> > than
> >> >> > that everything else worked very well. ( I seached the word "error"
> >> >> > in
> >> >> > the
> >> >> > test result )
> >> >> >
> >> >> > ----------------------------------------------------
> >> >> > ------------- clusterstopping.pl -------------------
> >> >> > ----------------------------------------------------
> >> >> > Test A1 - Testing clusterstopping.pl with default settings.
> >> >> > Running clusterstopping.pl --prefix testA1 testA1.vectors
> >> >> > STATUS : ERROR Test Results don't Match....
> >> >> > When Tested Against testA1.reqd -
> >> >> > STATUS : OK File testA1.cr.dat created.
> >> >> > STATUS : OK File testA1.pk3 created.
> >> >> > STATUS : OK File testA1.pk3.dat created.
> >> >> >
> >> >> > Do you have any advice on why this test failed? Is it related with
> >> >> > the
> >> >> > CLUTO?
> >> >> >
> >> >> > Thank you.
> >> >> >
> >> >> > Lingzhi
> >> >> >
> >> >> > PS: The test result is attached to this email.
> >> >> >
> >> >> > On Sat, Aug 22, 2009 at 1:04 PM, Ted Pedersen <[email protected]
> >
> >> >> > wrote:
> >> >> >>
> >> >> >> Hi Lingzhi,
> >> >> >>
> >> >> >> I have personally only run SenseClusters on Linux or Solaris (Sun
> >> >> >> OS).
> >> >> >> In general Perl and C are very portable, and that is what the vast
> >> >> >> majority of SenseClusters is written in. However, clustering is
> done
> >> >> >> by the Cluto package, which is only distributed in binary form,
> and
> >> >> >> that is only available for Linux, Solaris (Sun OS) and MS Windows.
> >> >> >>
> >> >> >> http://glaros.dtc.umn.edu/gkhome/cluto/cluto/download
> >> >> >>
> >> >> >> Given that, my guess is that SenseClusters wouldn't port to MacOS,
> >> >> >> but
> >> >> >> should (in theory) be portable to CygWin. However, this is just a
> >> >> >> guess, so I don't know for sure.
> >> >> >>
> >> >> >> Also, keep in mind our web interface is always available, in the
> >> >> >> event
> >> >> >> you aren't able to install on your own system.
> >> >> >>
> >> >> >> http://marimba.d.umn.edu/cgi-bin/SC-cgi/index.cgi
> >> >> >>
> >> >> >> I hope this helps. Please let us know as questions arise!
> >> >> >>
> >> >> >> Cordially,
> >> >> >> Ted
> >> >> >>
> >> >> >> On Sat, Aug 22, 2009 at 11:46 AM, Lingzhi Zhang<[email protected]
> >
> >> >> >> wrote:
> >> >> >> > Hi,
> >> >> >> > Can sensecluseter run under Cygwin or Mac OS? Did anybody try it
> >> >> >> > successfully? Or it is only tested and run under linux system.
> >> >> >> > Thanks.
> >> >> >> > Lingzhi
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> ------------------------------------------------------------------------------
> >> >> >> > Let Crystal Reports handle the reporting - Free Crystal Reports
> >> >> >> > 2008
> >> >> >> > 30-Day
> >> >> >> > trial. Simplify your report design, integration and deployment -
> >> >> >> > and
> >> >> >> > focus
> >> >> >> > on
> >> >> >> > what you do best, core application coding. Discover what's new
> >> >> >> > with
> >> >> >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> >> >> >> > _______________________________________________
> >> >> >> > senseclusters-users mailing list
> >> >> >> > [email protected]
> >> >> >> >
> https://lists.sourceforge.net/lists/listinfo/senseclusters-users
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Ted Pedersen
> >> >> >> http://www.d.umn.edu/~tpederse <http://www.d.umn.edu/%7Etpederse>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> ------------------------------------------------------------------------------
> >> >> >> Let Crystal Reports handle the reporting - Free Crystal Reports
> 2008
> >> >> >> 30-Day
> >> >> >> trial. Simplify your report design, integration and deployment -
> and
> >> >> >> focus
> >> >> >> on
> >> >> >> what you do best, core application coding. Discover what's new
> with
> >> >> >> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> >> >> >> _______________________________________________
> >> >> >> senseclusters-users mailing list
> >> >> >> [email protected]
> >> >> >> https://lists.sourceforge.net/lists/listinfo/senseclusters-users
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> ------------------------------------------------------------------------------
> >> >> > Let Crystal Reports handle the reporting - Free Crystal Reports
> 2008
> >> >> > 30-Day
> >> >> > trial. Simplify your report design, integration and deployment -
> and
> >> >> > focus
> >> >> > on
> >> >> > what you do best, core application coding. Discover what's new with
> >> >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> >> >> > _______________________________________________
> >> >> > senseclusters-users mailing list
> >> >> > [email protected]
> >> >> > https://lists.sourceforge.net/lists/listinfo/senseclusters-users
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Ted Pedersen
> >> >> http://www.d.umn.edu/~tpederse <http://www.d.umn.edu/%7Etpederse>
> >> >>
> >> >>
> >> >>
> >> >>
> ------------------------------------------------------------------------------
> >> >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> >> >> 30-Day
> >> >> trial. Simplify your report design, integration and deployment - and
> >> >> focus
> >> >> on
> >> >> what you do best, core application coding. Discover what's new with
> >> >> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> >> >> _______________________________________________
> >> >> senseclusters-users mailing list
> >> >> [email protected]
> >> >> https://lists.sourceforge.net/lists/listinfo/senseclusters-users
> >> >
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> >> > 30-Day
> >> > trial. Simplify your report design, integration and deployment - and
> >> > focus
> >> > on
> >> > what you do best, core application coding. Discover what's new with
> >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> >> > _______________________________________________
> >> > senseclusters-users mailing list
> >> > [email protected]
> >> > https://lists.sourceforge.net/lists/listinfo/senseclusters-users
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Ted Pedersen
> >> http://www.d.umn.edu/~tpederse <http://www.d.umn.edu/%7Etpederse>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> >> 30-Day
> >> trial. Simplify your report design, integration and deployment - and
> focus
> >> on
> >> what you do best, core application coding. Discover what's new with
> >> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> >> _______________________________________________
> >> senseclusters-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/senseclusters-users
> >
> >
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > senseclusters-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/senseclusters-users
> >
> >
>
>
>
> --
> Ted Pedersen
> http://www.d.umn.edu/~tpederse <http://www.d.umn.edu/%7Etpederse>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> senseclusters-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/senseclusters-users
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
senseclusters-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/senseclusters-users