Open yacexi opened 5 years ago
I run the simulation with gdb. It shows following error messages:
Program received signal SIGSEGV, Segmentation fault.
0x000000000051c8c1 in SSAGES::DirectForwardFlux::InitializeQueue(SSAGES::Snapshot*, std::vector<SSAGES::CollectiveVariable*, std::allocator<SSAGES::CollectiveVariable*> > const&) ()
If you were trying to run more than 1 processor per walker, we have recently identified an issue with the read/write that happens when "computeInitialFlux"
is false. As a workaround for the current implementation, please limit simulations to 1 processor per walker. It should still proceed as expected with any number of walkers.
Thank you for your reply. I run the simulation with 1 processor per walker and it failed. I compiled the SSAGES with debug mode. The error message shows:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000833ac6 in SSAGES::DirectForwardFlux::InitializeQueue (this=0xad2610, snapshot=0xad5410,
cvs=std::vector of length 1, capacity 1 = {...})
at /home/yacexi/software/SSAGES-public/src/Methods/DirectForwardFlux.cpp:309
309 lprev = myconfig->l;
if I type p myconfig->l
in gdb, it shows:
Cannot access memory at address 0x194c2b0b0
When I set "computeInitialFlux" to "false" and run the "/ForwardFlux/LAMMPS/Langevin" example, the simulation fails. The example has been successfully run with that parameter set to "true", and there are l0*.dat files in "FFSoutput" folder. The error messages are shown as follow: