Home > OS >  Linux cluster on the GCC compiler error
Linux cluster on the GCC compiler error

Time:10-13

Test with a hello world output, but complains

[tangguorong @ xdhpc03 ~] $CD/home/tangguorong
[tangguorong @ xdhpc03 ~] $GCC TTTT. C
Cc1: error:/home/zhangyu/wuhaoxiang/Intel//compiler/Intel/Intel - compiler - 2017.5.239/MKL/include: Permission denied
[tangguorong @ xdhpc03 ~] $

Then look at a brief nod file search directory, there is still the cc1: error:
[tangguorong @ xdhpc03 ~] $` GCC - print - prog - name=cc1 ` -v
Ignoring nonexistent directory "/opt/GCC - 4.9.4/lib/GCC/x86_64 - unknown - - the gnu/Linux 4.9.4/../../../../x86_64 - unknown - - the gnu/Linux include "
Cc1: error:/home/zhangyu/wuhaoxiang/Intel//compiler/Intel/Intel - compiler - 2017.5.239/MKL/include: Permission denied
# include "... "The search starts here:
#include <.> The search starts here:
3.163//opt/Intel/composer_xe_2013 MKL/include
/opt/Intel/composer_xe_2013. 3.163/TBB/include
.
/opt/GCC - 4.9.4/lib/GCC/x86_64 - unknown - - the gnu/Linux 4.9.4
/opt/GCC - 4.9.4/lib/GCC/x86_64 - unknown - - the gnu/Linux 4.9.4/include
/usr/local/include
/opt/GCC - 4.9.4/include
/opt/GCC - 4.9.4/lib/GCC/x86_64 - unknown - - the gnu/Linux 4.9.4/include - fixed
The/usr/include
The End of the search list.

Turn to the inside of the BBS great god show white, has been stuck here for a long time

CodePudding user response:

No access to the directory
Add the permissions
Or sudo GCC XXXX. C

CodePudding user response:

Because it is running on the cluster, there is no root privileges, so you can't get access to other folders
  • Related