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  

|
October 17, 2018 11:58AM
Dear AFNI experts,

I am installing AFNI on Windows for AFNI bootcamp nextweek and everything installed fine but when opening AFNI, it keeps showing the error below and GUI is not opening (Xming is on).

Initializing: X11Error: Can't open display:
** glob error: No such file or directory
** You may need to 'setenv AFNI_SHELL_GLOB YES'
**
** In particular, if you are trying to access an NFS (network file
** system) mounted drive, you might be running into the situation
** where the NFS 'cookie' length on the remote system does not
** match the cookie length on your local system -- this is the only
** situation in which we have ever seen this error. In that case,
** you can either set the environment variable as described above,
** or fix the cookie length mismatch by changing the way the NFS
** drive is exported.
**-------------------------------------------------------------------
** The following information from Graham Wideman of UCSD might also
** be helpful if you are reading this 'glob error' message:
**
** I've changed the NFS export settings on our Mac OS X 10.5 server
** to include the '-32bitclients' option, and can confirm that
** this does cause AFNI to be able to see files that it could not
** see without this option. So this appears to be the more general
** way to fix the problem.
**
** For others in the same boat who may stumble on this message:
** It's not at all obvious how to actually set this option,
** as OS X 10.5's Server Admin NFS settings panels don't have
** any way to do it.
**
** The short story is:
** You have to edit the /etc/exports file, as per usual in Unix,
** but decidedly not in line with all other SharePoint related
** settings in 10.5. But first, in order to have the edits not
** conflict with Server Admin management of those settings, you
** have to uncheck Server Admin's 'NFS Enabled' checkbox for the
** relevant shares. Then, when editing the exports file, move
** the relevant lines outside the 'Server Admin managed' brackets,
** and add your options. In general, such options have to go in
** the middle section of a line; for example, after the path.
** Example:
**
** /Somedir -32bitclients -maproot=nobody -sec=sys -network 123.1.2.3 -mask 255.255.255.0
++ AFNI is detached from terminal.


Also, below is the xterm result.
xterm
xterm: Xt error: Can't open display:
xterm: DISPLAY is not set



Below is the result of afni_system_check.py -check_all result.

-------------------------------- general ---------------------------------
architecture: 64bit
system: Linux
release: 4.4.0-17134-Microsoft
version: #345-Microsoft Wed Sep 19 17:47:00 PST 2018
distribution: Ubuntu 18.04 bionic
number of CPUs: 4
apparent login shell: tcsh
shell RC file: .cshrc (exists)

--------------------- AFNI and related program tests ---------------------
which afni : /home/won25/abin/afni
afni version : Precompiled binary linux_ubuntu_16_64: Sep 27 2018
: AFNI_18.2.19
AFNI_version.txt : AFNI_18.2.19, linux_ubuntu_16_64, Sep 27 2018
which python : /usr/bin/python
python version : 2.7.15rc1
which R : /usr/bin/R
R version : R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
which tcsh : /usr/bin/tcsh

instances of various programs found in PATH:
afni : 1 (/home/won25/abin/afni)
R : 1 (/usr/bin/R)
python : 1 (/usr/bin/python2.7)
python2 : 1 (/usr/bin/python2.7)
python3 : 1 (/usr/bin/python3.6)


testing ability to start various programs...
afni : success
suma : success
3dSkullStrip : success
uber_subject.py : success
3dAllineate : success
3dRSFC : success
SurfMesh : success
3dClustSim : success

checking for R packages...
rPkgsInstall -pkgs ALL -check : success

checking for $HOME files...
.afnirc : found
.sumarc : found
.afni/help/all_progs.COMP : found

------------------------------ python libs -------------------------------
++ module 'PyQt4' found at /usr/lib/python2.7/dist-packages/PyQt4
++ module loaded: PyQt4

-------------------------------- env vars --------------------------------
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program:Files:(x86)/NVIDIA:Corporation/PhysX/Common:/mnt/c/Program:Files:(x86)/Intel/iCLS:Client:/mnt/c/Program:Files/Intel/iCLS:Client:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program:Files/Hewlett-Packard/SimplePass:/mnt/c/Program:Files/Intel/Intel(R):Management:Engine:Components/DAL:/mnt/c/Program:Files:(x86)/Intel/Intel(R):Management:Engine:Components/DAL:/mnt/c/Program:Files/Intel/Intel(R):Management:Engine:Components/IPT:/mnt/c/Program:Files:(x86)/Intel/Intel(R):Management:Engine:Components/IPT:/mnt/c/Program:Files/Intel/WiFi/bin:/mnt/c/Program:Files/Common:Files/Intel/WirelessCommon:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Users/user-pc/AppData/Local/Microsoft/WindowsApps:/home/won25/abin

PYTHONPATH =
R_LIBS = /home/won25/R

LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH =
DYLD_FALLBACK_LIBRARY_PATH =

------------------------------ data checks -------------------------------
data dir : missing AFNI_data6
data dir : missing AFNI_demos
data dir : missing suma_demo
data dir : missing afni_handouts
atlas : found TT_N27+tlrc under /home/won25/abin

------------------------------ OS specific -------------------------------
which apt-get : /usr/bin/apt-get
apt-get version : apt 1.6.3 (amd64)

have Ubuntu system: Ubuntu 18.04 bionic
have Ubuntu afni : Precompiled binary linux_ubuntu_16_64: Sep 27 2018

========================= summary, please fix: =========================
* insufficient data for AFNI bootcamp



Could you please advise on this?

Best,
Jun
Subject Author Posted

AFNI Windows Installation

Junyeon October 17, 2018 11:58AM

Re: AFNI Windows Installation

ptaylor October 17, 2018 12:31PM

Re: AFNI Windows Installation

Junyeon October 17, 2018 12:59PM

Re: AFNI Windows Installation

ptaylor October 17, 2018 03:16PM

Re: AFNI Windows Installation

Junyeon October 17, 2018 05:17PM

Re: AFNI Windows Installation

Daniel Glen October 17, 2018 07:15PM