v1.7.2 available

8 messages Options
Embed this post
Permalink
Michael Creel

v1.7.2 available

Reply Threaded More More options
Print post
Permalink
...see the homepage for announcement. This has ifenslave and slurm-llnl, which people had requested.
eropp

Re: v1.7.2 available

Reply Threaded More More options
Print post
Permalink
Greetings!
I really enjoyed considering this project and'ol I can say is "Thanks a lot!".
Trying to apply the Pelican to my needs with the only aim to free a lot of
hard disks from the cluster nodes, I've enjoyed a well configured cluster.
Having expirience I ask:
1. to add (possible commented) option
-----lh_config -b usb-hdd----
after line 133 (----lh_config -a "$ARCHITECTURE"----) to work with usb-flash-drive not with CD.
2.to add
----  sudo ln -s /usr/lib/openmpi/lib/libopen-rte.so.0.0.0 /usr/lib/openmpi/lib/liborte.so.0----
----  sudo ln -s /usr/lib/openmpi/lib/libopen-pal.so.0.0.0 /usr/lib/openmpi/lib/libopal.so.0----
both after line 254(----echo "/usr/bin/startx" >> /home/user/.bash_profile----) and
after line 262(----echo "\$myip is up" > /home/user/tmp/\$myip----) for compatibility with
software compiled using openmpi mpicc v<1.2.6
3. not to use kate as an editor needed ('couse of it usage in the script). A lot of people('n'so does me) hate it.
4. Building the script takes about 3 hours 'couse of my slow inet. Is there any posibility to download all needed once and after that enjoy trying to modify script using mostly local resources(packages)?
TheSin

Re: v1.7.2 available

Reply Threaded More More options
Print post
Permalink
eropp wrote:
1. to add (possible commented) option
-----lh_config -b usb-hdd----
after line 133 (----lh_config -a "$ARCHITECTURE"----) to work with usb-flash-drive not with CD.
I already have this in my new scripts that I"m going to be sending back it's a configurable option, iso or usb.

eropp wrote:
2.to add
----  sudo ln -s /usr/lib/openmpi/lib/libopen-rte.so.0.0.0 /usr/lib/openmpi/lib/liborte.so.0----
----  sudo ln -s /usr/lib/openmpi/lib/libopen-pal.so.0.0.0 /usr/lib/openmpi/lib/libopal.so.0----
both after line 254(----echo "/usr/bin/startx" >> /home/user/.bash_profile----) and
after line 262(----echo "\$myip is up" > /home/user/tmp/\$myip----) for compatibility with
software compiled using openmpi mpicc v<1.2.6
I'll add this to my setup right away does it require to run on all nodes and the master or just the master?

eropp wrote:
3. not to use kate as an editor needed ('couse of it usage in the script). A lot of people('n'so does me) hate it.
Any suggestions I'm a vi guy so I'm happy with vi on the CLi :D

eropp wrote:
4. Building the script takes about 3 hours 'couse of my slow inet. Is there any posibility to download all needed once and after that enjoy trying to modify script using mostly local resources(packages)?
This is how live-helper works it's not pelican that causes all the apt-get updates/upgrades/dist-upgrades and installs.  So I'm afraid not much can be done but I'm going to be working on adding a caching system to the script for people like us that might build it a few times (think I'm on 20 times at least now) :D

And just for the record I'm not affiliated with the pelican project I just happen to need lots of this stuff and I'm adding stuff so I might as well ad this too and send it all to the author/maintainer.
eropp

Re: v1.7.2 available

Reply Threaded More More options
Print post
Permalink
2. both. Moreover, working with my software i've to do links in shared /home/user
----OMPISH="\$HOME/ompi"----after line 281 (----PKTMP="\$HOME/tmp"----)
----mkdir \$OMPISH----after line 284(----mkdir \$PKTMP----)
----chown user.user \$OMPISH----
----chmod 777 \$OMPISH----
----ln -s /usr/bin \$OMPISH/bin----
----ln -s /usr/lib/openmpi/lib \$OMPISH/lib----after line 286(----chmod 777 \$PKTMP----)
and execute programs like ----~/ompi/bin/mpiexec --prefix ~/ompi and\so\on----
,but while /home/user is shared you can do this once after booting.
Alternative way is just rebuild package openmpi-bin-v<1.2.6-.deb to install'ol into /home/user.
In such case any nessesarity to do it eleminates.
Michael Creel

Re: v1.7.2 available

Reply Threaded More More options
Print post
Permalink
(This post was updated on )
In reply to this post by eropp
eropp wrote:
1. to add (possible commented) option
-----lh_config -b usb-hdd----
after line 133 (----lh_config -a "$ARCHITECTURE"----) to work with usb-flash-drive not with CD.
I will add this line to the script, but commented out, and I'll add some documentation that explains how a USB key image may be used. EDIT: this should go in the part for the frontend, not the nodes.

eropp wrote:
2.to add
----  sudo ln -s /usr/lib/openmpi/lib/libopen-rte.so.0.0.0 /usr/lib/openmpi/lib/liborte.so.0----
----  sudo ln -s /usr/lib/openmpi/lib/libopen-pal.so.0.0.0 /usr/lib/openmpi/lib/libopal.so.0----
both after line 254(----echo "/usr/bin/startx" >> /home/user/.bash_profile----) and
after line 262(----echo "\$myip is up" > /home/user/tmp/\$myip----) for compatibility with
software compiled using openmpi mpicc v<1.2.6
Sure, no problem. I'll add that and it will be on the next release.

eropp wrote:
3. not to use kate as an editor needed ('couse of it usage in the script). A lot of people('n'so does me) hate it.

I think that it only appears in the script in the place where  of .octaverc is written out. Anyone can edit .octaverc on a running Pelican frontend and change that to whatever editor they like (might also need to do apt-get install foo from the running Pelican frontend to make the editor available). So I don't think this one needs fixing.

eropp wrote:
4. Building the script takes about 3 hours 'couse of my slow inet. Is there any posibility to download all needed once and after that enjoy trying to modify script using mostly local resources(packages)?
The packages are cached locally after the first build, so the second build is faster. There is room for improving this, though. Check the Debian Live wiki, it has the details.


I'm glad you find it useful, and thanks for the suggestions. Cheers, M.
Michael Creel

Re: v1.7.2 available

Reply Threaded More More options
Print post
Permalink
In reply to this post by eropp
Do you think you might be able to write up a little HOWTO describing how to repackage and install into /home/user? That would probably be useful to a number of people.
Cheers, M.
eropp

Re: v1.7.2 available

Reply Threaded More More options
Print post
Permalink
(This post was updated on )
if u please:
##dpkg - package manager for Debian (c)man dpkg,
#-----------------------------------------------
cd path\to\your\package
dpkg -x ./your\package\.deb ./extracted
##extract data tree from your package into ./extracted (c)man dpkg. We'r going to change this tree
#-----------------------------------------------
dpkg -e ./your\package\.deb ./extracted/DEBIAN
##extract control info(c)man dpkg. folder name MUST be DEBIAN to build package later
#-----------------------------------------------
mkdir -p ./extracted/home/user/
mv ./extracted/usr/* ./extracted/home/user/
##creation new tree for data from the package
#-----------------------------------------------
# rm -r ./extracted/usr
##remove empty tree. not needed but nice
#-----------------------------------------------
vi ./extracted/DEBIAN/control
##U should edit version tag to specify your modified package. Also u can modify description
#-----------------------------------------------
dpkg -b ./extracted/ .
##creation ur new package from `tree and control info` stored in ./extracted (c)man dpkg
#-----------------------------------------------
#cp ./your\new\package\.deb /\your\personal\repositary #only if u know what u'r doing
#cd /\your\personal\repositary
#dpkg-scanpackages /\your\personal\repositary/ /dev/null | gzip > Packages.gz #similar
##place ur modified package to ur personal repositary to be abble to apt-get it
#------------------end-------------------------
Michael Creel

Re: v1.7.2 available

Reply Threaded More More options
Print post
Permalink
I'd like to be able to point to a little HOWTO on the topic so that people who don't know how to do it, or why it might be useful, have a place to look. If you could add a little bit of explanation and post it in a thread of its own with a descriptive subject line, that would be great.