Make error: I want the make file to use gcc compiler flags but originally it uses intel

天大地大妈咪最大 提交于 2020-01-06 20:58:11

问题


I also tried make -icpc="CXX"
make -icc="cc" gives the error.

make: invalid option -- 'c'
make: invalid option -- 'c'
make: invalid option -- '='
make: invalid option -- 'c'
make: invalid option -- 'c'

Currently Loaded Module files:

gcc
make
python/2.7.11
openmpi/1.10.1-gnu
hdf5/1.8.10-intel
boost/1.60.0-gnu5
mkl/2013.5.192
mpich/3.1.2-gnu

来源:https://stackoverflow.com/questions/43528646/make-error-i-want-the-make-file-to-use-gcc-compiler-flags-but-originally-it-use

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!