When move all the code from HPC4 to savio, and config all machine related environmental variables, the create_newcase got the error:
The perl module XML::LibXML is needed for XML parsing in the CESM script system
search
https://bb.cgd.ucar.edu/warning-cesm122
cesm_setup后出现新错误
gmake: c: Command not found
https://bb.cgd.ucar.edu/porting-cesm-120-local-cluster-linux-intel-or-pgi125表示增加几个flag即可,后对比Macro文件发现少很多东西。
原来 config_machine.xml中
<COMPILERS>intel14</COMPILERS>
我写成intel13在config_compiler的时候找不到标的。换成intel后即可。
后到最后连接过程出现错误
ld: cannot find -lrefblas
找不到库文件,经查为lapack的一个lib flag。需要重命名之。
注意先卸载php与依赖关系,然后改用remi的yum源,直接yum install高版本php和所有的依赖包即可。
注意先解决依赖关系,编译参数如下:
./configure –sysconfdir=/etc/ssh –with-zlib –with-md5-passwords
make
make install
然后重启sshd服务,基本没什么大问题。
后发现X11 forwarding不可用,调整/etc/sshd_config X11Forwarding为yes还是不行。
最后发现之前删掉了hosts文件,加入
127.0.0.1 localhost.locoldoman localhost
后成功