PDA

View Full Version : Lahey Fortran on XP Pro as normal user.


naltoidaddict
04-21-2006, 04:11 PM
I have a user that needs to use Lahey Fortran on Windows XP as a normal user (no administrator priv). I can run the app without any problem as an admin but as soon as I try it as a plain old user I get the following error:

16 bit Windows Subsystem
<path>. A temporary file needed for initialization could not be created or could not be created or written to. Make sure that the directory path exists and disk space is available.

I've tried changing the path and resetting the permissions to "full" on anything the program seems to touch (including the ini file in \windows\) but nothing seems to work.

Lahey Support
04-21-2006, 05:49 PM
When installing Lahey/Fujitsu Fortran v7.X you can select to install the application for anyone who uses the computer or only for the user running the install. The option is offered in the Customer Information dialog. See the attached .bmp for a copy of this dialog.

To resolve the issue, uninstall then reinstall selecting this option.

naltoidaddict
04-21-2006, 07:16 PM
Thanks for your help. He's running Lahey95 which I suspect is probably the crux of the problem since the box says "requires windows 9x or NT". I went through the reinstall and never was prompted for program permissions. I know at some point Lahey tries to write something to c:\windows\temp. Just for kicks I changed the temp dir for the system wide environment variable from c:\windows\temp to c:\temp and it works fine.

thanks again,

sramanujam
09-09-2006, 05:42 AM
I faced similar problem few months ago when I installed Lahey Fortran 5.7version. I moved the temp file location to all users and now it works fine. By default, lahey uses the windows temp file located in c:\windows, which is not accesible by users who don't have admin privileges.

kostis
01-28-2008, 10:46 AM
Hello

I have been compiling fortran with Lahey in win vista for a long time
but my last program after a few iterations returns the following message
and the command window closes (even if i run my .exe as admin):

The program was terminated abnormally with Exception Code
EXCEPTION_ACCESS2VIOLATION
erro0 summary (Fortran)
erro0r number ewe0019i
error level u
error count 1

My code includes an array that is printed in a dat file repeadedly
but the crash happens after a specific number of iterations.

Any help is apreciated
Thanx for reading