Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

help with resetting max size for matrices & matrix inversion

dsmanoli
Beginner
582 Views

Hi Im trying to create a matrix X 250 cols and 1.6 million rows, and I want to compute inv(XX). Im using Intel Visual Fortran Compiler 11.0 with MS Visual Studio on a 64 bit system. Two questions:

  1. How do set I set fortran to handle a matrix of this size? Right now I'm getting the following error: "Error 1 fatal error LNK1248: image size (804D9000) exceeds maximum allowable size (80000000) LINK" or it just aborts when compiling (saying something cryptic like "code 3").

  2. is there an easy math function to invert the matrix?
Thanks for your help!
0 Kudos
1 Reply
Steven_L_Intel1
Employee
582 Views
Use an ALLOCATABLE array. Even 64-bit Windows can't handle a static array that large.

The Intel Math Kernel Library has routines for doing matrix inversion. Look in the on-disk documentation index under "Inverting a matrix".
0 Kudos
Reply