This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while(running){ | |
receiveMessagesInInbox(); | |
readInboxMessages(); | |
updateRankState(); | |
sentOutboxMessages(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while(running){ | |
processInput(); | |
updateGameState(); | |
drawScreen(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash: module: line 1: syntax error: unexpected end of file | |
bash: error importing function definition for `module' | |
error: commlib error: got select error (No route to host) | |
error: executing task of job 3031361 failed: failed sending task to execd@r104-n89: can't find connection | |
-------------------------------------------------------------------------- | |
A daemon (pid 22600) died unexpectedly with status 1 while attempting | |
to launch so we are aborting. | |
There may be more information reported by the environment (see above). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# how to use: | |
# first execute the on node1 | |
# then run it on node2 | |
# you have to change node1 and node2 | |
firstPort=18515 | |
lastPort=18525 | |
iterations=1000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# how to use: | |
# first execute the on node1 | |
# then run it on node2 | |
# you have to change node1 and node2 | |
firstPort=18515 | |
lastPort=18525 | |
iterations=1000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana | |
* University Research and Technology | |
* Corporation. All rights reserved. | |
* Copyright (c) 2004-2005 The University of Tennessee and The University | |
* of Tennessee Research Foundation. All rights | |
* reserved. | |
* Copyright (c) 2004-2008 High Performance Computing Center Stuttgart, | |
* University of Stuttgart. All rights reserved. | |
* Copyright (c) 2004-2005 The Regents of the University of California. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint64_t divide(uint64_t x) const { | |
/* instructions ending with a q are 64 bits instructions | |
add is 32 bits, addq is 64 bits | |
see http://www.cs.cmu.edu/~fp/courses/15213-s07/misc/asm64-handout.pdf | |
see http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html | |
__asm__("movq %0, %%rax" | |
: "=r" (x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
seb@fault ~ $ cat kautz.py | |
#!/usr/bin/env python | |
minimumAlphabetSize=1 | |
maximumAlphabetSize=100 | |
minimumDiameter=2 | |
maximumDiameter=100 | |
minimumVertices=3 | |
maximumVertices=10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 vertices, alphabetSize= 3, diameter= 2 | |
12 vertices, alphabetSize= 3, diameter= 3 | |
12 vertices, alphabetSize= 4, diameter= 2 | |
20 vertices, alphabetSize= 5, diameter= 2 | |
24 vertices, alphabetSize= 3, diameter= 4 | |
30 vertices, alphabetSize= 6, diameter= 2 | |
36 vertices, alphabetSize= 4, diameter= 3 | |
42 vertices, alphabetSize= 7, diameter= 2 | |
48 vertices, alphabetSize= 3, diameter= 5 | |
56 vertices, alphabetSize= 8, diameter= 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# average and mode round trip latency in microseconds (10^-6 seconds) when requesting a reply for a message of 4000 bytes | |
# MessagePassingInterfaceRank Name ModeLatencyInMicroseconds AverageLatencyInMicroseconds NumberOfExchanges | |
# AverageForAllRanks: 1393.85 | |
# StandardDeviation: 275.696 | |
0 cp2157 68 69 1000 | |
1 cp2147 70 2195 1000 | |
2 cp2145 67 2198 1000 | |
3 cp2129 73 1506 1000 | |
4 cp2128 69 2319 1000 | |
5 cp2127 79 1407 1000 |
OlderNewer