- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I am using intel fortran compiler XE 2013 SP1. I have a set of fortran files while needs to be compiled and get output as .exe. I tried running this on command prompt from Start>All programs>Intel parallel studio XE 2013>Command Prompt> Parallel studio XE with Intel compilers> IA-32 Visual studio 2013 mode. The set of fortran files i need to compiler are in C:\Users\Dosuments folder. When i try to compile and link usinf 'ifort' command, the command creates object files but fails to link showing 'fatal error LNK1104: cannot open file C:\Users\Amanda\lnk(430A554-382D-419E-A489-499AB3D95F897.tmp). A copy of what i have done is attached along with it. Please help me with the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a folder C:\Temp
In the Windows start menu or search box, search for "environment" (wothout the quotes). When you see an entry "Edit environment variables for your account", select that.
You will see two boxes, the top box has a list of "User variables for <your account name>. If TEMP is listed there, double-click on it to bring up the edit box. Change the Variable value to "C:\Temp" (again, no quotes). Click OK and then OK again.
Now open a new Fortran command prompt window and try again.
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can reproduce the access error that you mentioned in #11. However, that is not interesting because it is the outcome of array bounds being overrun earlier. To see this for yourself, recompile with the /traceback /check options and run.
You will see that on line 144 of file ElasticMatching.f90 you try to refer to w(:,:) with a second index value (=19729) that exceeds the upper bound of the second dimension of w, which was allocated with (3,19728).
You will have to go through the code to make sure that the arrays are allocated with sufficient extents to cover their intended usage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
Thanks for the reply. i had a look t it. i understand what the problem is but how do i change it. can i try w(0) - w(1) from line 144 then w(2) -w(3) in the later line. do you think it will work. i tried by changing it was showing me access violation error again. kindly help me. Thanks
Regards
Vidhya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
vidhya s. wrote:
i understand what the problem is but how do i change it. can i try w(0) - w(1) from line 144 then w(2) -w(3) in the later line. do you think it will work. i tried by changing it was showing me access violation error again. kindly help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I deplore making arbitrary changes to code with the hope that these changes will cure serious problems that have not yet been understood.
Sorry, I have nothing more to contribute to this thread.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »