Comments (7)
-threads is equivalent with -openmp . Additionally, we set the itkthreads to the same, which is set to 4 by the parallel flag.
from fastsurfer.
which is set to 4 by the parallel flag
It is modified by -openmp <num>
according to the documentation I attached before. Where do you get direction about itkthreads?
from fastsurfer.
It is the default when you only specify -parallel for recon-all: https://github.com/freesurfer/freesurfer/blob/dev/scripts/recon-all#L7317
case "-parallel":
set DoParallel = 1;
if ( ! $OMP_NUM_SET ) then
# the user can override this thread count with -openmp
setenv OMP_NUM_THREADS 4
setenv FS_OMP_NUM_THREADS 4 # support for re-entrant recon-all
endif
# override: -itkthreads <num_threads>
setenv ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS 4
breaksw
from fastsurfer.
Sure, all I am saying is-- the default should be modified by -openmp <num>
flag. I don't see any documentation on FreeSurfer that says modify that using -itkthreads
flag.
from fastsurfer.
I do not quite understand what you mean. If you set -parallel in FreeSurfer, the ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS and OMP_NUM_THREADS will both be set to 4 as per the code I posted above. You can separately set a different value with -openmp and -itkthreads:
https://github.com/freesurfer/freesurfer/blob/dev/scripts/recon-all#L7328
https://github.com/freesurfer/freesurfer/blob/dev/scripts/recon-all#L7337
Do you want us to include a separate flag for -itkthreads in FastSurfer, so you can set this to a value of your choice?
from fastsurfer.
The two references help. Thanks.
Do you want us to include a separate flag for -itkthreads
No, you are good.
from fastsurfer.
Referencing my thread from FreeSurfer forum. It looks like -parallel openmp <num>
is enough for parallelization:
https://www.mail-archive.com/[email protected]/msg67061.html
from fastsurfer.
Related Issues (20)
- CC values all 0 in aseg+DKT.stats HOT 5
- input image contains negative values and gpu memory issue HOT 6
- Issue creating symbolic links when running fastsurfer-gpu.sif HOT 6
- Error during smooth_aparc.py mode HOT 1
- Error during smooth_aparc.py mode_filter HOT 5
- Biasfield-corrected image input of the segstats.py HOT 4
- Use of '--rm' argument in build.py results in a TypeError HOT 4
- Is it possible to get segstats of cerebellum after run FastSurfer pipeline? HOT 3
- Some zeros in aseg.stats HOT 8
- Fooocus colab stopping with this error HOT 4
- FastSurfer surf pipeline did not finish: Missing .label files (not enough memory for mris_sample_parc) HOT 11
- conform.py bug HOT 2
- srun_fastsurfer.sh on HPC, surface pipeline fails for hundreds but works for tens of subjects HOT 8
- Question about content of wmparc.DKTatlas.mapped.mgz HOT 1
- Support for lesion masks? HOT 1
- Unmatched ROIs in predicted segmentation and provided FastSurfer_ColorLUT.tsv HOT 23
- FastSurfer Segmentation Modules: disable conformation of input image to isometric spaces HOT 5
- FastSurfer QuickSeg doesn't work with OASIS `.img` files HOT 3
- Docker build workflows HOT 5
- Model download issue HOT 22
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 fastsurfer.