Skip to content

Instantly share code, notes, and snippets.

@bsubei
Created July 24, 2015 01:02
Show Gist options
  • Save bsubei/7b6bf9e5cb129eb8ebdb to your computer and use it in GitHub Desktop.
Save bsubei/7b6bf9e5cb129eb8ebdb to your computer and use it in GitHub Desktop.
first repl session that truly runs on turbine (multiple workers)
20:00 Thinkpad $ turbine -n 8 -l repl_leaf.tic
[0] 0.000 MODE: WORK
[0] 0.004 WORK TYPES: WORK
[0] 0.004 WORKERS: 7 RANKS: 0 - 6
[0] 0.004 SERVERS: 1 RANKS: 7 - 7
[0] 0.004 WORK WORKERS: 7 RANKS: 0 - 6
[2] 0.000 MODE: WORK
[4] 0.000 MODE: WORK
[5] 0.000 MODE: WORK
[6] 0.000 MODE: WORK
[1] 0.000 MODE: WORK
[3] 0.000 MODE: WORK
[7] 0.000 MODE: SERVER
[0] 0.120 function:swift:constants
[0] 0.120 enter function: __entry
[0] Hello, starting Swift/T program...
[0] Welcome to the extremely basic REPL turbine!
[4] 0.124 function:swift:constants
[5] 0.123 function:swift:constants
[1] 0.119 function:swift:constants
[2] 0.136 function:swift:constants
[3] 0.121 function:swift:constants
[6] 0.147 function:swift:constants
import io;
foreach i in [1:100] {
printf("%d", i);
}
%END
[0] finished!
[0] Attempting to run user input script:
[0] import io;
[0] foreach i in [1:100] {
[0] printf("%d", i);
[0] }
[0]
[0] Wrote tmp file to: tmp.swift. Calling STC on it.
[0] numWorkers: 7
[1] rank: 1 done
[3] rank: 3 done
[2] rank: 2 done
[4] rank: 4 done
[5] rank: 5 done
[0] rank: 0 done
[6] rank: 6 done
[0] 26.536 enter function: __entry
[0] 26.536 allocated t:1=<29> t:2=<30> t:3=<31> t:4=<32> t:5=<33>
[0] 26.536 allocated t:6=<34> t:7=<35>
[0] 26.536 store: <29>="HARD"
[0] 26.537 store: <30>="SOFT"
[0] 26.537 store: <31>="RANK"
[0] 26.537 store: <32>="NODE"
[0] 26.537 store: <33>=1
[0] 26.537 store: <34>=100
[0] 26.537 store: <35>=1
[0] 26.538 allocated u:i=<36> t:8=<37> t:9=<38>
[1] 26.530 allocated u:i=<39> t:8=<40> t:9=<41>
[0] 26.539 store: <36>=1
[0] 26.539 store: <38>="%d"
[0] 26.540 allocated u:i=<42> t:8=<43> t:9=<44>
[0] 26.540 store: <42>=2
[0] 26.540 store: <44>="%d"
[0] 26.540 allocated u:i=<45> t:8=<46> t:9=<47>
[0] 26.540 store: <45>=3
[0] 26.540 store: <47>="%d"
[0] 26.540 allocated u:i=<48> t:8=<49> t:9=<50>
[0] 26.540 store: <48>=4
[0] 26.540 store: <50>="%d"
[1] 26.531 store: <39>=65
[0] 26.541 allocated u:i=<51> t:8=<52> t:9=<53>
[0] 26.547 store: <51>=5
[4] 1
[1] 26.544 store: <41>="%d"
[1] 26.546 allocated u:i=<54> t:8=<55> t:9=<56>
[4] 26.551 store: <37>=void
[4] 3
[4] 26.551 store: <46>=void
[4] 65
[4] 26.552 store: <40>=void
[4] 2
[4] 26.552 store: <43>=void
[1] 26.553 store: <54>=66
[1] 26.554 store: <56>="%d"
[1] 26.554 allocated u:i=<57> t:8=<58> t:9=<59>
[0] 26.564 store: <53>="%d"
[1] 26.555 store: <57>=67
[1] 26.555 store: <59>="%d"
[0] 26.564 allocated u:i=<60> t:8=<61> t:9=<62>
[1] 26.555 allocated u:i=<63> t:8=<64> t:9=<65>
[1] 26.555 store: <63>=68
[0] 26.564 store: <60>=6
[1] 26.555 store: <65>="%d"
[0] 26.565 store: <62>="%d"
[1] 26.556 allocated u:i=<66> t:8=<67> t:9=<68>
[0] 26.565 allocated u:i=<69> t:8=<70> t:9=<71>
[1] 26.556 store: <66>=69
[0] 26.565 store: <69>=7
[1] 26.556 store: <68>="%d"
[0] 26.565 store: <71>="%d"
[1] 26.556 allocated u:i=<72> t:8=<73> t:9=<74>
[0] 26.566 allocated u:i=<75> t:8=<76> t:9=<77>
[1] 26.557 store: <72>=70
[0] 26.566 store: <75>=8
[1] 26.557 store: <74>="%d"
[0] 26.566 store: <77>="%d"
[1] 26.557 allocated u:i=<78> t:8=<79> t:9=<80>
[0] 26.566 allocated u:i=<81> t:8=<82> t:9=<83>
[1] 26.557 store: <78>=71
[0] 26.566 store: <81>=9
[1] 26.557 store: <80>="%d"
[0] 26.567 store: <83>="%d"
[1] 26.558 allocated u:i=<84> t:8=<85> t:9=<86>
[0] 26.567 allocated u:i=<87> t:8=<88> t:9=<89>
[1] 26.558 store: <84>=72
[1] 26.558 store: <86>="%d"
[0] 26.567 store: <87>=10
[0] 26.567 store: <89>="%d"
[5] 67
[5] 26.571 store: <58>=void
[5] 9
[5] 26.579 store: <82>=void
[1] 26.578 allocated u:i=<90> t:8=<91> t:9=<92>
[1] 26.578 store: <90>=73
[1] 26.579 store: <92>="%d"
[0] 26.588 allocated u:i=<93> t:8=<94> t:9=<95>
[1] 26.579 allocated u:i=<96> t:8=<97> t:9=<98>
[1] 26.579 store: <96>=74
[0] 26.588 store: <93>=11
[1] 26.579 store: <98>="%d"
[0] 26.588 store: <95>="%d"
[1] 26.579 allocated u:i=<99> t:8=<100> t:9=<101>
[0] 26.589 allocated u:i=<102> t:8=<103> t:9=<104>
[1] 26.580 store: <99>=75
[1] 26.580 store: <101>="%d"
[0] 26.589 store: <102>=12
[0] 26.589 store: <104>="%d"
[1] 26.580 allocated u:i=<105> t:8=<106> t:9=<107>
[0] 26.589 allocated u:i=<108> t:8=<109> t:9=<110>
[1] 26.580 store: <105>=76
[1] 26.580 store: <107>="%d"
[0] 26.590 store: <108>=13
[1] 26.581 allocated u:i=<111> t:8=<112> t:9=<113>
[0] 26.590 store: <110>="%d"
[0] 26.590 allocated u:i=<114> t:8=<115> t:9=<116>
[1] 26.581 store: <111>=77
[1] 26.581 store: <113>="%d"
[0] 26.590 store: <114>=14
[1] 26.581 allocated u:i=<117> t:8=<118> t:9=<119>
[0] 26.591 store: <116>="%d"
[0] 26.591 allocated u:i=<120> t:8=<121> t:9=<122>
[1] 26.582 store: <117>=78
[1] 26.582 store: <119>="%d"
[0] 26.591 store: <120>=15
[1] 26.582 allocated u:i=<123> t:8=<124> t:9=<125>
[0] 26.591 store: <122>="%d"
[1] 26.586 store: <123>=79
[2] 4
[2] 26.595 store: <49>=void
[5] 71
[5] 26.595 store: <79>=void
[5] 78
[5] 26.596 store: <118>=void
[5] 14
[5] 26.596 store: <115>=void
[5] 77
[5] 26.596 store: <112>=void
[5] 13
[5] 26.596 store: <109>=void
[5] 76
[4] 66
[5] 26.597 store: <106>=void
[4] 26.603 store: <55>=void
[6] 68
[1] 26.603 store: <125>="%d"
[1] 26.605 allocated u:i=<126> t:8=<127> t:9=<128>
[6] 26.609 store: <64>=void
[6] 75
[0] 26.614 allocated u:i=<129> t:8=<130> t:9=<131>
[0] 26.615 store: <129>=16
[0] 26.615 store: <131>="%d"
[6] 26.610 store: <100>=void
[6] 79
[0] 26.615 allocated u:i=<132> t:8=<133> t:9=<134>
[0] 26.615 store: <132>=17
[6] 26.610 store: <124>=void
[0] 26.615 store: <134>="%d"
[6] 15
[0] 26.615 allocated u:i=<135> t:8=<136> t:9=<137>
[0] 26.616 store: <135>=18
[6] 26.611 store: <121>=void
[0] 26.616 store: <137>="%d"
[6] 16
[0] 26.616 allocated u:i=<138> t:8=<139> t:9=<140>
[0] 26.616 store: <138>=19
[0] 26.616 store: <140>="%d"
[6] 26.611 store: <130>=void
[6] 17
[0] 26.616 allocated u:i=<141> t:8=<142> t:9=<143>
[0] 26.617 store: <141>=20
[6] 26.612 store: <133>=void
[6] 18
[6] 26.615 store: <136>=void
[6] 19
[6] 26.615 store: <139>=void
[6] 11
[4] 74
[6] 26.616 store: <94>=void
[6] 73
[6] 26.616 store: <91>=void
[6] 10
[4] 26.617 store: <97>=void
[4] 72
[6] 26.617 store: <88>=void
[6] 8
[4] 26.618 store: <85>=void
[4] 70
[6] 26.617 store: <76>=void
[6] 7
[4] 26.618 store: <73>=void
[4] 69
[6] 26.618 store: <70>=void
[6] 6
[4] 26.619 store: <67>=void
[6] 26.619 store: <61>=void
[1] 26.614 store: <126>=80
[3] 5
[3] 26.608 store: <52>=void
[2] 12
[2] 26.629 store: <103>=void
[0] 26.635 store: <143>="%d"
[0] 26.636 allocated u:i=<144> t:8=<145> t:9=<146>
[0] 26.636 store: <144>=21
[0] 26.636 store: <146>="%d"
[0] 26.636 allocated u:i=<147> t:8=<148> t:9=<149>
[0] 26.636 store: <147>=22
[0] 26.636 store: <149>="%d"
[0] 26.636 allocated u:i=<150> t:8=<151> t:9=<152>
[0] 26.637 store: <150>=23
[0] 26.637 store: <152>="%d"
[0] 26.637 allocated u:i=<153> t:8=<154> t:9=<155>
[0] 26.637 store: <153>=24
[0] 26.637 store: <155>="%d"
[0] 26.637 allocated u:i=<156> t:8=<157> t:9=<158>
[0] 26.637 store: <156>=25
[0] 26.637 store: <158>="%d"
[6] 21
[0] 26.642 allocated u:i=<159> t:8=<160> t:9=<161>
[6] 26.637 store: <145>=void
[6] 24
[6] 26.638 store: <154>=void
[6] 25
[6] 26.643 store: <157>=void
[1] 26.642 store: <128>="%d"
[1] 26.642 allocated u:i=<162> t:8=<163> t:9=<164>
[1] 26.643 store: <162>=81
[1] 26.643 store: <164>="%d"
[1] 26.643 allocated u:i=<165> t:8=<166> t:9=<167>
[1] 26.643 store: <165>=82
[1] 26.643 store: <167>="%d"
[1] 26.643 allocated u:i=<168> t:8=<169> t:9=<170>
[1] 26.643 store: <168>=83
[1] 26.643 store: <170>="%d"
[1] 26.643 allocated u:i=<171> t:8=<172> t:9=<173>
[1] 26.644 store: <171>=84
[1] 26.644 store: <173>="%d"
[1] 26.644 allocated u:i=<174> t:8=<175> t:9=<176>
[1] 26.644 store: <174>=85
[1] 26.644 store: <176>="%d"
[1] 26.644 allocated u:i=<177> t:8=<178> t:9=<179>
[1] 26.644 store: <177>=86
[1] 26.644 store: <179>="%d"
[1] 26.644 allocated u:i=<180> t:8=<181> t:9=<182>
[1] 26.645 store: <180>=87
[1] 26.645 store: <182>="%d"
[1] 26.645 allocated u:i=<183> t:8=<184> t:9=<185>
[1] 26.645 store: <183>=88
[1] 26.645 store: <185>="%d"
[1] 26.645 allocated u:i=<186> t:8=<187> t:9=<188>
[1] 26.645 store: <186>=89
[1] 26.645 store: <188>="%d"
[1] 26.646 allocated u:i=<189> t:8=<190> t:9=<191>
[1] 26.646 store: <189>=90
[0] 26.659 store: <159>=26
[0] 26.660 store: <161>="%d"
[0] 26.660 allocated u:i=<192> t:8=<193> t:9=<194>
[0] 26.660 store: <192>=27
[0] 26.660 store: <194>="%d"
[0] 26.660 allocated u:i=<195> t:8=<196> t:9=<197>
[0] 26.660 store: <195>=28
[0] 26.660 store: <197>="%d"
[0] 26.660 allocated u:i=<198> t:8=<199> t:9=<200>
[0] 26.660 store: <198>=29
[0] 26.661 store: <200>="%d"
[0] 26.661 allocated u:i=<201> t:8=<202> t:9=<203>
[0] 26.661 store: <201>=30
[0] 26.661 store: <203>="%d"
[0] 26.661 allocated u:i=<204> t:8=<205> t:9=<206>
[0] 26.661 store: <204>=31
[0] 26.661 store: <206>="%d"
[0] 26.661 allocated u:i=<207> t:8=<208> t:9=<209>
[0] 26.661 store: <207>=32
[0] 26.662 store: <209>="%d"
[0] 26.662 allocated u:i=<210> t:8=<211> t:9=<212>
[0] 26.662 store: <210>=33
[0] 26.662 store: <212>="%d"
[0] 26.662 allocated u:i=<213> t:8=<214> t:9=<215>
[0] 26.662 store: <213>=34
[4] 20
[0] 26.662 store: <215>="%d"
[0] 26.663 allocated u:i=<216> t:8=<217> t:9=<218>
[0] 26.663 store: <216>=35
[0] 26.663 store: <218>="%d"
[0] 26.663 allocated u:i=<219> t:8=<220> t:9=<221>
[4] 26.659 store: <142>=void
[0] 26.663 store: <219>=36
[4] 82
[0] 26.663 store: <221>="%d"
[0] 26.664 allocated u:i=<222> t:8=<223> t:9=<224>
[0] 26.664 store: <222>=37
[0] 26.664 store: <224>="%d"
[4] 26.660 store: <166>=void
[0] 26.664 allocated u:i=<225> t:8=<226> t:9=<227>
[4] 35
[0] 26.664 store: <225>=38
[6] 81
[0] 26.665 store: <227>="%d"
[0] 26.665 allocated u:i=<228> t:8=<229> t:9=<230>
[4] 26.661 store: <217>=void
[4] 37
[0] 26.665 store: <228>=39
[0] 26.665 store: <230>="%d"
[6] 26.661 store: <163>=void
[0] 26.665 allocated u:i=<231> t:8=<232> t:9=<233>
[6] 38
[0] 26.666 store: <231>=40
[4] 26.662 store: <223>=void
[3] 22
[3] 26.651 store: <148>=void
[6] 26.665 store: <226>=void
[2] 23
[2] 26.673 store: <151>=void
[1] 26.678 store: <191>="%d"
[0] 26.692 store: <233>="%d"
[5] 80
[0] 26.693 allocated u:i=<234> t:8=<235> t:9=<236>
[5] 26.688 store: <127>=void
[5] 36
[0] 26.693 store: <234>=41
[0] 26.693 store: <236>="%d"
[5] 26.689 store: <220>=void
[0] 26.693 allocated u:i=<237> t:8=<238> t:9=<239>
[5] 40
[0] 26.694 store: <237>=42
[0] 26.694 store: <239>="%d"
[0] 26.694 allocated u:i=<240> t:8=<241> t:9=<242>
[5] 26.690 store: <232>=void
[5] 41
[0] 26.694 store: <240>=43
[0] 26.694 store: <242>="%d"
[0] 26.694 allocated u:i=<243> t:8=<244> t:9=<245>
[0] 26.695 store: <243>=44
[5] 26.690 store: <235>=void
[0] 26.695 store: <245>="%d"
[5] 42
[0] 26.695 allocated u:i=<246> t:8=<247> t:9=<248>
[0] 26.695 store: <246>=45
[0] 26.695 store: <248>="%d"
[5] 26.691 store: <238>=void
[0] 26.696 allocated u:i=<249> t:8=<250> t:9=<251>
[5] 43
[0] 26.696 store: <249>=46
[0] 26.696 store: <251>="%d"
[0] 26.696 allocated u:i=<252> t:8=<253> t:9=<254>
[5] 26.692 store: <241>=void
[5] 45
[0] 26.696 store: <252>=47
[0] 26.697 store: <254>="%d"
[0] 26.697 allocated u:i=<255> t:8=<256> t:9=<257>
[0] 26.697 store: <255>=48
[5] 26.692 store: <247>=void
[0] 26.697 store: <257>="%d"
[5] 46
[0] 26.697 allocated u:i=<258> t:8=<259> t:9=<260>
[0] 26.697 store: <258>=49
[0] 26.698 store: <260>="%d"
[5] 26.693 store: <250>=void
[0] 26.698 allocated u:i=<261> t:8=<262> t:9=<263>
[5] 47
[0] 26.698 store: <261>=50
[0] 26.698 store: <263>="%d"
[5] 26.699 store: <253>=void
[6] 48
[4] 44
[4] 26.704 store: <244>=void
[4] 34
[4] 26.704 store: <214>=void
[4] 33
[1] 26.699 allocated u:i=<264> t:8=<265> t:9=<266>
[4] 26.704 store: <211>=void
[1] 26.699 store: <264>=91
[4] 32
[1] 26.700 store: <266>="%d"
[1] 26.700 allocated u:i=<267> t:8=<268> t:9=<269>
[1] 26.700 store: <267>=92
[4] 26.705 store: <208>=void
[1] 26.700 store: <269>="%d"
[4] 90
[1] 26.700 allocated u:i=<270> t:8=<271> t:9=<272>
[1] 26.701 store: <270>=93
[1] 26.701 store: <272>="%d"
[4] 26.706 store: <190>=void
[2] 39
[2] 26.715 store: <229>=void
[5] 91
[5] 26.715 store: <265>=void
[5] 92
[5] 26.716 store: <268>=void
[5] 31
[5] 26.716 store: <205>=void
[5] 30
[5] 26.716 store: <202>=void
[5] 29
[5] 26.716 store: <199>=void
[5] 28
[5] 26.717 store: <196>=void
[5] 27
[5] 26.717 store: <193>=void
[5] 26
[5] 26.717 store: <160>=void
[5] 89
[6] 26.717 store: <256>=void
[6] 88
[5] 26.718 store: <187>=void
[5] 87
[6] 26.718 store: <184>=void
[5] 26.718 store: <181>=void
[6] 85
[4] 84
[4] 26.731 store: <172>=void
[4] 83
[4] 26.732 store: <169>=void
[3] 49
[3] 26.721 store: <259>=void
[0] 26.741 allocated u:i=<273> t:8=<274> t:9=<275>
[1] 26.732 allocated u:i=<276> t:8=<277> t:9=<278>
[5] 93
[1] 26.733 store: <276>=94
[1] 26.733 store: <278>="%d"
[1] 26.733 allocated u:i=<279> t:8=<280> t:9=<281>
[5] 26.738 store: <271>=void
[1] 26.733 store: <279>=95
[1] 26.733 store: <281>="%d"
[5] 94
[1] 26.734 allocated u:i=<282> t:8=<283> t:9=<284>
[1] 26.734 store: <282>=96
[1] 26.734 store: <284>="%d"
[5] 26.739 store: <277>=void
[1] 26.734 allocated u:i=<285> t:8=<286> t:9=<287>
[5] 95
[1] 26.734 store: <285>=97
[1] 26.734 store: <287>="%d"
[1] 26.735 allocated u:i=<288> t:8=<289> t:9=<290>
[5] 26.739 store: <280>=void
[5] 96
[1] 26.735 store: <288>=98
[1] 26.735 store: <290>="%d"
[1] 26.735 allocated u:i=<291> t:8=<292> t:9=<293>
[1] 26.735 store: <291>=99
[1] 26.735 store: <293>="%d"
[5] 26.740 store: <283>=void
[5] 97
[1] 26.736 allocated u:i=<294> t:8=<295> t:9=<296>
[1] 26.736 store: <294>=100
[1] 26.736 store: <296>="%d"
[1] 98
[5] 26.741 store: <286>=void
[1] 26.742 store: <289>=void
[1] 100
[1] 26.743 store: <295>=void
[1] 99
[1] 26.743 store: <292>=void
[0] 26.755 store: <273>=51
[0] 26.756 store: <275>="%d"
[0] 26.756 allocated u:i=<297> t:8=<298> t:9=<299>
[0] 26.756 store: <297>=52
[0] 26.756 store: <299>="%d"
[0] 26.756 allocated u:i=<300> t:8=<301> t:9=<302>
[0] 26.756 store: <300>=53
[0] 26.756 store: <302>="%d"
[0] 26.756 allocated u:i=<303> t:8=<304> t:9=<305>
[0] 26.757 store: <303>=54
[0] 26.757 store: <305>="%d"
[0] 26.757 allocated u:i=<306> t:8=<307> t:9=<308>
[0] 26.757 store: <306>=55
[0] 26.757 store: <308>="%d"
[0] 26.757 allocated u:i=<309> t:8=<310> t:9=<311>
[0] 26.757 store: <309>=56
[0] 26.757 store: <311>="%d"
[0] 26.757 allocated u:i=<312> t:8=<313> t:9=<314>
[0] 26.758 store: <312>=57
[0] 26.758 store: <314>="%d"
[0] 26.758 allocated u:i=<315> t:8=<316> t:9=<317>
[0] 26.758 store: <315>=58
[0] 26.758 store: <317>="%d"
[6] 26.753 store: <175>=void
[0] 26.758 allocated u:i=<318> t:8=<319> t:9=<320>
[6] 53
[0] 26.759 store: <318>=59
[0] 26.759 store: <320>="%d"
[0] 26.759 allocated u:i=<321> t:8=<322> t:9=<323>
[0] 26.759 store: <321>=60
[6] 26.755 store: <301>=void
[6] 58
[4] 50
[4] 26.763 store: <262>=void
[4] 59
[4] 26.763 store: <319>=void
[4] 57
[4] 26.763 store: <313>=void
[4] 56
[4] 26.763 store: <310>=void
[4] 55
[4] 26.764 store: <307>=void
[6] 26.771 store: <316>=void
[2] 86
[2] 26.775 store: <178>=void
[0] 26.779 store: <323>="%d"
[0] 26.780 allocated u:i=<324> t:8=<325> t:9=<326>
[0] 26.780 store: <324>=61
[0] 26.780 store: <326>="%d"
[0] 26.780 allocated u:i=<327> t:8=<328> t:9=<329>
[0] 26.780 store: <327>=62
[0] 26.780 store: <329>="%d"
[0] 26.780 allocated u:i=<330> t:8=<331> t:9=<332>
[0] 26.780 store: <330>=63
[0] 26.780 store: <332>="%d"
[0] 26.781 allocated u:i=<333> t:8=<334> t:9=<335>
[0] 26.781 store: <333>=64
[0] 26.781 store: <335>="%d"
[0] 54
[0] 26.781 store: <304>=void
[0] 64
[0] 26.782 store: <334>=void
[0] 63
[0] 26.782 store: <331>=void
[0] 62
[0] 26.782 store: <328>=void
[0] 61
[5] 60
[0] 26.783 store: <325>=void
[5] 26.783 store: <322>=void
[3] 52
[3] 26.773 store: <298>=void
[1] 51
[1] 26.791 store: <274>=void
[1] 26.895 turbine finalizing
[7] 26.796 turbine finalizing
[5] 26.903 turbine finalizing
[3] 26.896 turbine finalizing
[4] 26.907 turbine finalizing
[2] 26.912 turbine finalizing
[6] 26.911 turbine finalizing
[0] 26.920 turbine finalizing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment