Comments (7)
I'm not immediately sure - would you send a full example please?
from acepotentials.jl.
Hi @wcwitt , sure - is it ok if I send the example via email to you and cc @cortner ?
For the time being, I'm using Julia to load the .json file (which isn't too large in size for some reason..) and performing minimizations in Julia itself. But in the long term, I would like to use LAMMPS and carryout my simulations in there.
Please leave your e-mail id and you can close the issue for now.
from acepotentials.jl.
Leave it open please and post your entire script. Also post the size of the ACE Basis.
from acepotentials.jl.
Ok, I have found out what is wrong - I had two LAMMPS binaries, one which was compiled with the bug fix from @wcwitt and the other one is the default one from LAMMPS distribution (which had issues running because of YAML double conversion issue..).
I was stupid enough to run my ACE models on the binary which gives me the YAML error - hence this issue popped up!
My newly generated ACE potential is able to be read FINE in the binary which was compiled with the YAML bug fix. But, this leads to me on other question: is there an make
equivalent script to what is available on the Tutorials page:
git clone -b release https://github.com/lammps/lammps
cd lammps
mkdir build
cd build
wget -O libpace.tar.gz https://github.com/wcwitt/lammps-user-pace/archive/main.tar.gz
cmake \
-D PKG_ML-PACE=yes \
-D PACELIB_MD5=$(md5sum libpace.tar.gz | awk '{print $1}') \
../cmake
make -j 4
what I could find from ICAMS docpage was (https://github.com/ICAMS/lammps-user-pace):
- Go to lammps/src folder
- Compile the ML-PACE library by running make lib-pace args="-b"
- Include ML-PACE in the compilation by running make yes-ml-pace
- Compile lammps as usual, i.e. make serial or make mpi.
I can supply args by providing version to be "-v"; but this version is not the same one from @wcwitt . Can you help me with this?
For some reason, I can only use make
to create hte lammps binary - hence the request.
from acepotentials.jl.
Great!
one which was compiled with the bug fix from @wcwitt
It's more of an extension/patch than a bug fix.
For some reason, I can only use make to create hte lammps binary - hence the request
My recipe uses make
also, at the end - are you saying it's failing on the cmake
step? If that's the case I would suggest installing cmake
. Here is the LAMMPS page documenting cmake builds: https://docs.lammps.org/Build_cmake.html.
from acepotentials.jl.
No, I meant to say is there an make
equivalent to the cmake
build that you described in the tutorials:https://acesuit.github.io/ACEpotentials.jl/dev/tutorials/lammps/? In particular this step:
cmake \
-D PKG_ML-PACE=yes \
-D PACELIB_MD5=$(md5sum libpace.tar.gz | awk '{print $1}') \
../cmake
From the LAMMPS docs, there is cmake build and Traditional make build for compiling ML-PACE with LAMMPS like so:
https://docs.lammps.org/Build_extras.html#ml-pace
I want to use the traditional make build route to build the ML-PACE package (with the patch that you provided..). But, using the traditional make build instructions on the above lammps doc page always pulls the ICAMS repo for ML-PACE and not your patched version. So that route does not give me the correct LAMMPS install that works with .yace files from Julia. this is my problem! :/
from acepotentials.jl.
I do understand - but I'm saying the solution is to use cmake
, installing it if necessary. Note that both options use make
for compilation; the difference is in pre-processing.
from acepotentials.jl.
Related Issues (20)
- JOSS Submission HOT 6
- Error in Committee Potentials HOT 4
- Link to software paper as intro to ACE
- Save and Load Potentials HOT 8
- Update Molly Tutorial HOT 1
- Setup TagBot HOT 1
- Inconsistency between different ways of specifying totaldegree HOT 5
- ACE potential for binary alloys not working in LAMMPS HOT 6
- site_descriptors not defined! HOT 4
- Generalize Transform HOT 2
- Installation Docs
- New ACE Kernels HOT 17
- Document cutoff for pair interaction HOT 6
- Tests Failing HOT 1
- Roadmap New ACE Models HOT 14
- Better functions for defining `rin0cuts` in new ACE model HOT 1
- Weight initialization in new ACE model HOT 7
- Bring BBspec back HOT 4
- Explosion of energy per atom on ideal lattice sites with increasing supercell size HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acepotentials.jl.