Dear Hirak,
I have read the link you gave some days ago ,there should be something wrong .My code is attached .And I run the network .
It suggests some errors as follow:
src/main_test3.cpp: In function ‘int main(int, const char**)’:
src/main_test3.cpp:61:2: error: ‘simFid’ was not declared in this scope
simFid = fopen("networkZ.dat", "rb");
I think it is wrong to printf simFid ,since it is really not declared in this cope .So I change "simFid" to "fId" ,because we have declared "fId" before .
However ,it is still wrong:
***************** Initializing CPU Simulation *************************
段错误 (核心已转储)
And one more thing ,every time I run for
sim.loadSimulation ,the file ""networkZ.dat" will be deleted automatically.
That's my question I have met .Thanks for your attention.
Yours,
Spike