https://github.com/chiang-yuan/culsm-cpu
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: frontiersin.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.9%) to scientific vocabulary
Keywords from Contributors
Repository
Basic Info
- Host: GitHub
- Owner: chiang-yuan
- License: gpl-2.0
- Language: C++
- Default Branch: master
- Size: 2.91 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
CuLSM-CPU
:warning::warning::warning: This is the cpu version of CuLSM without CUDA supported parallism :warning::warning::warning:
For GPU-accelerated lattice spring model simulation, please refer to the original repository CuLSM.
Cuda-accelerated lattice spring model (CuLSM) is the CUDA C++ code implementing GPU parallelization on particle and spring lists. The code is associated with the paper "ImageMech: From Image to Particle Spring Network for Mechanical Characterization" published in Frontiers in Materials.
If you happen to use this code in your work, please cite:
Chiang Y, Chiu T-W and Chang S-W (2022) ImageMech: From Image to Particle Spring Network for Mechanical Characterization. Front. Mater. 8:803875. doi: 10.3389/fmats.2021.803875
Instead of spatial decomposition as used in LAMMPS, CuLSM applies parallization to atom and bond lists and therefore secures remarkable speedup for large-scale lattice spring model simulations.

Prerequisites
- GPU compute capabtility > 6.x for 64-bit floating point operation
- CUDA Toolkit >= 10.1 recommended
Build
To buld culsm on your device, GPU architecture must be specified at the time of compilation. In Makefile, make sure the NVFLAGS fit your device.
shell
NVFLAGS = -O3 -I$(CUDIR)/include -m64 -arch=compute_75 -code=sm_75 -Xptxas -v -rdc=true
The GPU architecture (e.g. Kepler, Turing, etc.) may be found here, and the cooresponding CUDA naming scheme can be found in Nvidia GPU Feature List.
To compile the code, simply execute make in the terminal.
shell
make
Usage
shell
./culsm-cpu < [input] > [output] &
Example Command Script
```
read lammps data file
read_data
set particle mass by type
mass
set spring type and coefficients
bond
displace certain type of particles every timestep
fix
save particle trajectory every N timesteps to file
dump
output thermodynamic observables every N timesteps
thermo
verlocity Verlet integration for N timesteps of dt seconds
run
Owner
- Name: Yuan Chiang
- Login: chiang-yuan
- Kind: user
- Location: Berkeley
- Company: UC Berkeley
- Website: https://chiang-yuan.github.io
- Twitter: cyrusyc_tw
- Repositories: 2
- Profile: https://github.com/chiang-yuan
GitHub Events
Total
Last Year
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Yuan Chiang | q****t@g****m | 10 |
| Yuan Chiang | 4****n | 4 |
| Yuan Chiang | 4****n | 1 |
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0