Software Archive
Read-only legacy content
17060 Discusiones

Makefile issues

newport_j
Principiante
1.147 Vistas


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
0 kudos
2 Respuestas
TimP
Colaborador Distinguido III
1.147 Vistas
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_H_Intel
Empleados
1.147 Vistas
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."
Responder