Makefile issues

Makefile issues

Okay I installed Intel Cilk++. It seems to have been installed properly - no errors. I tried using the Makefile

/opt/intel/composexe-20110.084/Samples/en/US/C++

and I got something like

error: can't open file linear-recurrence.o for write

compilation aborted for linear-reccurence .cpp (code 1)

I am sure it could open the *.o file. It was not in the directory andI do not think it is in the $PATH.

However,I stillwant to use the Makefile and run through the tutorials.

What is going on?

Using Ubunto 11.04 and Intel Cilk++.

Any help appreciated. Thanks in advance.

Newport_j

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

On the face of it, you don't have write privilege in your current directory, as you normally would when compiling. If you use sample Makefiles in root owned directories, copy them into, or refer to them from, your own file space and try there.

Brandon Hewitt (Intel)'s picture

The /opt directory is only writeable by root. Try copying the sample directory to a directory you own the write permissions to. I'm not sure if yours says this, but the samples.htm file in the latest updates has the recommendation to "Please ensure that any files used are copied or untarred into a writeable directory."

Brandon Hewitt Technical Consulting Engineer Tools Knowledge Base: "http://software.intel.com/en-us/articles/tools" Software Product Support info: "http://www.intel.com/software/support"

Login to leave a comment.