查看~/cdec/training/utils/parallelize.pl, 将其host修改为下面形式.
#my $host = check_output("hostname");
my $host = check_output("ifconfig | grep -Eo 'inet (addr:)?([0-9]*\\.){3}[0-9]*' | grep -Eo '([0-9]*\\.){3}[0-9]*' | grep -v '127.0.0.1' | head -n 1");
没有评论:
发表评论