创建 AutoNEP 任务
为选中的材料生成 AutoNEP 任务包并创建计算任务
{% csrf_token %} {% if is_retry %}
{% else %}
{% endif %}
选中的材料 ({{ materials.count }} 个)
{% for material in materials %}
材料 #{{ material.id }}: {{ material.get_formula|default:"未知化学式" }}
{% endfor %}
创建方式
AutoNEP 创建时不区分 local / hpc;任务进入公有队列后会按空闲 worker 自动分配,进入私有队列时再临时绑定本轮执行后端。
创建方式
*
自动生成(从CIF文件生成任务包)
直接上传(上传已打包的tar文件)
基础配置(自动生成模式)
Param模板
*
{% if param_templates %} {% for template in param_templates %}
{{ template }}
{% endfor %} {% else %}
未找到模板文件
{% endif %}
选择param.yaml模板文件
{% if param_templates %}
模板内容预览:
{% else %}
警告:未找到param模板文件,请检查 /root/tool/nep/config/ 目录
{% endif %}
POTCAR类型
*
{% if potcar_types %} {% for potcar_type in potcar_types %}
{{ potcar_type }}
{% endfor %} {% else %}
未找到POTCAR类型
{% endif %}
选择POTCAR势函数类型
{% if not potcar_types %}
警告:未找到POTCAR类型,请检查 /root/tool/potcar/ 目录
{% endif %}
使用压缩的POTCAR (.Z格式)
如果勾选,将使用POTCAR.Z文件(需要zcat命令)
任务优先级
数字越大优先级越高(0-100)
队列配置
任务分配方式
分配到公用队列(默认)
直接分配给Worker
选择公用队列
{% for queue in public_queues %}
{{ queue.name }}{% if queue.description %} - {{ queue.description }}{% endif %}
{% empty %}
-- 没有可用的队列 --
{% endfor %}
任务将进入选中的公用队列,Worker会从该队列领取任务{% if default_queue %}(默认:{{ default_queue.name }}){% endif %}
选择Worker
-- 请选择Worker --
{% for worker in workers %}
{{ worker.worker_id }}{% if worker.description %} - {{ worker.description }}{% endif %}
{% endfor %}
任务将直接分配给选中的Worker的私有队列,该Worker会优先处理此任务
扩胞配置(可选,仅自动生成模式)
原子数阈值
低于此原子数的材料将进行扩胞(留空则不进行扩胞)
扩胞矩阵
三个方向的扩胞倍数,格式:x,y,z(例如:2,2,2 表示三个方向都扩大2倍)
上传任务包(直接上传模式)
任务包文件 (tar/tar.gz)
*
上传已打包好的NEP任务包(包含config、data、template三个文件夹的tar文件)
自定义参数(可选,仅自动生成模式)
自定义param.yaml参数
可选:输入YAML格式的自定义参数,会覆盖模板中的对应字段。留空则使用模板默认值。
Template目录内容预览
{% if template_contents %} {% for dir_name, dir_content in template_contents.items %}
{{ dir_name }}/
{% if dir_content %} {% for sub_name, sub_content in dir_content.items %}
{% if sub_content.items %}
{{ sub_name }}/
{% for file_name, file_content in sub_content.items %}
{{ file_name }}
{{ file_content }}
{% endfor %} {% else %}
{{ sub_name }}
{{ sub_content }}
{% endif %}
{% endfor %} {% endif %}
{% endfor %} {% else %}
未找到template目录内容,请检查 /root/tool/nep/template/ 目录
{% endif %}
创建 AutoNEP 任务
正在创建任务,请稍候...
创建结果