AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
January 09, 2018 02:09PM
Hi

I'm trying to run 3dQwarp using multiple threads(N=2 versus N=6 in the following script lines). However, it seems that the warp fields calculated by 3dQwarp are not identical when I use different number of threads. This results in different afni_proc.py outputs for identical inputs but different number of threads( N=2 vs N=6). Here is what I run:

N=number_of_threads
export OMP_NUM_THREADS=$N
3dQwarp -plusminus -pmNAMES Rev For \
-pblur 0.05 0.05 -blur -1 -1 \
-noweight -minpatch 9 \
-source rm.blip.med.masked.rev+orig \
-base rm.blip.med.masked.fwd+orig \
-prefix thereadsNum/blip_warp_$N


blip_warp_For_WARP+orig is then different for N=2 vs N=6.

Anyone has an idea what is the problem/solution?

And this is the afni version I use:
Precompiled binary linux_ubuntu_16_64: Dec 22 2017 (Version AFNI_17.3.09)



The image below shows %difference between a volume warped using 2 and 6 threads. The difference is in the same order as warping two different volumes using equal number of threads.
Attachments:
open | download - difference_2vs6.png (145 KB)
Subject Author Posted

3dQwarp parallel processing problem Attachments

MRahmati January 09, 2018 02:09PM

Re: 3dQwarp parallel processing problem

RWCox January 10, 2018 09:11PM

Re: 3dQwarp parallel processing problem Attachments

tsprague January 11, 2018 10:44AM