Hi pt,
Thanks for your reply and the comments regarding posting note.
Here's the output of afni_system_check.py -check_all
.
-------------------------------- general ---------------------------------
architecture: 64bit
cpu type: arm
system: Darwin
release: 23.2.0
version: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000
distribution: 14.2.1
number of CPUs: 10
apparent login shell: zsh
shell RC file: .zshrc (exists)
--------------------- AFNI and related program tests ---------------------
which afni : /Users/minsunpark/abin/afni
afni version : Precompiled binary macos_10.12_local: Feb 8 2024
: AFNI_24.0.06 'Caracalla'
AFNI_version.txt : AFNI_24.0.06, macos_10.12_local, Feb 08 2024, official
which python : /Users/minsunpark/fsl/bin/python
python version : 3.11.8
which R : /usr/local/bin/R
R version : R version 4.3.0 (aarch64-apple-darwin20)
instances of various programs found in PATH:
afni : 1 (/Users/minsunpark/abin/afni)
R : 1 (/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/bin/R)
python : 2
/Users/minsunpark/fsl/bin/python3.11
/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/bin/python3.9
python2 : 0
python3 : 2
/Users/minsunpark/fsl/bin/python3.11
/usr/bin/python3
** have python3 but not python2
testing ability to start various programs...
afni : success
suma : success
3dSkullStrip : success
3dAllineate : success
3dRSFC : success
SurfMesh : success
3dClustSim : success
uber_subject.py : success
3dMVM : FAILURE
dyn.load(ll)에서 다음과 같은 에러가 발생했습니다:
공유된 객체 '/Users/minsunpark/abin/R_io.so'를 로드 할 수 없습니다:
dlopen(/Users/minsunpark/abin/R_io.so, 0x0006): tried: '/Users/minsunpark/abin/R_io.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/minsunpark/abin/R_io.so' (no such file), '/Users/minsunpark/abin/R_io.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
호출: source ... withVisible -> eval -> eval -> set_R_io -> dyn.load
실행이 정지되었습니다
------------------------ dependent program tests -------------------------
checking for dependent programs...
which tcsh : /bin/tcsh
which Xvfb : /opt/X11/bin/Xvfb
checking for R packages...
rPkgsInstall -pkgs ALL -check : FAILURE
dyn.load(ll)에서 다음과 같은 에러가 발생했습니다:
공유된 객체 '/Users/minsunpark/abin/R_io.so'를 로드 할 수 없습니다:
dlopen(/Users/minsunpark/abin/R_io.so, 0x0006): tried: '/Users/minsunpark/abin/R_io.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/minsunpark/abin/R_io.so' (no such file), '/Users/minsunpark/abin/R_io.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
호출: source ... withVisible -> eval -> eval -> set_R_io -> dyn.load
실행이 정지되었습니다
R RHOME : /Library/Frameworks/R.framework/Resources
------------------------------ python libs -------------------------------
++ module loaded: matplotlib.pyplot
module file : /Users/minsunpark/fsl/lib/python3.11/site-packages/matplotlib/pyplot.py
matplotlib version : 3.8.4
++ module loaded: flask
module file : /Users/minsunpark/fsl/lib/python3.11/site-packages/flask/__init__.py
flask version : 3.0.3
** failed to load module flask_cors
-- flask_cors is not required, but is desirable
-------------------------------- env vars --------------------------------
PATH = /Users/minsunpark/freesurfer/bin:/Users/minsunpark/freesurfer/fsfast/bin:/Users/minsunpark/fsl/bin:/Users/minsunpark/fsl/share/fsl/bin:/Users/minsunpark/freesurfer/mni/bin:/Users/minsunpark/fsl/share/fsl/bin:/Users/minsunpark/fsl/share/fsl/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/opt/homebrew/opt/python/libexec/bin:/Library/Frameworks/R.framework/Resources:/usr/local/gfortran/bin:/Users/minsunpark/abin
PYTHONPATH =
R_LIBS =
LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH (sub-shell) = /Users/minsunpark/freesurfer/lib/gcc/lib:/opt/X11/lib/flat_namespace
DYLD_FALLBACK_LIBRARY_PATH (sub-shell) =
----------------------------- eval dot files -----------------------------
----------- AFNI $HOME files -----------
.afnirc : found
.sumarc : found
.afni/help/all_progs.COMP : found
--------- shell startup files ----------
-- good: .tcshrc seems to contain 'source .cshrc'
-- considered operations: path, flatdir, apsearch
-- note: followers should not need edits, so edit flags should be 0
(have 1 follower(s), which can be ignored)
dot file test : want 1 modifications across 3 files:
file path flatdir apsearch follower
--------------- ---- ------- -------- --------
.cshrc 0 0 1 0
.tcshrc 0 0 0 1
.zshrc 0 0 0 0
------------------------------ data checks -------------------------------
data dir : found AFNI_data6 under $HOME (471482M Avail)
top history: ... 2024 [rickr]: 3drefit -newid FT/SUMA/FT_SurfVol.nii
data dir : missing AFNI_demos
data dir : missing suma_demo
data dir : missing afni_handouts
atlas : found TT_N27+tlrc under /Users/minsunpark/abin
------------------------------ OS specific -------------------------------
XQuartz version : 2.8.5
** no package manager found (okay for bootcamp)
++ found 1 dylib files under '/opt/X11/lib/flat_namespace'
-- found 'libXt' dylib files:
/opt/X11/lib/flat_namespace/libXt.6.dylib
-- recent OS X, cheating to check DYLD_LIBRARY_PATH in cur shell 'zsh'...
++ found evar DYLD_LIBRARY_PATH = /Users/minsunpark/freesurfer/lib/gcc/lib:/opt/X11/lib/flat_namespace
-- recent OS X, cheating to check DYLD_LIBRARY_PATH in shell 'tcsh'...
++ found evar DYLD_LIBRARY_PATH = /opt/X11/lib/flat_namespace:/opt/X11/lib/flat_namespace:/opt/X11/lib/flat_namespace
========================= summary, please fix: =========================
* just be aware: login shell 'zsh', but our code examples use 'tcsh'
* AFNI programs show FAILURE
* missing R packages (see rPkgsInstall)
* dot file test : want 1 modifications across 3 files:
* insufficient data for AFNI bootcamp
(see "Prepare for Bootcamp" on install pages)
As for some contents written in korean, it says The following error occurred in dyn.load(ll): Unable to load shared object '/Users/minsunpark/abin/R_io.so':
and : source ... withVisible -> eval -> eval -> set_R_io -> dyn.load Execution has been stopped
.
After receiving your reply, I turned off and restarted my mac, and I tried the same example code. But I got an error message this time like this:
@chauffeur_afni -ulay anat+orig.HEAD -prefix QC/ca000_anat_def -set_xhairs MULTI -montx 3 -monty 3 -label_mode 1 -label_size 4
++ Using AFNI ver : AFNI_24.0.06
++ chauffeur ver : 6.61
\n------------------ start of optionizing ------------------\n
++ Found input file: anat+orig.HEAD
+* Noting: you did NOT provide an overlay, and yet
you did NOT turn off the overlay with '-olay_off'
--> so I assume you just want to view the underlay.
++ Using blowup factor: 2
++ Using opacity: 6
++ Making temporary work directory to copy vis files: QC/__tmp_chauf_WMHpI8XGsKe
++ Converted 0 to labels
++ Final subbrick indices: -1 -1 -1
++ Copy ulay to visualize (volumetric) within user's range:
++ Ulay to be visualized within user range:
[0%, 98%] -> [0.000000, 1367.000000]
++ 3dcalc: AFNI version=AFNI_24.0.06 (Feb 8 2024) [64-bit]
++ Authored by: A cast of thousands
++ Output dataset ./QC/__tmp_chauf_WMHpI8XGsKe/tmp_ulay.nii
++ No overlay viewing
++ Dimensions (xyzt): 256 256 175 1
++ (initial) Slice spacing ordered (x,y,z) is: 19 28 28
++ 3dmaskdump: AFNI version=AFNI_24.0.06 (Feb 8 2024) [64-bit]
++ Executing 3dcalc()
argv[0]=3dcalc argv[1]=-a argv[2]=anat+orig.HEAD[0] argv[3]=-expr argv[4]=a argv[5]=-byte argv[6]=-session argv[7]=/var/folders/5t/dxm15g9d0b98vcv5xy3l5mp80000gn/T/ argv[8]=-prefix argv[9]=3dcalc_AFN_JX1D8S0jVSeiRLSGJe9phQ argv[10]=-verbose
++ 3dcalc: AFNI version=AFNI_24.0.06 (Feb 8 2024) [64-bit]
++ Authored by: A cast of thousands
++ Computing sub-brick 0
++ Scaling output to type byte brick(s)
++ Sub-brick 0 scale factor = 0.062029
++ Computing output statistics
++ Output dataset /var/folders/5t/dxm15g9d0b98vcv5xy3l5mp80000gn/T/3dcalc_AFN_JX1D8S0jVSeiRLSGJe9phQ+orig.BRIK
++ 11468800 voxels in the entire dataset (no mask)
++ 1 voxels in the boxes and/or balls
++ Using only the boxes+balls mask
++ Will have: SET_IJK 128 127 86
\n------------------- end of optionizing -------------------\n
-- trying to start Xvfb :304
[1] 3239
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 2
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
[1] + Exit 1 Xvfb :304 -screen 0 1024x768x24
-- trying to start Xvfb :317
[1] 3244
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 2
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
^F[1] + Exit 1 Xvfb :317 -screen 0 1024x768x24
-- trying to start Xvfb :593
[1] 3249
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 2
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
[1] + Exit 1 Xvfb :593 -screen 0 1024x768x24
-- trying to start Xvfb :85
[1] 3254
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 2
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
^C
Always thanks for your support!
MP