The Epiphany SDK, or eSDK, installed on my Parallella (2016.11) ships with three separate .ldf files: internal.ldf, fast.ldf, and legacy.ldf. Table 5.3 (page 49 in REV 5.13.09.10) of the Epiphany eSDK Manual (found here:
http://adapteva.com/docs/epiphany_sdk_ref.pdf ) defines the differences between the various .ldf files. Sections 5.5 and 5.6 give a brief explanation of why these different .ldf files are necessary. In summary, the Epiphany III supports two different types of memory: core memory, and external shared memory. (In the table these are referred to as: "Internal SRAM" and "External SDRAM". The difference between the "internal.ldf" and "fast.ldf" is where the various parts of you program are located. Understanding the differences is essential to writing a good Parallella/Epiphany program. I would discourage the use of the installed "legacy.ldf" as it appears broken.
In your program the "vet" array is allocated on the stack. That will severely limit the maximum size that your program will support. An integer array of 100x100 elements will require 10,000x4 bytes of memory. Since the "Internal SRAM" is limited to 32KB, your array will not fit in internal memory--much less on the stack. This means you will need to return to the "fast.ldf" model. When you return to "fast", you must be careful not to allocate your external memory buffer where other program memory components are located. The art of Epiphany programming lies in correctly managing these resources efficiently.
There are a host of other issues that you will need to consider in writing your program, not the least of which is the performance of "External SDRAM" (it is slower than "Internal SRAM",) and the "weak memory-order model" (it is non-standard and non-intuitive, although it only affects external memory). You also might want to review Section 4 (page 17 of REV 14.03.11) of the Epiphany Architecture manual, found here:
http://www.adapteva.com/docs/epiphany_arch_ref.pdf .
It is my understanding that sample applications have been provided by Adapteva and/or community members to address the issues involved in writing an application such as yours. I am not familiar with the samples, as my programs have been written from scratch. Additionally, you might consider using some of the helper libraries that may assist in managing external/internal memory. Again, I am not generally familiar with them, as I have built my own. If you choose to build from scratch, don't under-estimate the work involved. If you choose to use a library, remember that will add more to the learning curve and consider support. If you choose to modify a sample, carefully consider the quality of the code before you modify it.