[Rocks-Discuss] Viz Roll in 5.3 lacking demo SAGE software...

24 views
Skip to first unread message

Angel de Vicente

unread,
Mar 4, 2010, 5:08:04 PM3/4/10
to Discussion of Rocks Clusters
Hi,

I'm still struggling to get OpenGL applications running in my Rocks
cluster. Last week I tried with Rocks 5.2 and today I just had another go
with Rocks 5.3. With Chromium, glxgears is fine, but anything more
complicated (I tried Google Earth and Stellarium) segfaults.

With SAGE, the ROCKS version does not come with the GL capture library,
but it doesn't even come with some of the basic demo programs (atlantis
and imageviewer). I compiled my own version of SAGE, and everything seems
to work more or less fine, but still cannot make it work with the GL
capture library. When trying glxgears I get the following error:

Running with command: /usr/bin/ssh -x 10.1.1.1 cd $SAGE_DIRECTORY/bin/
;env DISPLAY=:0.0 RUN.gl glxgears
>>>> EXECUTING: RUN.gl glxgears
PID = 21612
GL> glViewport 0 0 300 300
GL> glViewport 0 0 300 300
GL> creating 1280x1024 buffer
SAIL sync server created
sageSyncClient :: connectToServer(): sync server 127.0.0.1 : 0 is not ready

Anyone got this working? I have the feeling that something in my
configuration files has to be wrong, but it still beats me..

Thanks,
Ángel
--
+---------------------------------------------+
| |
| http://www.iac.es/galeria/angelv/ |
| |
| High Performance Computing Support PostDoc |
| Instituto de Astrofísica de Canarias |
| |
+---------------------------------------------+

Mason J. Katz

unread,
Mar 4, 2010, 5:30:28 PM3/4/10
to Discussion of Rocks Clusters
For Sage if you cd into ~/.sage/bin I believe you will find the
binaries for several demo applications that can be run directly on the
command line. You are correct that we do not include any demo apps in
the SAGE menus, but on the command line things are there.

For Google Earth to run on chromium you need to make sure you have the
32bit libs installed and then also turn off the atmosphere.
http://www.rocksclusters.org/roll-documentation/viz/5.3/x351.html ,
section 4.2.3.1

mason katz
+1.240.724.6825

calc...@aol.com

unread,
Mar 4, 2010, 6:15:55 PM3/4/10
to npaci-rocks...@sdsc.edu
Please excuse my NOOBiness, but I am interested in running Rocks at my
school. I already use SAGE. Do you mean to say that SAGE is included
when I install Rocks? Wow, that would be nice! I was just having a
bear of a time compiling SAGE from source recently. We usually just
use www.sagenb.org or the SAGE live CD. Also, the VIZ roll includes
openGL? Wow, I think I'm in love....

TIA,
A. Jorge Garcia
http://calcpage.tripod.com

Teacher & Professor
Applied Mathematics, Physics & Computer Science
Baldwin Senior High School & Nassau Community College

Mason J. Katz

unread,
Mar 4, 2010, 6:22:45 PM3/4/10
to Discussion of Rocks Clusters
Different SAGE. This one is a graphical environment for display walls
(hence the viz roll). See
http://www.evl.uic.edu/cavern/sage/index.php.

As for OpenGL, it is there as part of the base OS and can be added to
nodes, what do you want to do with opengl on your cluster?

mason katz
+1.240.724.6825

calc...@aol.com

unread,
Mar 4, 2010, 6:35:21 PM3/4/10
to npaci-rocks...@sdsc.edu
>>
My engineering son hates this type of question, and although he and I
differ on many points, I have to agree with him here. We are mixing a
theoretical shape (infinitely long) with a physical situation. The
Horn of Gabriel cannot exist in the real world and so it makes no sense
to fill it with real paint. The two worlds are not compatible.
<<

OOPs, sorry about that! I don't have a cluster yet. But, I do have
some enthusiastic independent study students who took AP Computer
Science last year and want to set up a cluster as a research project
this year as seniors.

We used to have an openMOSIX cluster based on 25 pentium class PCs. We
did some number crunching (finding large Mersenne Primes), Fractals,
and Ray Tracings. Take a look at http://www.zazzle.com/cistheta2008
for example.

Now, we are at a loss of what to do as we just got 25 new dualcore AMD
64-bit Athlons! Last year we set up Debian on each node and just wrote
bash scripts to distribute povray jobs over the cluster using public
authenticated ssh. This year we tried 64-bit Fedora 12 and openMPI,
but got stuck getting that to work. Sounds like Rocks is like what we
were trying to set up this year.Any suggestions would be appreciated!

TIA,
A. Jorge Garcia
http://calcpage.tripod.com

Teacher & Professor
Applied Mathematics, Physics & Computer Science
Baldwin Senior High School & Nassau Community College

Angel de Vicente

unread,
Mar 4, 2010, 6:47:07 PM3/4/10
to Discussion of Rocks Clusters
Hi,

On Thu, 04 Mar 2010 22:30:28 -0000, Mason J. Katz <mason...@gmail.com>
wrote:

> For Sage if you cd into ~/.sage/bin I believe you will find the
> binaries for several demo applications that can be run directly on the
> command line. You are correct that we do not include any demo apps in
> the SAGE menus, but on the command line things are there.

They were there in version 5.2, but in 5.3 imageviewer and atlantis
executables are not there anymore...

> For Google Earth to run on chromium you need to make sure you have the
> 32bit libs installed and then also turn off the atmosphere.
> http://www.rocksclusters.org/roll-documentation/viz/5.3/x351.html ,
> section 4.2.3.1

Yes, I have the 32bit libs, it works fine with Chromium disabled, but
after enabling it I get a segfault:

[angelv@vaiven ~]$ googleearth
CR Warning(vaiven:9210): the OpenGL faker was loaded without crappfaker!
Defaulting to an application id of -1!
[...]
CR Info(tile-0-0:26576): Total output dimensions = (5120, 1024)
CR Info(tile-0-1:26582): Total output dimensions = (5120, 1024)
CR Info(tile-0-0:26568): Total output dimensions = (5120, 1024)
CR Info(tile-0-1:26576): Total output dimensions = (5120, 1024)
CR Warning(vaiven:9210): glXChooseVisual: ignoring attribute 0x22
CR Warning(tile-0-0:26576): __tcpip_read_exact() error: Bad address
CR Warning(tile-0-0:26576): Bad juju: 10485760 197100 on socket 0xb
CR Warning(tile-0-0:26576): CRServer: Last client disconnected - exiting.
Google Earth has caught signal 11.

In any case, I'm now more interested in looking at the GL caputer library
with SAGE, but this also doesn't come with the SAGE installed with Rocks,
and when I install it myself I get the error mentioned in my first post
(sageSyncClient :: connectToServer(): sync server 127.0.0.1 : 0 is not
ready). Do you know if there is any good guide on how to debug problems
with SAGE?

Thanks,
Ángel de Vicente

Reply all
Reply to author
Forward
0 new messages