climateprediction.net home page
Show graphics; stopping and starting

Show graphics; stopping and starting

Questions and Answers : Unix/Linux : Show graphics; stopping and starting
Message board moderation

To post messages, you must log in.

AuthorMessage
old_user68986

Send message
Joined: 5 Apr 05
Posts: 12
Credit: 38,219
RAC: 0
Message 13134 - Posted: 5 Jun 2005, 18:37:33 UTC

After lots of problems with CPN running underXP, I\'m giving Lunix a go (Suse 9.1)

I downloaded the self-extracting file from Boinc, and ran sh boinc_4.43_i686-pc-linux-gnu.sh as instructed. It\'s by no means clear what to do next, but in reality everything seems to be, more or less done for you. I clicked on the boincmgr icon in my home directory window , added the CPN URL and my account ID and, eventually, I had an executing model. If it\'s as easy as this, I do wonder why the instructions can\'t make this clearer. Small moan aside, I\'ve two problems.

1 The show graphics button doesn\'t work

2 I don\'t know how to start and stop the BOINC manager gracefully, i.e. without risking the loss of work - I want to swwitch Linux off now and again. It\'s a dual-boot system and sometimes I have to run Windows.

I\'m very much a Linux newbie, but keen to learn.

Can anyone help please?
ID: 13134 · Report as offensive     Reply Quote
belgix

Send message
Joined: 5 Aug 04
Posts: 85
Credit: 2,924,043
RAC: 0
Message 13137 - Posted: 5 Jun 2005, 22:59:52 UTC
Last modified: 6 Jun 2005, 1:28:40 UTC

Boinc 4.43 for Linux is still in development and even if this version seems fairly stable you may expect to find some bugs. I had already found those ones ...

1) Graphic functions do not works at all (but if you really want to watch visualisation, run hadsm3viz_4.13_i686-pc-linux-gnu appl. in your BOINC/projects/climateprediction.net directory)
2) Web sites button does not works at all. I'm only having/using Konqueror.
3) The menus do not hide if you click outside the displayed box.
4) Because fonts are too big, I cannot see the entire contents of the HTTP & SOCKS Proxies menus. Not an issue for me because my setup doesn't require using it.
5) The progress status indicates progress done in the phase being processed.

Don't worry to close BOINC manager at any time. Under 4.43, client and manager apps run independently & after a month, I didn't lost any WU.
ID: 13137 · Report as offensive     Reply Quote
Arnaud

Send message
Joined: 3 Sep 04
Posts: 268
Credit: 256,045
RAC: 0
Message 13147 - Posted: 6 Jun 2005, 4:24:45 UTC
Last modified: 6 Jun 2005, 4:32:22 UTC

1. cd to home/your_name/BOINC/projects/climateprediction.net and type: ./viz
if you have 2 models on an HT machine, you can type the name of the wu after ./viz: ./viz 2voi0_4542313545 for exemple. perhaps you'll need a library called libstd6: you can download it on the internet in rpm.

boincmanager and boinc are 2 differents programs. you can quit boincmanager and boinc is still running. you can kill the boinc process without problem in Ksysguard or in command-line. never noticed any problem doing it.
Killing boincmanager doesn't affect boinc. killing boinc while boincmanager is running: you'll see boincmanager saying it is disconnected from localhost.
You can even boot or reboot your machine without paying attention to boinc or boincmanager: boinc is stable in Linux and will not throw errors for that reason (I reboot everyday on one of my dual-boot machine since several months and never had an error: I use a little script place in the /.kde/autostart folder to launch boinc automatically).
HTH.
ID: 13147 · Report as offensive     Reply Quote
old_user68986

Send message
Joined: 5 Apr 05
Posts: 12
Credit: 38,219
RAC: 0
Message 13173 - Posted: 6 Jun 2005, 13:07:21 UTC - in response to Message 13147.  

> 1. cd to home/your_name/BOINC/projects/climateprediction.net and type: ./viz
> if you have 2 models on an HT machine, you can type the name of the wu after
> ./viz: ./viz 2voi0_4542313545 for exemple. perhaps you'll need a library
> called libstd6: you can download it on the internet in rpm.
>
> boincmanager and boinc are 2 differents programs. you can quit boincmanager
> and boinc is still running. you can kill the boinc process without problem in
> Ksysguard or in command-line. never noticed any problem doing it.
> Killing boincmanager doesn't affect boinc. killing boinc while boincmanager is
> running: you'll see boincmanager saying it is disconnected from localhost.
> You can even boot or reboot your machine without paying attention to boinc or
> boincmanager: boinc is stable in Linux and will not throw errors for that
> reason (I reboot everyday on one of my dual-boot machine since several months
> and never had an error: I use a little script place in the /.kde/autostart
> folder to launch boinc automatically).
> HTH.
>

Many thanks
I'm fairly confident I'll now be able to get the graphics interface running - I need to, it's the only way I know how to tell which phase I'm in, and two of my XP runs (after nearly two weeks solid computation in each case) failed to progress beyond phase 1.

Unfortunately, I seem to have made a mess of shuting down CPN. I assumed that I could just shutdown Linux and the OS would handle BOINC, leaving everything ready to run again when I started-up Linux. What I seem to have done is to have killed boinc, as the boincmanger shows no work units and tells me I'm disconnected from the local host. I've been here before, and got round the problem then by re-installing boinc and starting again.

Is there a better of getting CPN running again?

I think I can solve this problem by suspending the running WU before shuting down Linux

Is this the right approach?

Thanks again for your help and patience.

RD




ID: 13173 · Report as offensive     Reply Quote
Arnaud

Send message
Joined: 3 Sep 04
Posts: 268
Credit: 256,045
RAC: 0
Message 13179 - Posted: 6 Jun 2005, 19:30:33 UTC
Last modified: 6 Jun 2005, 20:12:18 UTC

Yeah.
Boinc and BOINCmanager are 2 differents programs.
When you boot your machine, boinc is not started. Then you launch boincmanager which is looking for a instance of boinc: it doesn't find it and tells you that it is disconnected from localhost.
What you must do: start boinc (cd to the boinc directory and type ./boinc in a terminal box) and after that start the boincmanager.
You can also start boinc automatically by running a little script that you'll find <a href="http://boinc.berkeley.edu/autostart_unix.txt">here</a> or <a href="http://www.boincforum.info/boinc/viewtopic.php?p=1494#1494">here</a>
Place the script in /home/your_name/.kde/autostart and reboot your machine: boinc should start automatically each time you boot your machine.
In theory you can stop you machine without stopping boinc or boincmanager because linux send a "kill all" command to stop all the processes.
Well I stop my machines like that and I have no problem of stability.
EDIT: you can also go here: http://boinc.berkeley.edu/bare_core.php
for more info on the auto-start of boinc in Unix/linux machines
ID: 13179 · Report as offensive     Reply Quote
old_user68986

Send message
Joined: 5 Apr 05
Posts: 12
Credit: 38,219
RAC: 0
Message 13204 - Posted: 7 Jun 2005, 18:13:52 UTC - in response to Message 13179.  

&gt;
Many thanks - I've now workded out the distinction between boinc and boinmgr and can happily start either program from the terminal. Also, as everybody says starting and stopping in Linux is no problem, provided you realise that boinmgr is really just a very limited window on the boinc client and, naturally, you have to start the client before the window can work. I'll follow up your suggested links to learn a bit more about all this.

One small, last problem, now I can follow the client in the terminal window I don't really need a graphical interface, but it would be nice to see it, particularly when, hopefully, I finally get to phase 3, but for some reason my /home/roger/projects/climateprediction.net folder is empty, so there's no viz executable file. I've yet to reach the end of December 1810, will the climateprediction.net files appear eventually?
ID: 13204 · Report as offensive     Reply Quote
Arnaud

Send message
Joined: 3 Sep 04
Posts: 268
Credit: 256,045
RAC: 0
Message 13205 - Posted: 7 Jun 2005, 18:34:29 UTC
Last modified: 7 Jun 2005, 19:30:29 UTC

Your path should be /home/roger/<b>BOINC</b>/climate....
It can't be empty, because there are all the app and data folders in it.
The viz exe is named hadsm3viz_4.13_i686-pc-linux-gnu.
ID: 13205 · Report as offensive     Reply Quote
old_user68986

Send message
Joined: 5 Apr 05
Posts: 12
Credit: 38,219
RAC: 0
Message 13244 - Posted: 8 Jun 2005, 16:11:49 UTC - in response to Message 13205.  

&gt; Your path should be /home/roger/<b>BOINC</b>/climate....
&gt; It can't be empty, because there are all the app and data folders in it.
&gt; The viz exe is named hadsm3viz_4.13_i686-pc-linux-gnu.
&gt;
&gt;Oops - now got the path right, it's a bit confusing, there are two project folders in my home directionary, both with a climateprediction sub folder - one of which really is empty.

Anyway, I've now found the right one, but attempting to run viz gets me:

roger@linux:~/BOINC/projects/climateprediction.net&gt; ./viz
./hadsm3viz_4.13_i686-pc-linux-gnu: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
roger@linux:~/BOINC/projects/climateprediction.net&gt;

You've be a great help so far - any suggestions for my next move?
ID: 13244 · Report as offensive     Reply Quote
Arnaud

Send message
Joined: 3 Sep 04
Posts: 268
Credit: 256,045
RAC: 0
Message 13245 - Posted: 8 Jun 2005, 16:28:57 UTC
Last modified: 8 Jun 2005, 17:38:34 UTC

Yeap,
You need to download this library on the Internet and install it on your machine/
To do this you have several ways:
1.You can use a program like apt, yum or urpmi (it depends of the linux distrib you use). In mandrake you type :urpmi libstdc++6 (as a root user) and the library will install itself automatically from the internet (of course urpm must be configure correctly)
2.On mandrake or Suse, you can use a RPM (you can find it using google or you can try this adress: http://rpmseek.com/rpm-pl/libstdc%5C%5C6.html?hl=de&amp;cx=0:: (try libstdc++6-3.4.1-4mdk.i586.rpm or libstdc++6-3.4.3-7mdk.i586.rpm package :I don't remember which one is working on my suse box, sorry)
If you're using a DVD of Suse, try and look for this lib on the DVD with Yast (unlikely, but you can try..)
3.You can download the sources of the library and install it yourself on your machine
HTH a little...
ID: 13245 · Report as offensive     Reply Quote
old_user68986

Send message
Joined: 5 Apr 05
Posts: 12
Credit: 38,219
RAC: 0
Message 13251 - Posted: 8 Jun 2005, 19:13:52 UTC - in response to Message 13245.  

&gt; Yeap,
&gt; You need to download this library on the Internet and install it on your
&gt; machine/
&gt; To do this you have several ways:
&gt; 1.You can use a program like apt, yum or urpmi (it depends of the linux
&gt; distrib you use). In mandrake you type :urpmi libstdc++6 (as a root user) and
&gt; the library will install itself automatically from the internet (of course
&gt; urpm must be configure correctly)
&gt; 2.On mandrake or Suse, you can use a RPM (you can find it using google or you
&gt; can try this adress:
&gt; http://rpmseek.com/rpm-pl/libstdc%5C%5C6.html?hl=de&amp;cx=0:: (try
&gt; libstdc++6-3.4.1-4mdk.i586.rpm or libstdc++6-3.4.3-7mdk.i586.rpm package :I
&gt; don't remember which one is working on my suse box, sorry)
&gt; If you're using a DVD of Suse, try and look for this lib on the DVD with Yast
&gt; (unlikely, but you can try..)
&gt; 3.You can download the sources of the library and install it yourself on your
&gt; machine
&gt; HTH a little...
&gt;
Brilliant! found the rpm with the aid of Google- for Mandrake but works OK- at:
http://rpmseek.com/rpm-dl/libstdc%5C%5C6-3.4.1-4mdk.i586.html?hl=de&amp;cx=0:-:0:1781028:0:0:0
Installed with the excellent Suse Yast.

viz now working - thanks for all your help
&gt;
ID: 13251 · Report as offensive     Reply Quote
Arnaud

Send message
Joined: 3 Sep 04
Posts: 268
Credit: 256,045
RAC: 0
Message 13253 - Posted: 8 Jun 2005, 19:36:24 UTC

Ok, happy crunching :o)
ID: 13253 · Report as offensive     Reply Quote
Jean-David Beyer

Send message
Joined: 5 Aug 04
Posts: 1120
Credit: 17,202,915
RAC: 2,154
Message 15638 - Posted: 3 Sep 2005, 12:13:33 UTC - in response to Message 13245.  

&gt; Yeap,
&gt; You need to download this library on the Internet and install it on your
&gt; machine/
&gt; To do this you have several ways:
&gt; 1.You can use a program like apt, yum or urpmi (it depends of the linux
&gt; distrib you use). In mandrake you type :urpmi libstdc++6 (as a root user) and
&gt; the library will install itself automatically from the internet (of course
&gt; urpm must be configure correctly)
&gt; 2.On mandrake or Suse, you can use a RPM (you can find it using google or you
&gt; can try this adress:
&gt; http://rpmseek.com/rpm-pl/libstdc%5C%5C6.html?hl=de&amp;cx=0:: (try
&gt; libstdc++6-3.4.1-4mdk.i586.rpm or libstdc++6-3.4.3-7mdk.i586.rpm package :I
&gt; don't remember which one is working on my suse box, sorry)
&gt; If you're using a DVD of Suse, try and look for this lib on the DVD with Yast
&gt; (unlikely, but you can try..)
&gt; 3.You can download the sources of the library and install it yourself on your
&gt; machine
&gt; HTH a little...
&gt;
Does not actually work for me (Red Hat Enterprise Linux 3). I already have
libstdc++.so.6, but it is here: /lib/ssa/libstdc++.so.6.0.0. If I put a link to it in /usr/lib, and try to run viz, it complains about a bad version of something else. Not worth trying to make it work.
ID: 15638 · Report as offensive     Reply Quote
Arnaud

Send message
Joined: 3 Sep 04
Posts: 268
Credit: 256,045
RAC: 0
Message 15641 - Posted: 3 Sep 2005, 14:24:50 UTC
Last modified: 3 Sep 2005, 14:26:25 UTC

Hi,

1.What model are you running: slab or sulphur ? (this thread was written when there were only slab models)
2.Could you post the message you're receiving ?
3.hypothesis: if you're running sulphur, it's possible that your libstdc++6 is too old.
Try to use an up-to-date version of libstdc++6 (I use libstdc++.so.6.0.5, but I can't assure you that it is up-to-date)
You can find libstdc++so.6.0.5 here:
http://debian.vinita.lt/debian/pool/main/g/gcc-4.0/libstdc++6_4.0.1-6_i386.deb (it's inside the usr directory)

(If you drop the libstdc++.so.6.0.5 file in /usr/lib/ executing
LD_LIBRARY_PATH=/usr/lib/ might help)

-----------------------------------------------
<a href="http://boinc-doc.net/boinc-wiki/index.php?title=Main_Page">Boinc Wiki</a>
<a href="http://forum.boinc.fr/">L'Alliance Francophone</a>
ID: 15641 · Report as offensive     Reply Quote
old_user1
Avatar

Send message
Joined: 5 Aug 04
Posts: 907
Credit: 299,864
RAC: 0
Message 15643 - Posted: 3 Sep 2005, 17:11:24 UTC - in response to Message 15641.  

we're going to soon setup a machine for making Linux executables which will hopefully have older libs that everyone should have (i.e. BOINC developers have suggested Debian Woody -- with no updates). This should be within a week and hopefully we can get more "friendlier" versions of the slab model (hadsm3) and sulphur cycle execs out there.
ID: 15643 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : Show graphics; stopping and starting

©2024 cpdn.org