When reducedPrefactor has a pole at x=0 and spectrum finds zero at x=0, then spectrum crashes when writing lambda to file:
GNU MP: Cannot allocate memory (size=16140901064495857912)
[exp-9-55:3563804] *** Process received signal ***
[exp-9-55:3563804] Signal: Aborted (6)
[exp-9-55:3563804] Signal code: (-6)
[exp-9-55:3563804] [ 0] /lib64/libpthread.so.0(+0x12cf0)[0x15554ae9acf0]
[exp-9-55:3563804] [ 1] /lib64/libc.so.6(gsignal+0x10f)[0x15554ab11acf]
[exp-9-55:3563804] [ 2] /lib64/libc.so.6(abort+0x127)[0x15554aae4ea5]
[exp-9-55:3563804] [ 3] /home/vdommes/install/lib/libgmp.so.10(+0xdb22)[0x155554eb6b22]
[exp-9-55:3563804] [ 4] /home/vdommes/install/lib/libgmp.so.10(__gmp_tmp_reentrant_alloc+0x21)[0x155554eb76c1]
[exp-9-55:3563804] [ 5] /home/vdommes/install/lib/libgmp.so.10(__gmpf_get_str+0x791)[0x155554eb8f21]
[exp-9-55:3563804] [ 6] /home/vdommes/install/lib/libgmp.so.10(__gmp_doprnt_mpf2+0x67)[0x155554f03617]
[exp-9-55:3563804] [ 7] /home/vdommes/install/lib/libgmpxx.so.4(_ZlsRSoPK12__mpf_struct+0xb1)[0x155555122a21]
[exp-9-55:3563804] [ 8] /home/vdommes/install/lib64/libEl.so.0(_ZlsIA1_12__mpf_structS1_ERSoS2_RK10__gmp_exprIT_T0_E+0x36)[0x1555521c62d6]
[exp-9-55:3563804] [ 9] /home/vdommes/install/lib64/libEl.so.0(_ZN2EllsERSoRKNS_8BigFloatE+0x23)[0x1555521c46d0]
[exp-9-55:3563804] [10] /home/vdommes/install/sdpb/master/bin/spectrum[0x47c476]
[exp-9-55:3563804] [11] /home/vdommes/install/sdpb/master/bin/spectrum[0x47b2bc]
[exp-9-55:3563804] [12] /home/vdommes/install/sdpb/master/bin/spectrum[0x420d7c]
[exp-9-55:3563804] [13] /lib64/libc.so.6(__libc_start_main+0xe5)[0x15554aafdd85]
[exp-9-55:3563804] [14] /home/vdommes/install/sdpb/master/bin/spectrum[0x424aae]
Example input:
pmp_info.json
out.zip
Command line:
spectrum --lambda 1 --precision 768 --threshold 1e-10 --pmpInfo pmp_info.json --solution out --output spectrum.json
When
reducedPrefactorhas a pole atx=0and spectrum finds zero atx=0, then spectrum crashes when writing lambda to file:Example input:
pmp_info.json
out.zip
Command line:
spectrum --lambda 1 --precision 768 --threshold 1e-10 --pmpInfo pmp_info.json --solution out --output spectrum.json