Skip to content

"Buffer is too small" error in mul_uW #12

Description

@007

Calculating Euler-Mascheroni Constant to 268,435,456 digits results in

Buffer is too small:
    Function:       BigFloat::mul_uW()
    Buffer Size:    1,830,984
    Required Size:  1,830,985

during Summing Series C at 83%.

Start Time: Tue Aug 28 22:43:56 2018

Working Memory...  1.92 GiB  (locked, spread: ?)
Twiddle Tables...   110 MiB  (locked, spread: ?)

Begin Computation:

Summing Series A and B...  512,995,030 terms
Time:    1065.780 seconds  ( 17.763 minutes )
Division...
Time:    1.982 seconds  ( 0.033 minutes )

Summing Series C...  9,311,986 terms
Summing: 83%  ( 0 ) E ( 27,210,357 )

Exception Encountered: BufferTooSmallException

Buffer is too small:
    Function:       BigFloat::mul_uW()
    Buffer Size:    1,830,984
    Required Size:  1,830,985


Time:    8.240 seconds  ( 0.137 minutes )


Exception Encountered: BufferTooSmallException

Buffer is too small:
    Function:       BigFloat::mul_uW()
    Buffer Size:    1,830,984
    Required Size:  1,830,985

CPU is Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, running y-cruncher in a Linux container on OSX. I'll attempt the same with the detected core and this 13-HSW core tonight on an i7-7700k.

Full config and CPU detection

y-cruncher v0.7.6 Build 9483

Detecting Environment...

CPU Vendor:
    AMD         = No
    Intel       = Yes

OS Features:
  * 64-bit      = Yes
  * OS AVX      = Yes
  * OS AVX512   = No

Hardware Features:
    MMX         = Yes
  * x64         = Yes
  * ABM         = Yes
    RDRAND      = Yes
    RDSEED      = No
    BMI1        = Yes
  * BMI2        = Yes
  * ADX         = No
    MPX         = No
    PREFETCHW   = Yes
    PREFETCHWT1 = No

SIMD: 128-bit
  * SSE         = Yes
  * SSE2        = Yes
  * SSE3        = Yes
  * SSSE3       = Yes
    SSE4a       = No
  * SSE4.1      = Yes
  * SSE4.2      = Yes
    AES-NI      = Yes
    SHA         = No

SIMD: 256-bit
  * AVX         = Yes
  * XOP         = No
  * FMA3        = Yes
  * FMA4        = No
  * AVX2        = Yes

SIMD: 512-bit
  * AVX512-F         = No
    AVX512-CD        = No
    AVX512-PF        = No
    AVX512-ER        = No
  * AVX512-VL        = No
  * AVX512-BW        = No
  * AVX512-DQ        = No
  * AVX512-IFMA      = No
  * AVX512-VBMI      = No

Alright Intel, how many drinks have you had tonight?
    AVX512-VPOPCNTDQ = No
    AVX512-4FMAPS    = No
    AVX512-4VNNIW    = No
    AVX512-VBMI2     = No
    AVX512-GFNI      = No
    AVX512-VAES      = No
    AVX512-VPCLMUL   = No
    AVX512-VNNI      = No
    AVX512-BITALG    = No


Auto-Selecting: 13-HSW ~ Airi

/Binaries/13-HSW ~ Airi


Launching y-cruncher...
================================================================



Insufficient permissions to set thread priority. Please retry as root.

Further messages for this warning will be suppressed.

Checking processor/OS features...

Required Features:
    x64, ABM, BMI1, BMI2,
    SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2,
    AVX, FMA3, AVX2



Parsing Core -> Handle Mappings...
    Cores:  0-3

Parsing NUMA -> Core Mappings...

y-cruncher v0.7.6 Build 9483                ( www.numberworld.org )
Copyright 2008-2019 Alexander J. Yee      ( a-yee@u.northwestern.edu )

Distribute Freely - Please report any bugs.

Tuning:  Linux/13-HSW ~ Airi  -  Haswell (x64 AVX2)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbug-P2-compute-blockerAll other bugs that may prevent a computation from finishing correctly.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions