GithubHelp home page GithubHelp logo

Comments (1)

NAThompson avatar NAThompson commented on August 24, 2024

I have managed to get this pared down a bit further. First I apply the following diff:

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
modified: setup.py
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@ setup.py:52 @ SMT 2.0 adds the capability to handle mixed-variable surrogate models \
and hierarchical variables.
"""

extra_compile_args = []
extra_compile_args = ['-fsanitize=address', '-fsanitize=undefined', '-g']
if not sys.platform.startswith("win"):
    extra_compile_args.append("-std=c++11")
smt/src/rmts/rmtc.cpp:172:13: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior smt/src/rmts/rmtc.cpp:172:13 in
AddressSanitizer:DEADLYSIGNAL
=================================================================
==4233==ERROR: AddressSanitizer: BUS on unknown address (pc 0x0001586fdc6c bp 0x00016bac5530 sp 0x00016bac52b0 T0)
==4233==The signal is caused by a READ memory access.
==4233==Hint: this fault was caused by a dereference of a high value address (see register values below).  Disassemble the provided pc to learn which register was used.
   #0 0x1586fdc6c in RMTC::compute_full_from_block(double*, double*, int*, int*)+0x600 (rmtsclib.cpython-39d-darwin.so:arm64+0x15c6c)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: BUS (rmtsclib.cpython-39d-darwin.so:arm64+0x15c6c) in RMTC::compute_full_from_block(double*, double*, int*, int*)+0x600
==4233==ABORTING
fish: Job 1, './rmtc_issue.py' terminated by signal SIGABRT (Abort)

Testing the natural fix int -> long now.

from smt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.