History of AFNI updates  

|
August 30, 2021 12:04PM
Hi, Robin-

I just remembered "afni" has an option to *find* an available/free port, so you shouldn't need to kill other ones (NB: I don't think the quiet_talkers would kill an afni_proc.py job; I am not sure if it might get one of the headless AFNI instances running in the QC imaging-generation called by it, though... I would hope not one from a different user. But I am not certain.)

OK, so to *find* an available/free port, you can use one of these opts:
-available_npb: Find the first available block of port numbers, 
                   print it to stdout and quit
                   The value can be used to set the -npb option for
                   a new set of chatty AFNI/SUMA/etc group.
   -available_npb_quiet: Just print the block number to stdout and quit.

The latter is better for scripting, e.g.:
#!/bin/tcsh

# get a portnum that is free
set portnum = `afni -available_npb_quiet`

# use portnum now
afni  -niml -npb ${portnum} ....

3dGroupInCorr -npb ${portnum} ....

--pt
Subject Author Posted

3dGroupIncorr: Error or incompetence?

Robin August 30, 2021 05:13AM

Re: 3dGroupIncorr: Error or incompetence?

ptaylor August 30, 2021 10:43AM

Re: 3dGroupIncorr: Error or incompetence?

RWCox August 30, 2021 11:39AM

Re: 3dGroupIncorr: Error or incompetence?

Robin August 30, 2021 11:48AM

Re: 3dGroupIncorr: Error or incompetence?

ptaylor August 30, 2021 12:04PM

Re: 3dGroupIncorr: Error or incompetence?

Robin August 30, 2021 08:35PM

Re: 3dGroupIncorr: Error or incompetence?

RWCox August 30, 2021 08:57PM

Re: 3dGroupIncorr: Error or incompetence?

ptaylor August 31, 2021 06:44AM

Re: 3dGroupIncorr: Error or incompetence?

Robin August 31, 2021 12:50PM

Re: 3dGroupIncorr: Error or incompetence?

Robin August 31, 2021 12:49PM

Re: 3dGroupIncorr: Error or incompetence?

ptaylor August 31, 2021 01:02PM