> > I can't use Coregister with SPM99 ( on a platform IBM AIX
>
> version 4.3.3 with MATLAB 6 Release 12.1 ). The system displays the plot
> Coregistering Convergence versus iteration and then crashes down ( without
> any curve !!! ).
I looked through the error messages, and there seems to be a problem within
Matlab itself. The actual reported error seems to be an "Illegal
instruction" while executing: logdet = sum(log(eps+svd(alpha+IC0)));
| Error in ==> /home/matlabr12/toolbox/spm99/spm_affsub3.m (spm_affsub2)
| On line 346 ==> logdet = sum(log(eps+svd(alpha+IC0)));
|
> 1°) I am not sure of the way your c-files were compiled because I have
> not used gcc to do the compile. Do you think it is a problem of
> compilation.
This is a very difficult problem to diagnose. There may have been some kind
of a problem with the mex files that only appeared at this point, or maybe
there is a problem with Matlab itself. I suspect the latter after taking a
look through the MathWorks web sit, I found:
http://www.mathworks.com/support/solutions/data/29542.shtml
which says:
| Solution Number: 29542
| Date Last Modified: 2001-10-15
|
| Product: MATLAB 6.1 ==> Current Version
| Platform: IBM RS/6000
|
| Problem Description
| Why does my IBM RS/6000 computer running AIX 4.3.3 crash when I try to
| start MATLAB 6.1 (R12.1)? When I try to start MATLAB, it gives me an
| Illegal Instruction error message in the function matlabrc.m and just dies!
| The IBM RS/6000 is listed as a computer supported for MATLAB 6.1 on your
| website, and it is running the correct version of AIX (version 4.3.3) My
| friend is running an IBM RS/6000 with AIX 4.3.3 as well, and MATLAB works
| perfectly well for him. What's the problem?
|
| Solution:
| There is a known problem for MATLAB on an IBM RS/6000 using an MCA (or
| Microchannel Architecture) bus. To determine if you are using an MCA bus,
| execute the command on your AIX machine.
|
| lscfg
|
| To correct this, you will need to change the BLAS version you use to the
| atlas_default. For information on how to do this, please visit the
| following website:
| http://www.mathworks.com/support/solutions/data/29603.shtml
The information at this other web site is:
| Solution Number: 29603
| Date Last Modified: 2001-10-15
|
| Product: MATLAB 6.1 ==> Current Version
| Platform: All Builds
|
| Problem Description
| What is BLAS and how can I change the BLAS version MATLAB uses?
| How does MATLAB use them, and if I want to use a different version of BLAS,
| how would I do that?
|
| Solution:
| BLAS stands for Basic Linear Algebra Subroutines. It provides the key
| foundations for performing mathematical computations in MATLAB. Everything
| which works with vectors or matrices, from simple matrix-vector
| multiplication to FFT, depends on the BLAS routines.
|
| In some cases MATLAB will choose to use a version of BLAS different than
| one you may want or need to use. Each version is specifically optimized for
| a specific processor, but sometimes (for newer processors or various tasks)
| you may want to choose to use a different version of BLAS.
|
| To do this, you need to set a few environment variables. The method for
| doing this is different for each operating system. Please consult your OS
| User's Guide for more information about your system in particular. The
| environment variables you need to set are:
|
| BLAS_VERSION
| --------------------------
| This sets which BLAS version you use; look in your $MATLAB\bin\<arch>
| directory for files whose name begins with atlas_ for available versions.
| $MATLAB is your MATLAB root directory, and <arch> is the architecture type
| for your processor.
|
| LAPACK_VERBOSITY
| -----------------------------------
| This should be set equal to 1 to verify that MATLAB is using the version of
| BLAS you tell it to use.
|
| For more information about determining your processor architecture, you can
| consult the MATLAB 6.1 (R12.1) Release Notes, which are available here:
| http://www.mathworks.com/access/helpdesk/help/base/relnotes/relnotes.shtml
Good luck. Best regards,
-John
--
Dr John Ashburner.
Functional Imaging Lab., 12 Queen Square, London WC1N 3BG, UK.
tel: +44 (0)20 78337491 or +44 (0)20 78373611 x4381
fax: +44 (0)20 78131420 http://www.fil.ion.ucl.ac.uk/~john
|