I'm putting together a local scale SFINCS model where I'm including SnapWave wavemakers along with my usual SFINCS forcings (tide, precip, etc).
I've been trying to implement weirs:
sf_qt.weirs.create(...)
But whenever I try to add weirs to the model, it crashes and gives me this output:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7efe76dee960 in ???
#1 0x7efe76dedac5 in ???
#2 0x7efe7683d51f in ???
#3 0x7efe769a9e74 in ???
#4 0x56373243783b in ???
#5 0x5637323a030a in ???
#6 0x5637322f2c40 in ???
#7 0x5637322ef396 in ???
#8 0x7efe76824d8f in ???
#9 0x7efe76824e3f in ???
#10 0x5637322ef3f4 in ???
#11 0xffffffffffffffff in ???
When I run SFINCS without SnapWave, I can create the weirs and run the model. However, when I try to include wave effects via SnapWave and try to include weirs, the model run crashes immediately and gives me the error above. As I tried to debug, I thought maybe it was because the weirs crossed grid refinement edges, but after changing that, it still crashed. I also tried making the weir have denser/closer points, still crashed. I tried just one weir at a time, always crashed. No matter what I could think of testing, I always got the same SIGSEGV error.
I'm happy to share my files and notebooks if that's helpful.
I'm putting together a local scale SFINCS model where I'm including SnapWave wavemakers along with my usual SFINCS forcings (tide, precip, etc).
I've been trying to implement weirs:
sf_qt.weirs.create(...)
But whenever I try to add weirs to the model, it crashes and gives me this output:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7efe76dee960 in ???
#1 0x7efe76dedac5 in ???
#2 0x7efe7683d51f in ???
#3 0x7efe769a9e74 in ???
#4 0x56373243783b in ???
#5 0x5637323a030a in ???
#6 0x5637322f2c40 in ???
#7 0x5637322ef396 in ???
#8 0x7efe76824d8f in ???
#9 0x7efe76824e3f in ???
#10 0x5637322ef3f4 in ???
#11 0xffffffffffffffff in ???
When I run SFINCS without SnapWave, I can create the weirs and run the model. However, when I try to include wave effects via SnapWave and try to include weirs, the model run crashes immediately and gives me the error above. As I tried to debug, I thought maybe it was because the weirs crossed grid refinement edges, but after changing that, it still crashed. I also tried making the weir have denser/closer points, still crashed. I tried just one weir at a time, always crashed. No matter what I could think of testing, I always got the same SIGSEGV error.
I'm happy to share my files and notebooks if that's helpful.