Tokens — Page 30

Son 1 senenin Özeti

Şöyle bir paradox var: MPI ile çok hesaplama gücü ama az iletişim gerektiren problemleri en iyi çözeriz. Ama çoğu problemde hesaplama ile ortaya çıkan ara çözümler hesaplama miktarı ile doğru orantılı olarak artıyorlar. Bunun bir nedeni hesaplamayı arttırmanın paralelleştirmeye uygun en iyi/kolay yolu işlenecek veri miktarının arttırmanın olması. Bu veri madenciliğinin de ana prensiplerinden aslında, veri çok büyüktür (ve Bilgi-İşlem, internet, bilgisayarlaşma ile daha da büyüyecektir) ve biz bu devasa veriden anlamlı kalıplar, bilgiler çıkarmaya çalışıyoruz.

Dolayısıyla veri büyüdükçe ve hesaplama arttıkça insan paralel kazancın artmasını bekliyor ama bu böyle olmuyor. Veri ve hesaplama büyüdükçe uçların birbirine iletmesi gereken ara çözüm miktarları da artıyor. Bu sistemin verimliliğini düşüren bir olay.

Bilgisayarla ilgili her şeyde olduğu gibi burada da bir trade-off var. Optimum bir paralel işlemci sayısında paralel hesaplama ile elde edilen kazanç ve ara çözümlerin iletişimiyle oluşan kayıplar dengelenecektir.



Gece gece not defterime düştüğüm satırlar. Birşey anlamadıysanız endişelenmeyin, benim de üzerinde birazcık daha çalışmam gerekiyor zaten :)

Walk Alone

If they answer not to thy call walk alone,
If they are afraid and cower mutely facing the wall,
O thou of evil luck,
open thy mind and speak out alone.

If they turn away, and desert you when crossing the wilderness,
O thou of evil luck,
trample the thorns under thy tread,
and along the blood-lined track travel alone.

If they do not hold up the light when the night is troubled with storm,
O thou of evil luck,
with the thunder flame of pain ignite thy own heart
and let it burn alone.

From Tagore

(eğer çağrına kulak vermezlerse, yalnız yürü!)

Kohei's stuff

<img style=”display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;” src=”http://3.bp.blogspot.com/_AZvuJ9kmERM/SYIPGigUcDI/AAAAAAAABOo/qUbHdJy_dIU/s400/p1053468.jpg” border=”0” alt=”“id=”BLOGGER_PHOTO_ID_5296812716757119026” />
Had never seen a 3-year diary before. That’s just Japanese oddity.


<img style=”display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;” src=”http://1.bp.blogspot.com/_AZvuJ9kmERM/SYIPG9GVIYI/AAAAAAAABOw/JKcv2AMUNKY/s400/p1053471.jpg” border=”0” alt=”“id=”BLOGGER_PHOTO_ID_5296812723895869826” />
Looks like there’s a lot of books, right :)

Can't read MPIRUN_HOST

[English version follows]

Eğer farklı MPI kütüphaneleri kullanıyorsanız (bunu neden yapmak isteyeseniz bilmiyorum, benim amacım hız testleri gerçekleştirmek :)) buna benzer hatalar alabilirsiniz:

$ mpirun -np 2 ./a.out
Can't read MPIRUN_HOST
Can't read MPIRUN_HOST
Bunun nedeni bir tür MPI kütüphanesi ile derlenmiş bir programı başka bir MPI kütüphanesi ile çalıştırmanız (runtime ortam değişkeni farklı kütüphaneye ait). Dikkat etmeniz gereken nokta wrapper derleyici ve çalıştırıcıların aynı kütüphaneye ait olmaları. Örneğin programınızı mvapich ile derleyip OpenMPI ile çalıştırmaya çalışıyorsanız bela arıyorsunuz demektir.

Eğer ortam değişkenlerinizi (PATH’inizi) benim gibi zırt pırt değiştiriyorsanız dikkat etmek için daha fazla nedeniniz var.

Kolay gelsin.

———-

From my own experience, if you are getting errors of the sort “Can’t read MPIRUN_HOST” you are using wrong wrappers. You have to use compiler and executer wrappers from the same library, if you are mixing these than you are asking for trouble. So, you should use mpicc and mpirun from the same library, you can’t mix OpenMPI mpicc and mvapich’s mpirun.

If you are changing your PATH environment variable continuously than you have got to be extra careful.

trivia - Joseph Bazalgette

Sir Joseph William Bazalgette (28 March 1819 – 15 March 1891) was one of the great English civil engineers of the Victorian era. As the chief engineer of London's Metropolitan Board of Works, his major achievement was the creation of a sewer network for central London, which helped relieve the city from cholera epidemics, while beginning the clean-up of the River Thames, which had reached a nadir with "The Great Stink" of 1858.
...
Bazalgette's foresight may be seen in the diameter of the sewers. When planning the network he took the most dense population, gave every person the most generous allowance of sewage production and came up with a diameter of pipe needed. He then said 'Well, we're only going to do this once and there's always the unforeseen.' and doubled the diameter to be used. Every Londoner should be grateful for this foresight as the unforeseen was the tower block. If he had used his original, smaller pipe diameter the sewer would have overflowed in the 1960s. As it is they are still in use to this day.


From Wikipedia.