I just find a way to use linear solver by LAPACK.
It was not so easy and I am still working on it.
First, I need to install gfortran from
http://gcc.gnu.org/wiki/GFortranBinaries#Windows
Then I downloaded the LAPACK from
http://www.netlib.org/lapack/
Then I just extracted the filed into a library.
after that I download some bath files from
http://gcc.gnu.org/wiki/LAPACK%20on%20Windows
and extracted them into the LAPACK directory.
It worked after I run the batch file:
makelibs.bat
Then I just used a command like this
gfortran -o mypgm mypgm.f90 lapack.a blas.a
to compile my fortran file.
I had my lapack.a and blas.a copied into the compile directory.
It worked fine.
I have to make this thing work with Eclipse.
It was not so easy and I am still working on it.
First, I need to install gfortran from
http://gcc.gnu.org/wiki/GFortranBinaries#Windows
Then I downloaded the LAPACK from
http://www.netlib.org/lapack/
Then I just extracted the filed into a library.
after that I download some bath files from
http://gcc.gnu.org/wiki/LAPACK%20on%20Windows
and extracted them into the LAPACK directory.
It worked after I run the batch file:
makelibs.bat
Then I just used a command like this
gfortran -o mypgm mypgm.f90 lapack.a blas.a
to compile my fortran file.
I had my lapack.a and blas.a copied into the compile directory.
It worked fine.
I have to make this thing work with Eclipse.
No comments:
Post a Comment