Unverified Commit c23694f3 authored by zcxzcx1's avatar zcxzcx1 Committed by GitHub
Browse files

Merge pull request #3 from hjhk258/patch-1

Fix formatting in installation instructions
parents 753da9ff 326aa0db
...@@ -7,9 +7,8 @@ unbiased structure prediction across the full density range ...@@ -7,9 +7,8 @@ unbiased structure prediction across the full density range
## Install the BOMLIP-CSP ## Install the BOMLIP-CSP
```sh ```sh
git clone https://github.com/pic-ai-robotic-chemistry/BOMLIP-CSP.git --recursive git clone https://github.com/pic-ai-robotic-chemistry/BOMLIP-CSP.git --recursive
cd BOMLIP-CSP conda create -n BOMLIP_CSP python=3.10 -y
conda create -n BOMLIP_CSP python=3.10 -y
conda activate BOMLIP_CSP conda activate BOMLIP_CSP
cd BOMLIP-CSP/mace-bench cd BOMLIP-CSP/mace-bench
./reproduce/init_mace.sh ./reproduce/init_mace.sh
...@@ -72,14 +71,18 @@ Explanations for all arguments are provided in main.py and mace-bench/scripts/op ...@@ -72,14 +71,18 @@ Explanations for all arguments are provided in main.py and mace-bench/scripts/op
```sh ```sh
#!/bin/bash #!/bin/bash
conda create -n 7net-cueq python=3.10 -y && conda activate 7net-cueq conda create -n 7net-cueq python=3.10 -y && conda activate 7net-cueq
cd BOMLIP-CSP/mace-bench
./reproduce/init_7net.sh && source util/env.sh ./reproduce/init_7net.sh && source util/env.sh
```
The optimization command for 7net is given in csp.sh
```sh
# Use a fixed batch size for structural optimization # Use a fixed batch size for structural optimization
python ../../scripts/opt_batch.py --target_folder "../../data/perf_v2" \ python "${TOP_DIR}/mace-bench/scripts/opt_batch.py" --target_folder "${TAR_DIR}/structures" \
--molecule_single 46 --gpu_offset 0 --n_gpus 4 --num_workers 4 \ --molecule_single 13 --gpu_offset 0 --n_gpus 8 --num_workers 48 --batch_size 2 \
--batch_size 2 --max_steps 3000 --filter1 UnitCellFilter \ --max_steps 3000 --filter1 UnitCellFilter --filter2 UnitCellFilter \
--filter2 UnitCellFilter --optimizer1 BFGSFusedLS --optimizer2 BFGS \ --optimizer1 BFGSFusedLS --optimizer2 BFGS --num_threads 2 --cueq true \
--num_threads 2 --cueq true --use_ordered_files true --model sevennet --use_ordered_files true --model sevennet > opt.log 2>&1
``` ```
## License ## License
...@@ -112,4 +115,4 @@ If you use this code in your research, please cite: ...@@ -112,4 +115,4 @@ If you use this code in your research, please cite:
year = {2025}, year = {2025},
url = {https://github.com/pic-ai-robotic-chemistry/BOMLIP-CSP} url = {https://github.com/pic-ai-robotic-chemistry/BOMLIP-CSP}
} }
``` ```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment