pkg cado-nfs error failed with exit code

Install freebsd on the computer, install pkg on math/cado-nfs but get have a error, This computer has this issue, but azure has a new vm and works

is there a network settings to change the issue?

Python:
import math
math.factorial(45) # 119622220865480194561963161495657715064383733760000000000

computer

$ uname -v
FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC
$ pkg install cado-nfs
...
$ cado-nfs 119622220865480194561963161495657715064383733760000000000
Error:Polynomial Selection (size optimized): Program run on localhost+2 failed with exit code -4
...
Error:Polynomial Selection (size optimized): Program run on localhost+2 failed with exit code -4
...
Traceback (most recent call last):
File "/usr/local/bin/cado-nfs.py", line 204, in <module>
factors = factorjob.run()
^^^^^^^^^^^^^^^
File "/usr/local/lib/cado-nfs-3.0.0/scripts/cadofactor/cadotask.py", line 6342, in run
last_status = task.run()
^^^^^^^^^^
File "/usr/local/lib/cado-nfs-3.0.0/scripts/cadofactor/cadotask.py", line 2397, in run
n, self.best_polys[0].MurphyE,
~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
$


azure

$ uname -v
FreeBSD 14.1-RELEASE-p4 GENERIC
$ pkg install cado-nfs
...
$ time cado-nfs 119622220865480194561963161495657715064383733760000000000
...
Info:root: Cleaning up computation data in /tmp/cado.4sq6mo7d
2 3 5 17 7 11 13 19 23 29 31 37 41 43
33.87 real 5.57 user 1.46 sys


thanks
 
ok all sorted, but hmmm problems

amd 5700g
pkg install cado-nfs

# /usr/local/lib/cado-nfs-3.0.0/polyselect/polyselect
Illegal instruction (core dumped)


intel i7-10710U
pkg install cado-nfs

# /usr/local/lib/cado-nfs-3.0.0/polyselect/polyselect
Illegal instruction (core dumped)


Intel(R) Xeon(R) Platinum 8370C
pkg install cado-nfs

cado-nfs.py 119622220865480194561963161495657715064383733760000000000
2 3 5 17 7 11 13 19 23 29 31 37 41 43


-- Testing whether avx512f code can be used -- No (zen 3, comet lake)
-- Testing whether avx512f code can be used -- Yes, with -mavx512f (cascade lake)

freebsd port builds on new computers and so always uses for avx512?
 
Back
Top