Skip to main content

PWACT is an open-source automated active learning platform based on PWMLFF for efficient data sampling.

Project description

Dependencies

Please refer to the user manual

  1. AL-PWMLFF job scheduling uses the SLURM cluster management and job scheduling system. SLURM must be installed on your computing cluster.

  2. DFT calculations in AL-PWMLFF support PWmat, VASP, CP2K and DFTB. We have integrated DFTB in PWmat. You can find detailed usage instructions in the DFTB_DETAIL section of the PWmat Manual.

  3. AL-PWMLFF model training is based on PWMLFF. Refer to the PWMLFF documentation for installation instructions (Download address for PWmat version integrated with DFTB).

  4. AL-PWMLFF Lammps molecular dynamics simulation is based on Lammps_for_pwmlff. Refer to the Lammps_for_pwmlff documentation for installation instructions.

Installation Process

You can install it through the pip command or the github source code installation.

install by pip

    pip install pwact

from github

Code Download

git clone https://github.com/LonxunQuantum/PWact.git

Then import environment variable.

export PATH=/data/home/wuxingxing/codespace/al_pwmlff/bin:$PATH

AL-PWMLFF is developed in Python and supports Python 3.9 and above. It is recommended to use the Python runtime environment provided by PWMLFF.

If you need to create a virtual environment for AL-PWMLFF separately, you only need to install the following dependent packages (compatible with your Python version, Python >= 3.9).

pip install numpy pandas tqdm pwdata

Command List

AL-PWMLFF includes the following commands, which are not case sensitive. The starting command is pwact

1. Display the available command list

pwact  [ -h / --help / help ]

2. Display the parameter list for cmd_name:

pwact cmd_name -h

3. Initial Training Set Preparation

pwact init_bulk param.json resource.json

4. Active Learning

pwact run param.json resource.json

For the 3-th and 4-th command above, the names of the JSON files can be modified by the user, but it is required that the input order of param.json and resouce.json cannot be changed.

5. Tool Commands

Convert MOVEMENT or OUTCAR to PWdata format

pwact to_pwdata

Search for labeled datasets in the active learning directory

pwact gather_pwdata

examples download

from github

https://github.com/LonxunQuantum/PWact/tree/main/pwact/example

from BaiduNetdisk included the calculation results of examples

https://pan.baidu.com/s/14E0u_7cpntiBZgg-C1S5XA?pwd=pwmt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pwact-0.1.28.tar.gz (103.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pwact-0.1.28-py3-none-any.whl (125.9 kB view details)

Uploaded Python 3

File details

Details for the file pwact-0.1.28.tar.gz.

File metadata

  • Download URL: pwact-0.1.28.tar.gz
  • Upload date:
  • Size: 103.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pwact-0.1.28.tar.gz
Algorithm Hash digest
SHA256 bc85b2768540af72fa66058ef0a97311a74f6d1213636889d6b2249a30738904
MD5 74335a3a1aec237b330932991d2dbe85
BLAKE2b-256 eb4b9b9c5f3856b5beaa8ea69cb83cc61923d89ab37287db8b0a0864f5fdfbb2

See more details on using hashes here.

File details

Details for the file pwact-0.1.28-py3-none-any.whl.

File metadata

  • Download URL: pwact-0.1.28-py3-none-any.whl
  • Upload date:
  • Size: 125.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pwact-0.1.28-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e7297358e0e370a63a6978f12f30b1d639798a56b68ef447c35398095a0f81
MD5 7c63279cb31342db15d7743fc000e092
BLAKE2b-256 f0965940922ad0ba590635f3a8b0bfd7aaa12fe3b2b2019e2339f84bbcfee851

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page