Comments (9)
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:
- in the source code "src/noncart/grid.c"
- replace the code update(ind, d); with NESTED_CALL(update, (ind, d));
from bart.
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.
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.
from bart.
Let me know whether this worked. Then we could document this as a workaround.
from bart.
from bart.
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.
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.
I can add that compling with clang worked much better.
from bart.
Related Issues (20)
- declaration different vs definition HOT 1
- How to install packages without sudo access HOT 1
- slow ecalib HOT 5
- identical condition HOT 2
- CFL file error HOT 1
- Compile fail on Mac OS X with gcc12 - conflicting types for 'FILE'
- uint error again
- Nufft with DFT option not running on GPU HOT 1
- Newer GPUs needs additional nvcc arguments HOT 7
- M1 Mac compile error: "Makefile:23: *** missing separator. Stop." HOT 28
- Seek help HOT 1
- make error: fatal error: lapacke.h: HOT 3
- Questions: In SCC coil compression, why eigen decomposition of covariance instead of SVD ? HOT 1
- Style identical include HOT 1
- Bart pics with GPU generates only empty output when compiled with cuda 12.5.1, works with cuda 12.0.0 HOT 1
- CUDA – memory spanning multiple devices and a question about cuda_global_memory HOT 1
- identical line
- statement redundant
- Typo in neural network .c files HOT 1
- twixread cannot read Siemens data - Input/output error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bart.