-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Made links build serially across threads on Mac due to slow deletes if they are build in parallel. * Added check to main run loop to detect time faults, i.e. time moving backward or rolling over the 64-bit core time variable.
- Loading branch information
1 parent
eea5b83
commit 5096009
Showing
10 changed files
with
180 additions
and
18 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FATAL: SST Core: ERROR: SST Core detected a time fault (an event had an earlier time than the previous event). The most likely cause of this is that the 64-bit core time had an overflow condition. This is typically caused by having low frequency events with too low of a timebase. See the extended help for --timebase option (sst --help timebase) | ||
SST Fatal Backtrace Information: | ||
0 : 0 sstsim.x 0x000000010024ea3f _ZNK3SST6Output5fatalEjPKcS2_iS2_z + 879 | ||
1 : 1 sstsim.x 0x0000000100269b82 _ZN3SST15Simulation_impl3runEv + 866 | ||
2 : 2 sstsim.x 0x00000001001f1b20 _ZL16start_simulationjR15SimThreadInfo_tRN3SST4Core10ThreadSafe7BarrierE + 3200 | ||
3 : 3 sstsim.x 0x00000001001ed044 main + 7492 | ||
4 : 4 dyld 0x000000010916852e start + 462 | ||
-------------------------------------------------------------------------- | ||
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD | ||
with errorcode 5. | ||
|
||
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. | ||
You may or may not see output from other processes, depending on | ||
exactly when Open MPI kills them. | ||
-------------------------------------------------------------------------- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
import sst | ||
|
||
# Define SST core options | ||
#sst.setProgramOption("stop-at", "25us") | ||
|
||
# Define the simulation components | ||
comp_c0_0 = sst.Component("c0_0", "coreTestElement.coreTestComponent") | ||
comp_c0_0.addParams({ | ||
"workPerCycle" : "100", | ||
"commSize" : "100", | ||
"commFreq" : "1000", | ||
"clockFrequency" : "60s" | ||
}) | ||
|
||
comp_c0_1 = sst.Component("c0_1", "coreTestElement.coreTestComponent") | ||
comp_c0_1.addParams({ | ||
"workPerCycle" : "100", | ||
"commSize" : "100", | ||
"commFreq" : "1000", | ||
"clockFrequency" : "60s" | ||
}) | ||
|
||
comp_c1_0 = sst.Component("c1_0", "coreTestElement.coreTestComponent") | ||
comp_c1_0.addParams({ | ||
"workPerCycle" : "100", | ||
"commSize" : "100", | ||
"commFreq" : "1000", | ||
"clockFrequency" : "60s" | ||
}) | ||
|
||
comp_c1_1 = sst.Component("c1_1", "coreTestElement.coreTestComponent") | ||
comp_c1_1.addParams({ | ||
"workPerCycle" : "100", | ||
"commSize" : "100", | ||
"commFreq" : "1000", | ||
"clockFrequency" : "60s" | ||
}) | ||
|
||
# Define the simulation links | ||
|
||
# North/South links | ||
link_ns_0_01 = sst.Link("link_ns_0_01") | ||
link_ns_0_01.connect( (comp_c0_0, "Nlink", "10000ps"), (comp_c0_1, "Slink", "10000ps") ) | ||
|
||
link_ns_0_10 = sst.Link("link_ns_0_10") | ||
link_ns_0_10.connect( (comp_c0_0, "Slink", "10000ps"), (comp_c0_1, "Nlink", "10000ps") ) | ||
|
||
link_ns_1_01 = sst.Link("link_ns_1_01") | ||
link_ns_1_01.connect( (comp_c1_0, "Nlink", "10000ps"), (comp_c1_1, "Slink", "10000ps") ) | ||
|
||
link_ns_0_10 = sst.Link("link_ns_1_10") | ||
link_ns_0_10.connect( (comp_c1_0, "Slink", "10000ps"), (comp_c1_1, "Nlink", "10000ps") ) | ||
|
||
# East/West links | ||
link_ew_0_01 = sst.Link("link_ew_0_01") | ||
link_ew_0_01.connect( (comp_c0_0, "Elink", "10000ps"), (comp_c1_0, "Wlink", "10000ps") ) | ||
|
||
link_ew_0_10 = sst.Link("link_ew_0_10") | ||
link_ew_0_10.connect( (comp_c0_0, "Wlink", "10000ps"), (comp_c1_0, "Elink", "10000ps") ) | ||
|
||
link_ew_1_01 = sst.Link("link_ew_1_01") | ||
link_ew_1_01.connect( (comp_c0_1, "Elink", "10000ps"), (comp_c1_1, "Wlink", "10000ps") ) | ||
|
||
link_ew_1_10 = sst.Link("link_ew_1_10") | ||
link_ew_1_10.connect( (comp_c0_1, "Wlink", "10000ps"), (comp_c1_1, "Elink", "10000ps") ) |
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