Closed afranques closed 3 years ago
Hi Antonio,
Unfortunately macro is much better at parameter checking and avoiding segfaults due to model configuration issues when running without sst-core. I had better luck using stand-alone sst-macro. I was able to get your input to run by adding a number of missing parameters and once it ran in the stand-alone build it also worked through pysstmac (sst-core):
node {
name = simple
app1 {
name = mpi_ping_all
launch_cmd = aprun -n 8 -N 2
}
proc {
frequency = 2Ghz
ncores = 2
}
nic {
name = pisces
injection {
arbitrator = cut_through
bandwidth = 12GB/s
latency = 0.6us
credits = 8KB
mtu = 4096
}
}
memory {
name = pisces
total_bandwidth = 100GB/s
latency = 10ns
}
}
topology {
name = star
concentration = 4
}
switch {
name = pisces
arbitrator = simple
mtu = 4096
xbar {
bandwidth = 1.2TB/s
latency = 100ns
}
link {
bandwidth = 12.5GB/s
latency = 100ns
}
router {
name = star_minimal
}
logp {
bandwidth = 12.5GB/s
out_in_latency = 15ns
hop_latency = 15ns
}
}
I'd like to get away from (poorly) supporting different modes of operation, but that's going to be a long term effort.
I also noticed that the star inputs were commented out of the test suite at some point, so they aren't currently being tested. Sorry about that, I don't know why that was done.
--Joe
Wow! I was definitely far from fixing it myself then, because the last place I was looking was at the parameters haha
Life saver @jpkenny, thank you very much for such prompt and efficient response, your configuration works now on my end as well! Next time I run into a similar issue I will start by trying the standalone mode first ;-)
-Antonio
Hello, I am trying to use the
star
topology , but I haven't managed to do so successfully. I started by doing agrep
to see what.ini
files contained examples withtopology.name = star
. I found 2 examples that used this topology:test_ping_all_star.ini
, but it didn't run off-the-shelf, since it complained thaterror: sim_parameters: could not find parameter name in namespace switch
(after addingswitch.name = pisces
, it still complained, so I had to addswitch.logp
, andnode.proc
as well). After accepting all parameters, the simulation then failed with the error I show below.opa24_amm3.ini
. Similarly to the previous example this one also required addingswitch.logp
andnode.proc
, and once it accepted the configuration it also threw the same error as the previous example (error shown below).I'm running with the integrated sst-core with:
pysstmac -f xxx.ini
(wherexxx.ini
is eithertest_ping_all_star.ini
oropa24_amm3.ini
)The error that either of these two
.ini
throw is:Can anyone verify that either of these two configuration files are seg-faulting in your machine as well, please?
For convenience, I have wrote a configuration (4 nodes with 2 cores each, all connected to a central switch in a star topology, running
mpi_ping_all
test with 8 ranks) containing only the essential parameters while still throwing the same segmentation fault (shown above) that with the aforementioned 2 examples:Any help will be much appreciated!
Thanks, Antonio