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 / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

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.

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 For 1:1 technical support: http://premier.intel.com Software Product Support info: http://www.intel.com/software/support

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!