JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for CCPNMR Archives


CCPNMR Archives

CCPNMR Archives


CCPNMR@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

CCPNMR Home

CCPNMR Home

CCPNMR  November 2004

CCPNMR November 2004

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Failure of analysis1.0.b19 on Solaris 7

From:

Wayne Boucher <[log in to unmask]>

Reply-To:

CcpNmr software mailing list <[log in to unmask]>

Date:

Mon, 22 Nov 2004 13:30:09 +0000

Content-Type:

TEXT/PLAIN

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (146 lines)

Thanks for all of that.  The easy bits first.

I'm not sure why createSymbolicLinks() in the installation script is not
working, especially when the same command seems to be working when you do
it by hand.  Perhaps a different shell is in place when python does that
command (via a system call).  (Ah, looking at your error message again it
mentions sh, so this could indeed be the problem.)  Once upon a time we
had the links explicitly done instead of that source command, but we
occasionally add a *.so file and it's easy to forget to add it into this
script, hence we thought it better to instead maintain a file which we
notice.

CloudUtil.so, although it exists in the C clouds directory, is not
actually used for anything yet in the Python world, hence we haven't yet
added it to the linkSharedObjs list.  Of course it does no harm to have it
linked in.

When Clouds was first released the imports were such that it forced people
to compile it.  But hopefully now (and in future) it will be set up so
that only if you try to use Clouds functionality will you be required to
compile the C code.  The installation script compiles it automatically,
but I mean if someone does the compilation by hand.

Now the hard bit.

Let me first say that we have not had any experience with Solaris so are
pig ignorant about it.  As it happens the big faculty server here has just
moved to Solaris 9 (I am told) and I'm now looking at that to see if we
can try Analysis on that.  (There seem to be several options on C
compilers.  We have something called Forte Developer 7 C compiler, which
seems to be some Sun compiler but obviously a different name than what you
mention so I'm not sure how they compare.  We also have gcc 3.3 although
I'm not sure it's been tested out on anything yet on that machine.  I'm
not sure if we have any native OpenGL on the machine, we ought to but I
can't find it yet.)

These OpenGL BadMatch errors are a bloody pain.  With the recent email
exchange about SGI it seems to have been caused by Python picking up a
non-double-buffered widget somehow with the native OpenGL, but not with
Mesa.  My guess is that here it's probably a different problem.  On Linux
platforms there is an endless nightmare with incompatibilities between
various OpenGL implementations and somehow parts of more than one are
picked up by the loader.  The main culprit is usually glut (but it could
be other combinations of OpenGL libraries).  Almost anything to do with
glut seems to cause problems for most OpenGL implementations.  That is one
nice thing (perhaps the main nice thing) about Mesa, they provide both
OpenGL and glut so they are pretty certain to be compatible.

Glut is currently used only to draw text in Analysis.  Unless it proves
impossible (and fonts in OpenGL are horrid) we definitely intend to get
rid of it.  That should remove a lot of problems (but perhaps not yours).

Until we manage (hopefully soon) to work with Analysis on solaris it's
going to be hard to say any more.  Of course our server is on Solaris 9
and your machine is on Solaris 7, so that in itself might mean it's hard
to deduce anything from one situation to the other.

Wayne

On Fri, 19 Nov 2004, Bruce D. Ray wrote:

> System consists of Sun Ultra 10 with Solaris 7.
> Compiler is fully patched Sun WorkshopPro 5.0.
> OpenGL is ogl13_rt32_64.shar with the Sun patches 113886-20 and
> 113887-20 installed (order of installation is important).
>
> glut compiled from sources is 3.7 and gives libglut.a only because
> the author does not wish to deal with the differences in shared
> object compilations with different platforms.
>
> python is 2.3.4 compiled with the modification to socketmodule.c
> as noted on the sourceforge python bugtracker, item 972724 for lack
> of AF_INET6 and INET_ADDRSTRLEN in the Solaris 7 headers.  Note that
> the suggestion for python 2.3.3c1, item 854823, does not produce
> the same functionality.  Numeric 23.3 is also present in this python.
>
> tcl/tk is 8.3.5 with tix 8.1.4
>
> X11, GL, and libglut.a are under /usr/openwin
> python, tcl, and tk are under /usr/local
>
> As noted previously, installCode.py sets up the compilation
> correctly without modification.  While the compilation itself
> does not report any errors, post compilation link generation
> reports an inability to source the link generation shell
> scripts.  The error message stated that there wasn't anything
> to source.  The section of code called to source the shell
> script reads:
>
>      def createSymbolicLinks():
>
>        os.chdir('%s/python/ccpnmr/analysis' % ccpnmr_rel_dir)
>        cmds = ['source linkSharedObjs']
>        runCmds(cmds)
>
>        os.chdir('../clouds')
>        cmds = ['source linkSharedObjs']
>        runCmds(cmds)
>
>        os.chdir('../../../..')
>
>
> I manually changed to the indicated directories and was able both
> to find and to source the indicated shell script.  As a side note,
> I find that the utilities shared object in clouds is not linked
> to anything.  After correcting this problem of unlinked shared
> objects, analysis presented its initial menu properly.
>
>
> An attempt to work through the analysis tutorial produced the
> following output:
>
>
>      CCPNMR Analysis Version 1.0.b Release 19 (Copyright 2003-2004 CCPN)
>      Distribution created Fri Nov 19 10:47:36 2004
>      >>> start generating ccp.Method output
>      start generating ccp.Nmr output
>      start generating ccpnmr.Analysis output
>      start generating memops.Implementation output
>      Spectrum successfully opened
>      X Error of failed request:  BadMatch (invalid parameter attributes)
>        Major opcode of failed request:  152 (GLX)
>        Minor opcode of failed request:  5 (X_GLXMakeCurrent)
>        Serial number of failed request:  18979
>        Current serial number in output stream:  18979
>
>
> I could start a new project and save that project.  I could
> open a spectrum and work through the popup windows just up
> to the point where the spectrum was to be displayed.  Then
> I got the opengl error.
>
>
> Sincerely,
>
>
> --
> Bruce D. Ray, Ph.D.
> Associate Scientist, and Operations Director
> NMR Center
> IUPUI
> Physics Dept.
> 402 N. Blackford St.
> Indianapolis, IN  46202-3273
>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager