PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

can't open file.exe

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
nguyengiang



Joined: 28 May 2013
Posts: 1

PostPosted: Fri Mar 28, 2014 9:44 am    Post subject: can't open file.exe Reply with quote

Hi everybody,
I used PGI Fortran for open a file hello.f but i got
LINK:fatal error LNK1104: cannot open file hello.exe.
I don't know why it didn't compiler.
Thank of avance.
Back to top
View user's profile
cparrott



Joined: 02 May 2011
Posts: 141

PostPosted: Fri Mar 28, 2014 11:04 am    Post subject: Reply with quote

Hi,

This error can pop up for a variety of reasons. Usually it indicates that the linker cannot write out the output file hello.exe for some reason. There are a variety of reasons as to why this could happen - for example:


  • Insufficient permission to write 'hello.exe' to the directory
  • Another process has a lock on creating the file 'hello.exe'
  • Anti-virus software may inhibit creating new executables


This list is not exhaustive, but should give you some ideas of things to try. Check file permissions, reboot your system, and try disabling anti-virus checking on the directory where you are compiling hello.exe.

Hope this helps,

+chris
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
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 © phpBB Group