Skip to content

how does init_surf link the lattice parameters obtained from init_bulk #1611

Closed

Description

@wangsl613

Summary

how does init_surf link the lattice parameters obtained from init_bulk

DP-GEN Version

0.10.6

Platform, Python Version, etc

No response

Details

Dear DPGEN Developer,

I have used init_bulk to generate PtNi-bulk with different compositions and obtained the lattice parameters for different compositions through structural optimization. Now, I want to use init_surf to get the surface structures of different compositions and different crystal planes. How can I link the lattice parameters obtained from init_bulk for different compositions? Since init_surf only allows the input of one set of lattice parameters. Or, do I need to calculate the lattice parameters again for different crystal planes using init_surf? I am eagerly awaiting your reply.

Best regards.

Activity

  1. wangsl613 commented on Aug 3, 2024

    @wangsl613
    Author

    Or, how can I automatically link the parameters "from_poscar" and "from_poscar_path" with the CONTCAR obtained from init_bulk? Or is it only possible to do this manually or by writing a script to accomplish the operation?

  2. njzjz-bot commented on Aug 23, 2026

    @njzjz-bot
    Collaborator

    init_surf does not automatically discover and map the optimized lattice parameters from multiple init_bulk composition directories. from_poscar/from_poscar_path describe one starting structure for an invocation, so separate optimized structures must be passed in separate runs or generated by a small driver script.

    This is expected behavior and the usage question is answered, so I suggest closing the issue. A future request for a batch interface should be filed separately with a concrete input/output design.

    Coding agent: Codex
    Codex version: codex-cli 0.149.0
    Model: gpt-5.6-sol
    Reasoning effort: xhigh

  3. locked and limited conversation to collaborators on Aug 24, 2026
  4. converted this issue into a discussion #1965 on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions