- 积分
- 556
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-9-19
- 最后登录
- 1970-1-1
|
发表于 2019-2-20 15:35:03
|
显示全部楼层
想问gmake时报错,可能是那方面的原因呢?它都会调用那些软件呢?netcdf?还是编译器(我的编译器是gcc6.3.1)?gcc路径没有在默认的/usr/bin下面。而是在/opt/rh/devtoolset-6/root/usr/bin下面。我需不需要改makefile里面的 Set Fortran compiler
ifneq ($(SFC),$(null))
FC := $(SFC)
endif
# Set user specified C compiler
ifneq ($(SCC),$(null))
CC := $(SCC)
endif
这一段呢?
其实我改了,FC := /opt/rh/devtoolset-6/root/usr/bin gfortran,CC := /opt/rh/devtoolset-6/root/usr/bin gcc报错了下面的内容,gmake: /opt/rh/devetoolset-6/root/usr/bin/gfortran: Command not found
gmake: *** [../gen_domain] Error 127 |
|