From: A B on
"evan um" <evanum(a)gmail.com> wrote in message <gppf0v$si9$1(a)fred.mathworks.com>...
> Hi all,
>
> I am trying to use PARDISO from MATLAB on Windows.
> I got libpardiso_GNU43_IA32_P.so file from PARDISO homepage:
> INTEL, 32-bit, gcc/gfortran 4.3 parallel libpardiso_GNU43_IA32_P.so
>
> I also have several files from pardiso-matlab-sym.tgz:
> pardiso.lic, pardisosolve.c, pardisoreorder.c, pardisofactor.c, pardisoinit.c, example.m
>
> I chose lcc from mex -set up.
> When I try to mex a c file above, I end up with the following errors:
> EDU>> mex libpardiso_GNU43_IA32_P.so pardisoinit.c
> libpardiso_GNU43_IA32_P.so : fatal error LNK1136: invalid or corrupt file
> C:\MATLAB\BIN\MEX.PL: Error: Link of 'libpardiso_GNU43_IA32_P.mexw32' failed.
> ??? Error using ==> mex at 213
> Unable to complete successfully.
>
> I don't think that the so file is corrupted.
> Did anyone face this problem or know how to solve this problem?
> Did it happen becuase I used lcc?
> How can I add gcc/gfrotran4.3 to compiler list in mex -set up?
> In advance, thanks for all helps.
>
> Evan

did you manage to solve your problem? i'm also trying to build pardiso on windows. however i haven't got intel fortran for windwos, and i'm trying it with silverfrost ftn95, but so far no luck. especially as ftn95 isn't that easy to interface with matlab itself