创建 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 自动分配,进入私有队列时再临时绑定本轮执行后端。

基础配置(自动生成模式)

选择param.yaml模板文件
{% if param_templates %} {% else %}
警告:未找到param模板文件,请检查 /root/tool/nep/config/ 目录
{% endif %}
选择POTCAR势函数类型
{% if not potcar_types %}
警告:未找到POTCAR类型,请检查 /root/tool/potcar/ 目录
{% endif %}
如果勾选,将使用POTCAR.Z文件(需要zcat命令)
数字越大优先级越高(0-100)

队列配置

任务将进入选中的公用队列,Worker会从该队列领取任务{% if default_queue %}(默认:{{ default_queue.name }}){% endif %}

扩胞配置(可选,仅自动生成模式)

低于此原子数的材料将进行扩胞(留空则不进行扩胞)
三个方向的扩胞倍数,格式:x,y,z(例如:2,2,2 表示三个方向都扩大2倍)

自定义参数(可选,仅自动生成模式)

可选:输入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 %}

正在创建任务,请稍候...

创建结果