GithubHelp home page GithubHelp logo

Comments (9)

smyeungx avatar smyeungx commented on May 28, 2024 1

Thanks! Forgot to report that NOEXEC_STACK feature actually work very well for me. The same approach is working for nufft, with the following minor modification:

  1. in the source code "src/noncart/grid.c"
  2. replace the code update(ind, d); with NESTED_CALL(update, (ind, d));

from bart.

uecker avatar uecker commented on May 28, 2024

I think it is related to the fact that we now require an executable stack (for nested functions). Apparently WSL does not support this. Oh well, I have to think about whether we can do something about this...

from bart.

uecker avatar uecker commented on May 28, 2024

A possible alternative may be to try clang. Put the following in Makefile.local
OMP=0
CC=clang-3.8
CFLAGS+= -fblocks
LDFLAGS+= -lBlocksRuntime
You will loose parallelization with OpenMP though. I had some trouble using other versions of clang.

from bart.

smyeungx avatar smyeungx commented on May 28, 2024

from bart.

uecker avatar uecker commented on May 28, 2024

Let me know whether this worked. Then we could document this as a workaround.

from bart.

smyeungx avatar smyeungx commented on May 28, 2024

from bart.

johannestoger avatar johannestoger commented on May 28, 2024

Hi, I am also hitting this bug. Just wanted to +1 it. Please let me know if there is any experiments I can do to help out.

from bart.

uecker avatar uecker commented on May 28, 2024

Hi, to work around the segfault issue when compiling BART on WSL with GCC due to a deficiency of WSL (it does not support executable stacks) and if clang doesn't work, you can try using an experimental NOEXEC_STACK feature (on the noexecstack branch):

git fetch
git checkout noexecstack
make allcean
CFLAGS=-DNOEXEC_STACK make

from bart.

johannestoger avatar johannestoger commented on May 28, 2024

I can add that compling with clang worked much better.

from bart.

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.