|
This post was updated on .
Prerequisites: Once you're in Ubuntu, take these steps to login as root:
Make Pelican Prerequisites
Make Pelican Custom CD Follow these steps to make the Pelican custom CD
Hardware Configuration This is the hardware configuration that I use to set up the computing nodes with internet connection on the front end node (See image).
Front End Node:
Compute Node:
Router and Switch
Booting Up Front End and Computing Nodes
Note:
Testing the MPI
Follow these steps to run the MPI across all nodes:
greeting.c #include <stdio.h> #include "mpi.h" int main(int argc, char *argv[ ]) { int rank, size; char name[MPI_MAX_PROCESSOR_NAME]; int resultLength; MPI_Init(&argc, &argv); MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
MPI_Get_processor_name(name, &resultLength);printf("%s: I am %d of %d\n", name, rank, size); MPI_Finalize(); return 0; }
Virtual Box
Virtual box configurations and boot up are the same. Make sure you set up the front end node with two Network adapters: PCnet-FAST III NAT for connection to internet and PCnet-FAST III (Internal network, 'intnet') for connection to the compute nodes. All compute nodes should have only a single NIC: PCnet-FASTIII (Internal network, 'intnet'). Boot up the front end node first before booting up each of the node during the prompt for compute node at "pelican_setup".
Many thanks to Michael Creel for his quick replies, I got the whole thing up in 2 days! |
|
Administrator
|
Thanks a lot for taking the time to write this. I'm going to put a link to this thread in the documentation section of the homepage.
In principle, you can build a Pelican image on any Linux distro, you just need to install live-helper using the source package, rather than the .deb. I have only used Debian and Ubuntu myself, but there's no reason why you can't use other distros. The additional requirements are wget, rsync, and debootstrap. I am pretty sure that subversion is not required. |
|
Your welcome, this is for my future reference too! Thank you for your quick replies!! I will change the post to reflect your reply. I'm on my way to building great parallel applications!
Many thanks Eugene |
|
Administrator
|
I had a look at the opennature.org site, and I see that you are doing some very interesting scientific work. The Shift-Life app is currently running in another tab of my browser, evolving in a pretty interesting way. I can see how MPI might be useful to you. I how you find PelicanHPC to be useful. Let me know if you have any problems.
M. |
|
Hi Michael,
Thanks for your comments, I'll be using PelicanHPC to do mainly Ecological Modelling with Vegetation. We're mapping the Palaeo-environment of Doggerland (North Sea basin) and there might be a big project next year. A few clusters definitely isn't enough!! In the future, I'm moving on to modelling vagile life-forms (issues with climate change and invasive species). I shall certainly contact you if I come across any problems. Many thanks Eugene |
|
In reply to this post by genechng
Hello,
I am using Pelican to Build a cluster for medical pictures. for that, i use Virtualbox or CDRom Bootable. My question is: when my application turn on on my cluster, what i must to do to store my data in the local hard disks ? I need your help Thanks Best regards to you |
|
Hi there,
For virtualbox, you could mount a shared folder using the command: sudo mount -t vboxsf vbubuntu shared/ vbubuntu is the name of your virtualbox shared folder, and 'shared' is the folder name you create in your linux file systems. For a physical setup, you'll have the internet working, I generally just save files from the internet or copy & paste from a code from google docs. You could also enable a USB drive, look around the forum on how to do this. Regards Eugene |
|
Thanks for your reply,
I don't working on ubuntu OS. I am using virtualbox on Windows XP and i run my frontend node there. I have access to network. My sources code are on windows partition so i want to compile & run it on cluster(virtual frontend and 4 physical nodes). For that, first i don't how access my sources folders from local disk and how to store my datas after run my programs. Regards Youscoul |
|
Hi Youscoul,
Since you have the internet connection, would sending your files to an email and then downloading it be easier? Eugene |
|
Hi,
I had discute with Michael, he explains me how to store data. Your idea is neat too but i do a very important work, and my data doesn't has be sending by internet. It's for medical pictures. I will try to create a partition ext2 on my frontend node that already has windows xp, and i will give that new partition to pelican for mounted in /home directory. As the virtual has limited, i decided to use pelican from bootable CDRom and i won't use virtualbox in that case. After, i will post all my configurations for you. Best regards, Youscoul |
|
Hey Youscoul,
Excellent! It is much more convenient that way too. I generally work on virtualbox to get everything sorted prior to running the algorithms on a physical machine. Good luck Eugene |
|
Hi Eugene,
If i want to make my own pelican live CD adding Drivers packages for my NIC, Is that's possible ? then where i have to add those packages ? My compute node has four cores, and Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network Connection, i need to install its driver, so could you help me please ? Best regards Youscoul |
|
Hi Youscoul
You'll have to find out the package name for your NIC. And add it to the package list in "make_pelican-v2.1". There are instructions in the tutorial above under the heading "Make Pelican Prerequisites". Instructions are also available in Michael's tutorials. All the best Eugene |
|
Administrator
|
Unfortunately, this NIC isn't supported by the kernel used in Debian Lenny, so it's not just a matter of adding a package. This NIC is supported in newer kernels (e.g., in Debian squeeze and sid) but unfortunately, make_pelican is not currently working with squeeze or sid. So, the easiest solution is to switch the NIC.
|
|
In reply to this post by genechng
Hi,
I try to build my own pelican liveCD on ubuntu 9.10. I had installed live-helper. And my ubuntu already has latest versions of debootstrap, rsync and wget. shell: dpkg -i live-helper XXXX is doing and ok. but when I type "sh make_pelican xx" to build, after 7 minutes i have messages errors such as : P: Begin unmounting filesystems... umount: proc-live: n'a pas été trouvé umount: sysfs-live: n'a pas été trouvé umount: devpts-live: n'a pas été trouvé So what means that ? Best regards to you, Youscoul |
|
Administrator
|
Those aren't errors, those are the normal messages to see when a build is finished. In the directory where you did this, you should find a directory amd64 or i386, depending on which architecture you used. In that directory, there will be a directory "frontend", which should have a file "binary.iso". That is your new CD image. If it is not there, then a problem occurred.
|
|
Yes,
I have a directory amd64 and fronted in it. But no binary file is available, i have just this: amd64/frontend/auto, cache, chroot, and config directory. Cheers, Youscoul |
|
Administrator
|
OK, then you should scroll up in the terminal to find an error message, to see what is the problem. Which version of live-helper are you using?
|
|
I am using, live-helper_2.0~a16-1_all.deb.
|
|
This is another message error:
rsync: change_dir "/home/ycoulibaly/pelicanhome" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1057) [sender=3.0.6] rsync: change_dir "/home/ycoulibaly/packages" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 2 Did anyone has the same error building its own pelicanlive. Thank |
| Powered by Nabble | See how NAML generates this page |
