You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
need help with installing g6k on Mac M1. I do the following steps
I install fplll, fpylll, all the dependencies, and the requirements in a conda environment (with Python 3.12.4).
I git-clone g6k, arm-fixes branch.
Upon running python setup.py build_ext --inplace, I receive exactly the same error as in Encounter problem when installing G6k in SageMath(on conda) #123 (comment)
In the master branch, the erroneous line in siever.pyx has been changed from def insert_best_lift(self, scoring=(lambda index, nlen, olen, aux: True), aux=None):
to def insert_best_lift(self, scoring=None, aux=None): and inside the function
if scoring is None:
scoring = lambda index, nlen, olen, aux: True
I changed that in arm-fixes, and the error was gone, g6k/siever.pyx was cythonized.
However, now I'm getting another error:
simd.inl: In function 'Simd::SmallVecType Simd::m128_add_epi64(SmallVecType, SmallVecType)':
simd.inl:119:74: internal compiler error: in aarch64_function_arg_alignment, at config/aarch64/aarch64.cc:6715
119 | const Simd::SmallVecType b)
For some reasons, it complains on a subset of functions inside simd.inl. Tried to change SmallVecType to Simd::SmallVecType in the arguments to the function Simd::SmallVecType Simd::m128_add_epi64, it didn't help.
I have no idea what this arg_alignment error means. Would appreciate some help here.
Hi,
need help with installing g6k on Mac M1. I do the following steps
Upon running
python setup.py build_ext --inplace, I receive exactly the same error as in Encounter problem when installing G6k in SageMath(on conda) #123 (comment)In the master branch, the erroneous line in siever.pyx has been changed from
def insert_best_lift(self, scoring=(lambda index, nlen, olen, aux: True), aux=None):to
def insert_best_lift(self, scoring=None, aux=None):and inside the functionI changed that in arm-fixes, and the error was gone,
g6k/siever.pyxwas cythonized.However, now I'm getting another error:
For some reasons, it complains on a subset of functions inside simd.inl. Tried to change
SmallVecTypetoSimd::SmallVecTypein the arguments to the functionSimd::SmallVecType Simd::m128_add_epi64, it didn't help.I have no idea what this arg_alignment error means. Would appreciate some help here.