I recently installed Intel Visual Fortran with Microsoft Visual Studio 2005 and I am trying to compile and run a simple test program:
program hello
real :: x, y, z
open(101,file='myBLABLAfile_NEW.txt')
x = 2.10
y = 11.0
z = x*y
write(101,*) 'the answer is',z
print*, z
close(101)
end program hello
It compiles without any errors. However, when I build it, I get the following output:
'winapp2.exe': Loaded 'C:\Users\Agnes\Documents\Visual Studio 2005\Projects\WinApp2\WinApp2\Debug\winapp2.exe', Symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\ntdll.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\kernel32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\imagehlp.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\msvcrt.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\shimeng.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\apphelp.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\AppPatch\AcLayers.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\user32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\gdi32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\advapi32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\shell32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\shlwapi.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\ole32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\oleaut32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\userenv.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\secur32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\winspool.drv', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\mpr.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\AppPatch\AcGenral.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\uxtheme.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\winmm.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\oleacc.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\netapi32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\psapi.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\msacm32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\version.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\sfc.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\sfc_os.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\setupapi.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\dwmapi.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\urlmon.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\iertutil.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\shunimpl.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\imm32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\msctf.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\lpk.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\usp10.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.20533_none_4634c4a0218d65c1\comctl32.dll', No symbols loaded.
The program '[4964] winapp2.exe: Native' has exited with code 255 (0xff).
Can anyone help me?
program hello
real :: x, y, z
open(101,file='myBLABLAfile_NEW.txt')
x = 2.10
y = 11.0
z = x*y
write(101,*) 'the answer is',z
print*, z
close(101)
end program hello
It compiles without any errors. However, when I build it, I get the following output:
'winapp2.exe': Loaded 'C:\Users\Agnes\Documents\Visual Studio 2005\Projects\WinApp2\WinApp2\Debug\winapp2.exe', Symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\ntdll.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\kernel32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\imagehlp.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\msvcrt.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\shimeng.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\apphelp.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\AppPatch\AcLayers.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\user32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\gdi32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\advapi32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\shell32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\shlwapi.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\ole32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\oleaut32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\userenv.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\secur32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\winspool.drv', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\mpr.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\AppPatch\AcGenral.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\uxtheme.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\winmm.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\oleacc.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\netapi32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\psapi.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\msacm32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\version.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\sfc.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\sfc_os.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\setupapi.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\dwmapi.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\urlmon.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\iertutil.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\shunimpl.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\imm32.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\msctf.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\lpk.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\System32\usp10.dll', No symbols loaded.
'winapp2.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.20533_none_4634c4a0218d65c1\comctl32.dll', No symbols loaded.
The program '[4964] winapp2.exe: Native' has exited with code 255 (0xff).
Can anyone help me?