Software Archive
Read-only legacy content
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.

compiling

Intel_C_Intel
Employee
1,719 Views
Not able to compile fortran files including "Hello, world". Get an error
"Error spawning df.exe". df.exe is in place. PATH has it. Reinstalled a
couple of times the whole fortran. Can use df.exe from the command
line. How to make compilation work from the Developer Studio?
0 Kudos
12 Replies
Steven_L_Intel1
Employee
1,719 Views
Have you run per-user setup from the Visual Fortran program group?

Steve
0 Kudos
Intel_C_Intel
Employee
1,719 Views
I'm a different user (6.1) and I'm having the following error:
Link: fatal error LNK1104: cannot open file "@C:WINNTProfiles...RSP43.tmp"
Then I get error executing df.exe. I have run per-user setup. I am running WinNT4.0, SP6, on a P3 733. I have over 1.5Gbytes of free space. Any ideas would be appreciated.

Joe
0 Kudos
Steven_L_Intel1
Employee
1,719 Views
I think 6.1A will take care of the link error. If not, change your TMP environment variable to point to an existing folder that does not have a blank in its path.

Steve
0 Kudos
Intel_C_Intel
Employee
1,719 Views
I am having the same error while compiling a console fortran programme, which I have been running for months now. Suddenly, I am now having "Error spawning df.exe".
Then all the operating system stops responding, which is aWindows 98.

ANy body out there who could offer any ideas?

Thanks.
OCicek
0 Kudos
Steven_L_Intel1
Employee
1,719 Views
The "Error spawning DF.EXE" message means that Developer Studio was unable to run the compiler. There are many possible reasons for this, from not running Per-User Setup, to deleting the COMSPEC environment variable, to a corrupted registry. If your system becomes unresponsive after this error, that is very unusual and suggests a problem with your system or software.

The first thing I'd try is to run Per-User Setup. Then if that doesn't work, reinstall CVF. If you need help after that, write vf-support@compaq.com and include ALL the information requested in BUGREPRT.TXT, which you'll find in the DF98 folder. Don't leave anything out - we get many of these with blanks where the critical info should have been. If you have VF Reporter installed, use that instead.

Steve
0 Kudos
Intel_C_Intel
Employee
1,719 Views
I am a user of 6.5, and am also now encountering the same problem. I get "LINK : fatal error
LNK1104: cannot open file "@C:Documents and Settingskluther1Local SettingsTempRSP2E8.tmp"
I have reinstalled 6.5 and that did not clear up the problem. It is persistent across more than one
project.

I've looked all over for the "per user setup" and have no idea where to find it. It is not
clearly labeled as an executable in any directory I've searched. I also cannot figure out
how to find where my "TMP" variable is defined so that I can try to change that, according
to another of Steve's replies.

Steve (or anyone else), can you give more explicit details about how to access either
of these things (per user setup and/or TMP environment definition)? Sorry to be dense...

Thanks,

Ken
0 Kudos
Steven_L_Intel1
Employee
1,719 Views
Ken,

Your link problem is the TMP environment variable. The best solution for you is to download and install the free 6.6 upgrade from our web site. If you don't want to do that, and you are on Windows 2000 or XP, right click on My Computer, select Properties, Advanced, Environment Variables. There you can change the value of TMP and TEMP to point to an existing folder whose name doesn't contain spaces.

BTW, Per User Setup is called that in the Compaq Visual Fortran 6 program group off of the Start menu. The file is REGEE.EXE.

Steve
0 Kudos
Jugoslav_Dujic
Valued Contributor II
1,719 Views
Often "Error spawning df.exe" are consequences of insufficient virtual memory (which CVF is rather hungry for). Try increasing your swap file (on NT/2000, it's MyComputer/Properties/Performance/Virtual Memory). I usually set it to 256 MB min/256 MB max.
0 Kudos
Steven_L_Intel1
Employee
1,719 Views
I don't know about "often" - in fact, if you don't see any other error, then it isn't virtual memory limitations.

Steve
0 Kudos
Jugoslav_Dujic
Valued Contributor II
1,719 Views
Thanks for the clarification, I wasn't very precise. Now I remember I post the same answer and made the same mistake once before :-(. Typical symptom when out of virtual memory is that compiler digests a source file for a rather long time and then just issues "Error executing df.exe" (not spawning). Steve, please kick me under the table next time :-).
0 Kudos
Steven_L_Intel1
Employee
1,719 Views
My legs are long, but not that<.b> long!

It's easy to get confused between the two similar-looking messages.

Steve
0 Kudos
Intel_C_Intel
Employee
1,719 Views
Have identical problem. How does one see the previous replies -- I am seeing nothing.
0 Kudos
Reply