Material Toolkit命令行工具和库
项目描述
Mattoolkit CLI
用于执行排队的VASP计算。需要在所有客户端上安装以从Material Toolkit运行作业。
处理端口限制
function ssh_tunnel()
{
if [[ $(ps aux | grep "[s]sh -D 8443") ]]; then
echo "SSH proxy already exists"
else
echo "SSH socks proxy created on port 8443"
ssh -D 8443 -f -C -q -N newton
fi
}
function tunnel_if_no_http()
{
if [[ $(nc -vz google.com 80 -w 1 |& grep failed) ]]; then
ssh_tunnel
export http_proxy=socks5://localhost:8443/
export https_proxy=socks5://localhost:8443/
fi
}
tunnel_if_no_http
项目详情
关闭
mattoolkit-0.0.32.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 60fb84748e0daa5a268de34a57b94e1d1361ab35a1b05cecea6901b0882ac1ac |
|
MD5 | dbfd4d4f7935d0650fe746c0850a0b7c |
|
BLAKE2b-256 | 738951a4e6205fe778fa55936340dabc2c606980cf52da24b89ff82b3f78fc70 |