climateprediction.net home page
Posts by Greg Tippitt

Posts by Greg Tippitt

1) Questions and Answers : Unix/Linux : Moving projects from /var to /home (Message 51429)
Posted 18 Feb 2015 by Greg Tippitt
Post:
I have a small linux cluster with 7 nodes at home that I use for playing with MPC stuff. The nodes all boot from USB flash drives and are otherwise diskless. To feed data to its 182 AMD cores, I needed more disk space than I had on the USB thumb drives.

The easiest way I found to move the BOINC data folder on linux was to edit the file "/etc/default/boinc-client". I changed the "BOINC_USER=" to the user id that I normally use for logging onto the machines to avoid permission problems. I changed the "BOINC_DIR=" to a "BOINC" folder in my home folder that is a mount for a iSCSI drive from my disk server.

To move an existing installation of BOINC on a machine, is used the following commands to move the files to the new folder and change the ownership of the files.

sudo move /var/lib/boinc-client/* /home/gtippitt/BOINC
sudo chown -R /home/gtippitt/BOINC gtippitt

I reinstalled the BOINC software to be on the safe side. If asked about the config file, remember to keep the edited one rather than replace it with the default.

sudo aptitude reinstall boinc boinc-client boinc-manager


When I add a new node to the cluster, I copy the "/etc/default/boinc-client" from another node before installing BOINC, and everything lands in its new folder.

Each of the cluster's nodes is a SuperMicro H8QME-2 motherboard with 4 hex core CPUs. With all the jobs running, I got lots of errors when using NFS or CIFS/SMB for disk mounts. Even with dedicated hardwired full duplex gigabit ethernet links from each node to the disk server, no amount of network tuning seemed to eliminate the errors. Changing to iSCSI for the disk mounts has been much cleaner and faster.

2) Questions and Answers : Unix/Linux : *** Running 32bit CPDN from 64bit Linux - Discussion *** (Message 51428)
Posted 18 Feb 2015 by Greg Tippitt
Post:
I have some systems running 64 bit Ubuntu 14.04 LTS. I used the command below to install extra stuff that got CPDN jobs running for me.

   sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 -y





©2024 climateprediction.net