Hi,
Xvfb is indeed the best solution for that, I used it before.
More info on
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0703&L=SPM&P=R64698&1=SPM&9=A&J=on&d=No+Match;Match;Matches&z=4
<https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0703&L=SPM&P=R64698&1=SPM&9=A&J=on&d=No+Match;Match;Matches&z=4>
Best regards
Pieter
Op 27/05/2010 10:48, Focke, Niels schreef:
> Dear Experts,
>
> me are currently trying to run scripted/automated SPM8 processing on a
> cluster engine (SGE, Centos Linux). Principally this is easily done by small
> wrapper scripts that call Matlab with the -r (function) -nodesktop -nosplash
> option. However many SPM functions seem to expect a display to be available
> which is not present in this scenario. Although some steps work with a simple
> warning that a display is missing ("Warning: Unable to open display."),
> several actually fail, e.g. coregistration :
>
>
>
>> Failed: 'Coreg: Estimate'
>> Error using ==> set
>> Width and height must be> 0
>> in file "(...)/spm_orthviews.m" (v2947), function "bbox" at line 830
>>
> ...
>
>
> Is there a way to suppress the SPM8 output? Or forward the display to
> /dev/null? Anyone tried something similar?
>
>
> Any suggestions are very much appreciated.
>
>
> Niels
>
>
> ______________________________________________________
>
> Dr. med. Niels Focke
> Dept. of Clin. Neurophysiology
> UMG - University Hospital Göttingen
> http://www.neurologie.uni-goettingen.de/
>
|