Hi Rick,
Thanks for your suggestion on the issue on the compilation.
I am not writing or changing AFNI program, and there is no need for me to do that. The reason why I want to compile AFNI is that the output of the AFNI command line in the Mac terminal window showed up an error of "compilation failure", when I tried to call the function of "align_epi_anat.py" previously. Since my project requires a high efficiency to align up the images, I want to call only the specific function of "align..." to make it run faster.
Thanks,
Sheng