100% found this document useful (3 votes)
562 views

Instant Download An Introduction to Parallel Programming Pacheco Peter S Malensek Matthew PDF All Chapters

Programming

Uploaded by

allaimlazm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (3 votes)
562 views

Instant Download An Introduction to Parallel Programming Pacheco Peter S Malensek Matthew PDF All Chapters

Programming

Uploaded by

allaimlazm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 40

Get ebook downloads in full at ebookmeta.

com

An Introduction to Parallel Programming Pacheco


Peter S Malensek Matthew

https://ebookmeta.com/product/an-introduction-to-parallel-
programming-pacheco-peter-s-malensek-matthew/

OR CLICK BUTTON

DOWNLOAD NOW

Explore and download more ebook at https://ebookmeta.com


Recommended digital products (PDF, EPUB, MOBI) that
you can download immediately if you are interested.

An Introduction to Parallel Programming 2nd Edition Peter


Pacheco

https://ebookmeta.com/product/an-introduction-to-parallel-
programming-2nd-edition-peter-pacheco/

ebookmeta.com

An Introduction to C GUI Programming Simon Long

https://ebookmeta.com/product/an-introduction-to-c-gui-programming-
simon-long/

ebookmeta.com

Introduction to Python Programming 1st Edition S

https://ebookmeta.com/product/introduction-to-python-programming-1st-
edition-s/

ebookmeta.com

Smart Moves : Simple Ways to Take Control of Your Life -


Money, Career, Wellbeing, Love 1st Edition Téa Angelos

https://ebookmeta.com/product/smart-moves-simple-ways-to-take-control-
of-your-life-money-career-wellbeing-love-1st-edition-tea-angelos/

ebookmeta.com
Clinical Veterinary Advisor Dogs and Cats Fourth Edition
Leah A Cohn Etienne Cote

https://ebookmeta.com/product/clinical-veterinary-advisor-dogs-and-
cats-fourth-edition-leah-a-cohn-etienne-cote/

ebookmeta.com

The Intertextual Knot An Analysis of Alfred Hitchcock s


Rope 2nd Edition Dario Martinelli

https://ebookmeta.com/product/the-intertextual-knot-an-analysis-of-
alfred-hitchcock-s-rope-2nd-edition-dario-martinelli/

ebookmeta.com

Ashenden 1st Edition W Somerset Maugham

https://ebookmeta.com/product/ashenden-1st-edition-w-somerset-maugham/

ebookmeta.com

Points of Contact : The Shared Intellectual History of


Vocalisation in Syriac, Arabic, and Hebrew 1st Edition
Nick Posegay
https://ebookmeta.com/product/points-of-contact-the-shared-
intellectual-history-of-vocalisation-in-syriac-arabic-and-hebrew-1st-
edition-nick-posegay/
ebookmeta.com

This Spells Trouble 1st Edition Olivia Hardin

https://ebookmeta.com/product/this-spells-trouble-1st-edition-olivia-
hardin/

ebookmeta.com
The Wills Eye Manual Office and Emergency Room Diagnosis
and Treatment of Eye Disease Kalla Gervasio

https://ebookmeta.com/product/the-wills-eye-manual-office-and-
emergency-room-diagnosis-and-treatment-of-eye-disease-kalla-gervasio/

ebookmeta.com
An Introduction to Parallel
Programming

SECOND EDITION

Peter S. Pacheco
University of San Francisco

Matthew Malensek
University of San Francisco
Table of Contents

Cover image

Title page

Copyright

Dedication

Preface

Chapter 1: Why parallel computing

1.1. Why we need ever-increasing performance

1.2. Why we're building parallel systems

1.3. Why we need to write parallel programs

1.4. How do we write parallel programs?

1.5. What we'll be doing

1.6. Concurrent, parallel, distributed

1.7. The rest of the book


1.8. A word of warning

1.9. Typographical conventions

1.10. Summary

1.11. Exercises

Bibliography

Chapter 2: Parallel hardware and parallel software

2.1. Some background

2.2. Modifications to the von Neumann model

2.3. Parallel hardware

2.4. Parallel software

2.5. Input and output

2.6. Performance

2.7. Parallel program design

2.8. Writing and running parallel programs

2.9. Assumptions

2.10. Summary

2.11. Exercises

Bibliography

Chapter 3: Distributed memory programming with MPI


3.1. Getting started

3.2. The trapezoidal rule in MPI

3.3. Dealing with I/O

3.4. Collective communication

3.5. MPI-derived datatypes

3.6. Performance evaluation of MPI programs

3.7. A parallel sorting algorithm

3.8. Summary

3.9. Exercises

3.10. Programming assignments

Bibliography

Chapter 4: Shared-memory programming with Pthreads

4.1. Processes, threads, and Pthreads

4.2. Hello, world

4.3. Matrix-vector multiplication

4.4. Critical sections

4.5. Busy-waiting

4.6. Mutexes

4.7. Producer–consumer synchronization and semaphores

4.8. Barriers and condition variables


4.9. Read-write locks

4.10. Caches, cache-coherence, and false sharing

4.11. Thread-safety

4.12. Summary

4.13. Exercises

4.14. Programming assignments

Bibliography

Chapter 5: Shared-memory programming with OpenMP

5.1. Getting started

5.2. The trapezoidal rule

5.3. Scope of variables

5.4. The reduction clause

5.5. The parallel for directive

5.6. More about loops in OpenMP: sorting

5.7. Scheduling loops

5.8. Producers and consumers

5.9. Caches, cache coherence, and false sharing

5.10. Tasking

5.11. Thread-safety

5.12. Summary
5.13. Exercises

5.14. Programming assignments

Bibliography

Chapter 6: GPU programming with CUDA

6.1. GPUs and GPGPU

6.2. GPU architectures

6.3. Heterogeneous computing

6.4. CUDA hello

6.5. A closer look

6.6. Threads, blocks, and grids

6.7. Nvidia compute capabilities and device architectures

6.8. Vector addition

6.9. Returning results from CUDA kernels

6.10. CUDA trapezoidal rule I

6.11. CUDA trapezoidal rule II: improving performance

6.12. Implementation of trapezoidal rule with warpSize thread


blocks

6.13. CUDA trapezoidal rule III: blocks with more than one warp

6.14. Bitonic sort

6.15. Summary
6.16. Exercises

6.17. Programming assignments

Bibliography

Chapter 7: Parallel program development

7.1. Two n-body solvers

7.2. Sample sort

7.3. A word of caution

7.4. Which API?

7.5. Summary

7.6. Exercises

7.7. Programming assignments

Bibliography

Chapter 8: Where to go from here

Bibliography

Bibliography

Bibliography

Index
Copyright
Morgan Kaufmann is an imprint of Elsevier
50 Hampshire Street, 5th Floor, Cambridge, MA 02139,
United States

Copyright © 2022 Elsevier Inc. All rights reserved.

No part of this publication may be reproduced or


transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or any
information storage and retrieval system, without
permission in writing from the publisher. Details on how to
seek permission, further information about the Publisher's
permissions policies and our arrangements with
organizations such as the Copyright Clearance Center and
the Copyright Licensing Agency, can be found at our
website: www.elsevier.com/permissions.

This book and the individual contributions contained in it


are protected under copyright by the Publisher (other than
as may be noted herein).
Cover art: “seven notations,” nickel/silver etched plates,
acrylic on wood structure, copyright © Holly Cohn

Notices
Knowledge and best practice in this field are constantly
changing. As new research and experience broaden our
understanding, changes in research methods,
professional practices, or medical treatment may become
necessary.
Practitioners and researchers must always rely on their
own experience and knowledge in evaluating and using
any information, methods, compounds, or experiments
described herein. In using such information or methods
they should be mindful of their own safety and the safety
of others, including parties for whom they have a
professional responsibility.

To the fullest extent of the law, neither the Publisher nor


the authors, contributors, or editors, assume any liability
for any injury and/or damage to persons or property as a
matter of products liability, negligence or otherwise, or
from any use or operation of any methods, products,
instructions, or ideas contained in the material herein.

Library of Congress Cataloging-in-Publication Data


A catalog record for this book is available from the Library
of Congress

British Library Cataloguing-in-Publication Data


A catalogue record for this book is available from the
British Library

ISBN: 978-0-12-804605-0

For information on all Morgan Kaufmann publications


visit our website at https://www.elsevier.com/books-and-
journals

Publisher: Katey Birtcher


Acquisitions Editor: Stephen Merken
Content Development Manager: Meghan Andress
Publishing Services Manager: Shereen Jameel
Production Project Manager: Rukmani Krishnan
Designer: Victoria Pearson

Typeset by VTeX
Printed in United States of America

Last digit is the print number: 9 8 7 6 5 4 3 2 1


Dedication

To the memory of Robert S. Miller


Preface
Parallel hardware has been ubiquitous for some time
now: it's difficult to find a laptop, desktop, or server that
doesn't use a multicore processor. Cluster computing is
nearly as common today as high-powered workstations
were in the 1990s, and cloud computing is making
distributed-memory systems as accessible as desktops. In
spite of this, most computer science majors graduate with
little or no experience in parallel programming. Many
colleges and universities offer upper-division elective
courses in parallel computing, but since most computer
science majors have to take a large number of required
courses, many graduate without ever writing a
multithreaded or multiprocess program.
It seems clear that this state of affairs needs to change.
Whereas many programs can obtain satisfactory
performance on a single core, computer scientists should
be made aware of the potentially vast performance
improvements that can be obtained with parallelism, and
they should be able to exploit this potential when the need
arises.
Introduction to Parallel Programming was written to
partially address this problem. It provides an introduction
to writing parallel programs using MPI, Pthreads, OpenMP,
and CUDA, four of the most widely used APIs for parallel
programming. The intended audience is students and
professionals who need to write parallel programs. The
prerequisites are minimal: a college-level course in
mathematics and the ability to write serial programs in C.
The prerequisites are minimal, because we believe that
students should be able to start programming parallel
systems as early as possible. At the University of San
Francisco, computer science students can fulfill a
requirement for the major by taking a course on which this
text is based immediately after taking the “Introduction to
Computer Science I” course that most majors take in the
first semester of their freshman year. It has been our
experience that there really is no reason for students to
defer writing parallel programs until their junior or senior
year. To the contrary, the course is popular, and students
have found that using concurrency in other courses is much
easier after having taken this course.
If second-semester freshmen can learn to write parallel
programs by taking a class, then motivated computing
professionals should be able to learn to write parallel
programs through self-study. We hope this book will prove
to be a useful resource for them.
The Second Edition
It has been nearly ten years since the first edition of
Introduction to Parallel Programming was published.
During that time much has changed in the world of parallel
programming, but, perhaps surprisingly, much also remains
the same. Our intent in writing this second edition has been
to preserve the material from the first edition that
continues to be generally useful, but also to add new
material where we felt it was needed.
The most obvious addition is the inclusion of a new
chapter on CUDA programming. When the first edition was
published, CUDA was still very new. It was already clear
that the use of GPUs in high-performance computing would
become very widespread, but at that time we felt that
GPGPU wasn't readily accessible to programmers with
relatively little experience. In the last ten years, that has
clearly changed. Of course, CUDA is not a standard, and
features are added, modified, and deleted with great
rapidity. As a consequence, authors who use CUDA must
present a subject that changes much faster than a
standard, such as MPI, Pthreads, or OpenMP. In spite of
this, we hope that our presentation of CUDA will continue
to be useful for some time.
Another big change is that Matthew Malensek has come
onboard as a coauthor. Matthew is a relatively new
colleague at the University of San Francisco, but he has
extensive experience with both the teaching and
application of parallel computing. His contributions have
greatly improved the second edition.
About This Book
As we noted earlier, the main purpose of the book is to
teach parallel programming in MPI, Pthreads, OpenMP, and
CUDA to an audience with a limited background in
computer science and no previous experience with
parallelism. We also wanted to make the book as flexible as
possible so that readers who have no interest in learning
one or two of the APIs can still read the remaining material
with little effort. Thus the chapters on the four APIs are
largely independent of each other: they can be read in any
order, and one or two of these chapters can be omitted.
This independence has some cost: it was necessary to
repeat some of the material in these chapters. Of course,
repeated material can be simply scanned or skipped.
On the other hand, readers with no prior experience with
parallel computing should read Chapter 1 first. This
chapter attempts to provide a relatively nontechnical
explanation of why parallel systems have come to dominate
the computer landscape. It also provides a short
introduction to parallel systems and parallel programming.
Chapter 2 provides technical background on computer
hardware and software. Chapters 3 to 6 provide
independent introductions to MPI, Pthreads, OpenMP, and
CUDA, respectively. Chapter 7 illustrates the development
of two different parallel programs using each of the four
APIs. Finally, Chapter 8 provides a few pointers to
additional information on parallel computing.
Other documents randomly have
different content
The Project Gutenberg eBook of Itämaalaisia
haaveiluja
This ebook is for the use of anyone anywhere in the United States
and most other parts of the world at no cost and with almost no
restrictions whatsoever. You may copy it, give it away or re-use it
under the terms of the Project Gutenberg License included with this
ebook or online at www.gutenberg.org. If you are not located in the
United States, you will have to check the laws of the country where
you are located before using this eBook.

Title: Itämaalaisia haaveiluja

Author: Valfrid Hedman

Release date: December 23, 2023 [eBook #72484]

Language: Finnish

Original publication: Helsinki: Kust.Oy Osmo, 1906

Credits: Jari Koivisto

*** START OF THE PROJECT GUTENBERG EBOOK


ITÄMAALAISIA HAAVEILUJA ***
ITÄMAALAISIA HAAVEILUJA

Kirj.

Valfrid Hedman

Helsingissä, Kustannusyhtiö Osmo, 1906.


SISÄLLYS

HAAVEILUJA

Kesää kosiskellen
Etelän tyttärelle
Vienoa kaipuuta
Itämainen tunnelma
Unelmatar
Ihanteelle etelässä
Vapain tuntein
Kaksi kukkaa
Eevan omena
Haaremin helmi
Armeniatar
Lohdutus
Himo ja lempi
Saaronin ruusu
Luopio
Immen osto
Unikukkia
Pohja ja etelä
Käärmeen kuiskeet
Kangastus
Synnyinmaata muistellessa
Eri värit

SEKASOINTUJA

Eri muodot
Vertaus
Aistillisia nautintoja
Mietelmä
Kuohujen kuiskeet
Myrkkyä halajan
Ukkonen
Vellamon neidot
Valhallassa
Kultakaupunki
Islaamin taivas
Nirvana
Olympolaisia
Houreita
Pieni vertaus
Ystävyys ja lempi
Harhaileva fantasiia
Sydämen morsian
Lemmen kuiskeita idästä

ARABIALAINEN YÖ

Arabialainen yö

RUNOJEN KÄÄNNÖKSIÄ
Israelin unelma
Kun oksat akkunahan lyö
Toivo
Kirjoitus kiven kyljessä
Haluni
Iltasoittelu
Tavoittelua
Pikkutyttö
Valkoverinen
Evrikómi
Nuoren naisen haudalla
Lemmityn huulet
Sykintää
Intohimojen puutarhassa

HAAVEILUJA

Kesää kosiskellen
Olen syntynyt tuiskussa talvien säässä, mun tuuditti
tuuloset unta, oli hongat ne huurassa, järvet ne jäässä ja
vaippana valkosta lunta.

Olen kasvanut talvisen taivahan alla,


mut impen' on etelän lapsi;
sua, tyttöni, konsana hyytävä halla
ei hempinyt harmajahapsi.

Yön tumma on tukkasi tuuhea sulla ja kiehuvan kuuma on


veri, sun silmies säihky on lämpönä mulla ja rintas on riehuva
meri.

Etelän tyttärelle

Et tunne sinä tätä maata, taida puhettamme, sä hetkiseksi


oletkin vain täällä vieraanamme. Vaikk' ihmetellen kuuntelet
kuin Väinön kannel soittaa, ei koivut Suomen konsanaan voi
palmujasi voittaa.

Nuo mustat silmät häikäistyisi talven valkolunta,


ei loihdi niille sulojansa kuollut luomakunta;
ei syttynyt oo niiden palo Suomen kankahilla,
et ole piennä ailakoinut nurmen kanervilla.

Ei revontulten roihua oo katseen säihky kumma,


sun sysimusta tukkasi ja iho valkotumma
ei sietää voisi Suomen syksyn hyydyttävää hallaa.
Ei kesätaivaan tähtilöitä ole pohjolalla.
Sä muistat kotis kuutamon, kun valolehtosissa sen tyynin
ikikesän öin sä uinuit unelmissa. Sä sinne jälleen ikävöit, pois
etelääsi halaat, sä sieltä tulit, tenhotar, sä sinne myöskin
palaat.

Vienoa kaipuuta

Kun Suomen hongat humisee, mun kaiho valtaa mielen:


mä huo'ahdan, kun huminansa tunnen taikakielen

ja tunteitani immellein en sanoiks saata luoda,


en kotikuusen kuiskehia tuttavikseen tuoda.

Jos suomeks tunnen, yksin tunnen, vierahana hälle,


ei helläkään voi sydämensä sykkiellä tälle.

Sä, tumma impi etelän, et tunne Väinön kieltä:


jos sanat voinkin tulkita, en henkeä, en mieltä.

Itämainen tunnelma

Minareetista kuuluvi huuto nyt ja he hurskaasti polvistuu, he


lankeevat maahan ja nousevat taas. Mun kaihoni uudistuu.

Mä yksin, uskoton, epäilen:


ehk' unta myös islaami on?
(Toki Fatmani silmistä taivaan nään:
en sinistä — musta se on.)

Mä kehdossa moslemin syntynyt en


ja epäilyn lähteistä join;
vain haavetta, Allah, se hartaus lie,
min vihdoin ma Sinulle toin!

Vaan ehkäpä muuta et vaadikaan? niin, Sinähän ymmärrät


sen. Ken tajuta voisi sun suuruuttas? ja ken Sinut tuntea,
ken?

Unelmatar

Oi toivon suuri hengetär, sä impi unelmain! sun loitsujas,


sun valheitas mun kuiski korvissain!

Sä kaunis oot, se kylliksi,


en muusta huolikaan,
sun tenholaulus loihtikoon
mun harhaas ihanaan!

Jos valoihis en luotakaan, sua lemmin kuitenkin; sun


syleilyjes hurmassa on onni ikuisin.

Ihanteelle etelässä
Sä minut hurmaat, mä sua lemmin, sä kesän kirkkahan
kukka! tuo tenho katse kuin hiili hehkuu ja sysimusta on
tukka.

Ei sinisilmiä etelässä,
ei keltakutrien kultaa,
vaan tummat tummien kulmain alta
ne säihkyy tunnetta, tulta.

Vain pitkät ripsensä verhoo niitä, nuo tuuhat, tummat ja


hienot. Kuin kissan pehmeet on liikkeet sulla, kuin käärmeen
viekkahat, vienot.

Vapain tuntein

Pois valat, pois! en niitä vaadi sulta, ne rikot kumminkin, ei


niillä lemmen tulta voi sytytellä, sammunut mi ois.

Mä sua lemmin nyt, sen tiedän;


kuin huomenna mun sydämeni lyö,
en tiedä (kätkevi sen kaiho yö).

Sä ikuisesti rakas mulle lienet,


kenties, kentiesi et, en tiedä tuota,
en tahdo tietää, toivon vain (en luota).

Miks' tunteet taivaiset mä maahan toisin ja miksi rajat


lupauksin loisin mä niille, joita rajoittaa ei voi?
Kaksi kukkaa

Kai suloista on lempi, mi onnellinen on: vaan vielä


suloisempi lie lempi onneton.

On toinen hetken tunne,


mi ehkä unhottuu;
vaan toisen tuoma tenho
se yhä uudistuu.

On onni toivehissa:
kun toivot täyttyneet
ei ole, niin ei myöskään
ne ole päättyneet.

Kun toden tuima viima jo toisen taittelee, niin valheen


velhovaippa viel toista verhoilee.

Eevan omena

Kera Eevansa Aadami Eedenin ilopuistossa kukkia poimi,


hepä heelmiä söivät ja riemuitsit, oli ainoa heillä se toimi.

Puu kasvoi kaunehin keskellä maan,


joka tietojen omenat kantoi;
sitä käärme se kiipesi katselemaan
ja hän neuvoja Eevalle antoi.
Tämä omenan otti ja halkasi sen, sai Aadami osuutensa:
jopa lempi se heräsi, viidakkoon ujo lymysi Eevoinensa.

Haaremin helmi

Näin, käyskellen Bosforin rannoilla, odaliikin hurmaavan


siellä: oli kasvonsa verhotut hunnulla, vaan se tuulahti
syrjähän tiellä!

Se syrjähti hetkeksi, hetkeksi vain,


oli oikku se rohkea kyllä…
Vain hetkisen haaremin helmeä sain
mä ihailla ihmettelyllä.

Ja katsaus silmistä kaihoava,


mi tuikkivat tuntehen tulta —
sysikutrit ne kaarteli kulmansa, —
vei rinnasta rauhani multa.

Kun samettiripsensä tuuhat ja sulovartalon solkien alla ma


muistan ja hehkuvan katseensa, saa kaihojen tunnelma
vallan.

Armeniatar

Kaivolle illalla neitonen sai, vettä se ammensi siitä, hiuksia


otsalla, ohimollai tuulonen tuisteli niitä.
Saapuipa bei nuor lähtehen luo,
kainosti katsahti nainen,
osmaanin ylpeän tenhosi tuo
halpa armeenialainen.

"Annappa", virkkoi hän immelle, "juon, jano on polttava


mulla! veden vilposen välkettä vilkkaampi tuon toki väle on
silmissä sulla!"

Lohdutus

Kuin lapset he nukkuivat nurmella, elo myrskyjä heille ei


tuonut. Sai silloin saatana Eedeniin — ken oli sen saatanan
luonut?

Se virkkoi vaimolle: "tuossa on puu,


mi tietojen omenat kantaa!"
Tää katsahti, kurotti kätensä, söi
ja miehelle myöskin hän antaa.

"Ah", kuiskasi enkeli, "kaihtaos sä,


oi nainen, on myrkkyä nämä!"
"Ne olkohot", vastas hän hurmoissaan,
"vaan hetki on autuas tämä!"

Mut kohta synkkä-ääni soi


pasuuna vuoren päältä:
"pois täältä, pois! pois rauhasta
te riemutarhain täältä!"
"Sä tullos", kättä kumppanin hän painaa lemmekkäällä,
"luon sulle uuden Eedenin, luon tappuraankin päällä!"

Himo ja lempi

Vain kaksi siskoa, saman äidin on lapset himo ja lempi: on


toinen hienoa himokkuutta ja toinen karkea lempi.

En tahdo lempeä alennella,


se kaunis ompi ja pyhä:
vaan siitä syntyä, siksi muuttua
himo saattavi yhä.

Voi toinen autuuden meille tuoda,


oi tytär taivaan on lempi!
Ja himo lieneekö henki hornan?
Tok' ei! Vain eksynyt lempi.

Saaronin ruusu

Oi tytär Siionin tummatukka, mi kansan keskellä kylmän,


kalpeen käyt kauno ylpeän arvokkaana, oot heitä lähellä,
heille vieras.

Tuo katse kaiho ei heitä hemmi,


sen säihky siintävi sadun mailta
ja idän tunteita povi aaltoo,
vain niille hymyvi huuli hieno.

Sä ruusu Saaronin valkotumma,


oot kauas harhaillut kodin teiltä;
vaan aina säilytit muistot vanhat
ja uskon isien pyhän, puhtaan.

Ja kielen — niin jospa oisit senkin sä säilyttänyt myös


puheessakin! Se vielä elpyykö, hebreaksi viel harppu Davidin
helkähtäiskö?

Luopio

Ei nunnien laupeita kasvoja minun sieluni enään siedä.


Idän huumaavan huureille tummille minä uhrini tahdon viedä!

Ne kylmiä olivat, suukkonsa,


ne hallana huulille jäätyi:
näin Kalevan kalseista immistä
pois ajatukseni häätyi.

Vaan sulla, Zuleikhani ihana, on lämpöä, lempeä, tulta,


sysiripsien alta ne salamoi sysimustista silmistä sulta.

Immen osto
Kun Persiassa harhailin mä pienen kylän tiellä, näin neidon
nuoren, notkean ja ihanaisen siellä.

Ol' yllään liivi punainen


ja väljät silkkihousut.
Kuin keijukaisen keveät
on nuoren jalan nousut.

Yön tumma tukka kiehkuroi


tän immen ohimoilla
ja sysimustin siimeksin
se valui hartioilla.

Mut musta huntu kasvonsa


se kateellisna peitti;
vain silmät näin, nuo hehkuvat,
mi säkeniä heitti.

Se viehätti, se kiihotti,
tää tenho itämainen:
jo sydämeni lumosi
Iraanin sorja nainen.

Mä astuin immen isän luo ja kysyin neidon hintaa. — Nyt


peeri tumma omanain on jasemiinirinta.

Unikukkia

En vanno lempeä huomiseksi, en vaadi valoja sulta: vain


epävarmuus on onnen autuus, se lisää liekkihin tulta.
Lie lempi viekas vai vilpitönkö
sun povessasi? en tiedä,
en tahdo tietää, ei unelmani
mun kaihot varmuutta siedä.

Vain tiede totuuden etsiköhön, nuo paljasrunkoiset palmut;


vaan meiltä verhoo sen velhoharsot ja unhotarhojen valmut.

Pohja ja Etelä

Mä kahta ruusua ihaelen, kesän kaunista kukkaa: on toinen


tumma kuin syksyn yö ja toinen vaaleatukka.

On tämä ylennyt pohjolassa ja tuo on etelän lapsi,


hehkurintainen idän impi, sulosuu, sysihapsi.

Käärmeen kuiskeet

Raskas ilma Eedenissä väsymystä tuotti: venyi villi


nurmella, hän haukotellen vuotti,

kun Eevaparka herrallensa hedelmiä poimi; sai puolipäivän


helteessä tää tukalaksi toimi.

Silloin myrkkykieli kyy


toi oksan tiedon puusta,
nainen kaihokuiskehia
kuunteli sen suusta:

Katsoi mieheen viehkeesti,


tän himot heräs, hienon
hän niistä punoi lemmenvyön,
niin viekkaan, silkkivienon.

Näin hän, kaunis orjatar, nyt hallitseepi miestä, min tyhmä


raaka voima ei voi vastustella iestä.

Kangastus

Oi, sä kaunis kangastus, mi erämaassa hohdat ja askeleeni


horjuvat mun yhä harhaan johdat!

Vain olet ilman ihmemaa,


vain valheen utukuva.
Sun vielä oonko lumostas
mä konsaan irtauva?

Ei! — ilolla sun puolehes mä uupuvana taivun, sun,


unentyhjä keidakko, ma haavehelmaas vaivun

Synnyinmaata muistellessa

You might also like