Make error: I want the make file to use gcc compil

2019-09-14 18:28发布

问题:

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