forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ERROR: The executable does not exist

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Malik



Joined: 21 Jan 2015
Posts: 4

PostPosted: Thu Jan 22, 2015 8:15 am    Post subject: ERROR: The executable does not exist Reply with quote

I am beginner in FORTRAN programming, I ran the following simple code:

program ex1
write (*,*) 'Hello there'
end program ex1

I had these error:
==============
ERROR: The executable does not exist

96cb mov [ebp-0x7c],esi
Compiling and linking file: hello_there.f95
Access violation:
The instruction at address 004196c8 attempted to read from location 0b31f20c
00419426 loadDll(<ptr>char,int) [+02a2]

004028ed loadObject(<ptr>char) [+0291]

004259d9 loadCatenatedObject(<ptr>char) [+02ac]

00402c17 loadNamedObjectFile(<ptr>char) [+0143]

00420708 findDLL(<ptr>char) [+01b0]

004208d0 loadStandardDLLs(void) [+01b2]
0040766a parcelUpExe(void) [+0857]
0040c049 parseCommandLine(<ptr><ptr>char) [+03ab]
eax=0b322c6b ebx=0b3225f4 ecx=0b32191c
edx=00000000 esi=000005dc edi=0b31f208
ebp=0370eb08 esp=0370ea54 IOPL=0
ds=002b es=002b fs=0053
gs=002b cs=0023 ss=002b
flgs=00010203 [CA OP NZ SN DN NV]
0360/7820 TSTK=7 [ ]
004196c8 mov esi,[edi+0x4]
0041


The 2nd example:

program Year
implicit none
!this is comment
integer yrbirth, currentYr, age
character :: name*5
write(*,*) 'Enter ur name'
read(*,*) name

write(*,*) 'Enter ur age now'
read(*,*) age

print*,'Enter ur current yera'
read(*,*) currentYr

yrbirth = currentYr - age
stop
end program year

=================
I had this same error:
ERROR: The executable does not exist

ile: age_ex.f95
C:\Users\DAWAHNIGERIA\Documents\F95_code\age_ex.F95(3) : warning 242 - Variable YRBIRTH has been given a value but never used
Access violation:
The instruction at address 004196c8 attempted to read from location 0508f20c
00419426 loadDll(<ptr>char,int) [+02a2]

004028ed loadObject(<ptr>char) [+0291]

004259d9 loadCatenatedObject(<ptr>char) [+02ac]

00402c17 loadNamedObjectFile(<ptr>char) [+0143]

00420708 findDLL(<ptr>char) [+01b0]

004208d0 loadStandardDLLs(void) [+01b2]

0040766a parcelUpExe(void) [+0857]

0040c049 parseCommandLine(<ptr><ptr>char) [+03ab]

eax=05092c6b ebx=050925f4 ecx=0509191c
edx=00000000 esi=000005dc edi=0508f208
ebp=0370eb08 esp=0370ea54 IOPL=0
ds=002b es=002b fs=0053
gs=002b cs=0023 ss=002b
flgs=00010203 [CA OP NZ SN DN NV]
0360/7820 TSTK=7 [ ]
004196c8 mov esi,[edi+0x4]

004196cb mov [ebp-0x7c],esi

=======================================

Kindly help me out please!

[/b]
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Jan 22, 2015 9:15 am    Post subject: Reply with quote

This appears to be a failure within the linker SLINK but it is very strange.

Are you using Plato to build your executable etc.?

If you know how to use a command line and your file name is say prog.f95, try the commands...

FTN95 prog.f95

then

SLINK prog.obj
Back to top
View user's profile Send private message AIM Address
Malik



Joined: 21 Jan 2015
Posts: 4

PostPosted: Thu Jan 22, 2015 2:47 pm    Post subject: Reply with quote

Sir, I am using Plato IDE. Kindly guide me on how to use the command line and SLINK prog.obj
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Jan 22, 2015 4:06 pm    Post subject: Reply with quote

You need to open a "Command Prompt" window and type the commands on the "Command line".

However, on reflection I suspect that your copy of SLINK.exe in the FTN95 download has got corrupted. Or maybe there something else in your system that is preventing SLINK from working.

You could try re-installing the Silverfrost package or maybe trying everything on a different machine.
Back to top
View user's profile Send private message AIM Address
Malik



Joined: 21 Jan 2015
Posts: 4

PostPosted: Thu Jan 22, 2015 7:49 pm    Post subject: Reply with quote

Thanks for your mediate response.

I have done as you said: I made a new download FTN95 Personal Edition (FTN95PE) version 7.10 from "http://www.silverfrost.com/32/ftn95/ftn95_personal_edition.aspx" version. Those codes compiled without those errors, good news! However, I am unable to see the display of the output. For instance:
program io
real :: x,y,z
print *, 'enter the values x,y and z'
read *, x,y,z
print *, 'the values you typed are for z,y,x are: ',z,y,x
end program io

It compiled, but instead of showing "print" values at the new plato window, it plato window like command environment showing " Press RETURN to close window..." It doesn't prompt for any value nor it displays output result. This have re-occurred on many trials on various examples. How may I fixed this?

My system OS is Window 7 64bit Home Premium

Thanks
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Thu Jan 22, 2015 11:00 pm    Post subject: Reply with quote

Malik,

Your first example hello.f95 is used to test the compiler was successfully installed. This test has clearly failed and the problem is with the install procedure you have used. You need to investigate why this occurred.
Did you have sys-admin rights when installing ?

John
Back to top
View user's profile Send private message
Malik



Joined: 21 Jan 2015
Posts: 4

PostPosted: Fri Jan 23, 2015 5:48 am    Post subject: Reply with quote

Definitely I installed as a System Administrator. Give an hint on how to go about the troubleshooting.

Thanks
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Fri Jan 23, 2015 9:16 am    Post subject: Reply with quote

If you can build and run this program in Plato and you get "Press RETURN to close the window" then you should also see before it "enter the values of x,y,z".

Maybe this output has scrolled out of view.
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Fri Jan 23, 2015 6:00 pm    Post subject: Reply with quote

It looks to me, Malik, that your problem could be fixed in about 10 minutes with face to face instruction. Where are you? In the unlikely event that you are somewhere within about 30 miles SW of London, I'll help.

Because FTN95 can be run in several different ways, you will get conflicting advice from a variety of people here, all trying to be helpful, but just confusing matters.

Eddie
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group