Comments (9)
I mostly develop with Centos 6.4, which has an older gcc. Fedora and Ubuntu often have very new versions, which often causes problems. See the beta testing folder for precompiled examples, or remove the mex command in the m-file.
You have to download nifti Matlab (http://research.baycrest.org/~jimmy/NIfTI/), in order to open nifti files in Matlab, and change addpath to where you stored nifti Matlab. More information is given in the instructions in the beta testing folder, https://github.com/wanderine/BROCCOLI/blob/master/beta_testing/BROCCOLI_beta_testing.pdf
The basepath for the beta testing folder does not need to be changed. For other folders, you first have to download data from the 1000 functional connectomes project (http://fcon_1000.projects.nitrc.org/fcpClassic/FcpTable.html) or OpenfMRI (https://openfmri.org/). Then simply change basepath to where you have saved these datasets.
from broccoli.
Thank you for the response; I can run the beta-test properly.
But I am having trouble with OpenfMRIExample, think I the compiler didn't pick the correct path for BROCCOLI_LIB
so according to this code
mex ../code/Matlab_Wrapper/FirstLevelAnalysis.cpp -lOpenCL -lBROCCOLI_LIB
Did you install BROCCOLI_LIB somewhere or just used it as a included local folder?
from broccoli.
In my case libBROCCOLI_LIB.a is stored at -L/home/andek/cuda-workspace/BROCCOLI_LIB/Release
If you look at the file FirstLevelAnalysis_RhymeJudgment.m under OpenfMRIExamples you will see the full mex command
mex ../code/Matlab_Wrapper/FirstLevelAnalysis.cpp -lOpenCL -lBROCCOLI_LIB -I/usr/local/cuda-5.0/include/ -I/usr/local/cuda-5.0/include/CL -L/usr/lib -I/home/andek/Research_projects/BROCCOLI/BROCCOLI/code/BROCCOLI_LIB/ -L/home/andek/cuda-workspace/BROCCOLI_LIB/Release -I/home/andek/Research_projects/BROCCOLI/BROCCOLI/code/BROCCOLI_LIB/Eigen/
I have now uploaded libBROCCOLI_LIB.a under https://github.com/wanderine/BROCCOLI/tree/master/code/BROCCOLI_LIB
from broccoli.
where can I find /highres001_brain.nii.gz and /highres001_brain.nii.gz?
../code/BROCCOLI_LIB/Release/libBROCCOLI_LIB.a: file not recognized: File format not recognized
collect2: ld returned 1 exit status
mex: link of ' "FirstLevelAnalysis.mexa64"' failed.
so which Broccoli have you installed? I think I need compile it for my platform(ubuntu 12.04 x86_64).
from broccoli.
You have to download the RhymeJudgment dataset from the OpenfMRI homepage if you want to run FirstLevelAnalsis_RhymeJudgment.m
https://openfmri.org/dataset/ds000003
If you need to recompile the library you can do it with Nvidia Nsight
https://developer.nvidia.com/nsight-eclipse-edition
from broccoli.
Would you please provide a Makefile for BROCCOLI_LIB? I would be much easier for all Linux users.
from broccoli.
OK, but it might take some time.
from broccoli.
I have now added the script compile_broccoli_library.sh under https://github.com/wanderine/BROCCOLI/tree/master/code/BROCCOLI_LIB
It is not a makefile, but a makefile is a bit overkill for this project with only one cpp file
Note that I use the nvcc compiler, which you get if you download the CUDA SDK
https://developer.nvidia.com/cuda-downloads
Also note that you need some header files for OpenCL, these are included in the CUDA SDK
from broccoli.
Thanks, I think I can create a makefile based on the sh script.
from broccoli.
Related Issues (20)
- BROCOLLI crashes without error
- TFCE is currently turned off error in RandomiseGroupLevel HOT 4
- permutations tmaps different from fsl randomize output by a factor of ~470 HOT 4
- GLM: segmentation fault HOT 2
- permutations turned off HOT 1
- Memory issue HOT 6
- Registration Failure HOT 1
- output uncorrected results for RandomiseGroupLevel HOT 2
- TFCE support? HOT 2
- AMD gpu and Docker failed HOT 4
- Roadmap? HOT 9
- Error building kernelBayesian.cpp for GPU on macOS HOT 2
- Elastic net regularization for GLM? HOT 2
- RandomiseGroupLevel for repeated measures HOT 2
- RandomiseGroupLevel crashing HOT 5
- python wrapper compilation HOT 1
- Segmentation fault - Multiple runs per participant still not fixed
- Compiling the matlab wrapper on Mac HOT 1
- nipype: BROCCOLI nodes do not produce any output within workflows HOT 1
- Broccoli in WSL2 - Ubuntu 22.04 - HOT 14
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 broccoli.