PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Course

What is error: link: fatal error LINK1104
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
YWu



Joined: 05 Dec 2007
Posts: 5

PostPosted: Thu Sep 11, 2008 7:30 am    Post subject: What is error: link: fatal error LINK1104 Reply with quote

I have been working with PGI V7.1.2 for a while.
Recently, I got this error message:

link: fatal error LINK1104: cannot open 'TEMPFILE'

I do not know what this is, and do not know how to solve this problem.
Please advice me. Thanks!
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6745
Location: The Portland Group Inc.

PostPosted: Thu Sep 11, 2008 10:11 am    Post subject: Reply with quote

Hi YWu,

Check your permissions on the "temp" directory as defined in your environment by the "TEMP" variable ("env $TEMP"). You most likely don't have write permissions. Also, try setting TEMP to a directory you know you have permissions, such as your local documents directory.

Hope this helps,
Mat
Back to top
View user's profile
YWu



Joined: 05 Dec 2007
Posts: 5

PostPosted: Thu Sep 11, 2008 10:45 am    Post subject: Reply with quote

Hi, Mat,

Thanks. I do have TEMP at C:\Documents and Settings\ywu\Local Settings\Temp. In the "Environment variables" settings, one is for "user variable", one for "system variable". I have TEMP for both. The "TEMP" for system is located at C:\Windows\Temp. I can create file in this directory. Are these two conflict.

Ywu
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6745
Location: The Portland Group Inc.

PostPosted: Thu Sep 11, 2008 3:08 pm    Post subject: Reply with quote

Hi Ywu,

The "TEMP" environment variable can be set to any directory, but it should only be a single directory. So I wasn't quite sure what you meant by having two TEMP directories.

What is the output of "echo $TEMP" (or "echo %TEMP%" if you're using a DOS shell)? And please confirm that you do have permissions to write to this directory.

- Mat
Back to top
View user's profile
YWu



Joined: 05 Dec 2007
Posts: 5

PostPosted: Fri Sep 12, 2008 7:17 am    Post subject: Reply with quote

Hi, Mat,

It is C:\Documents and Settings\ywu\Local Settings\Temp
I definitely have right to write a file to this directory.
It worked before. The problem occurred recently after an update by a computer manager. I am wondering this is caused by the update.
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
Goto page 1, 2  Next
Page 1 of 2

 
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