Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Gernot Bauer
    @g-bauer
    Ok! Looking forward to it. Do you know why it passed the tests for SPC NIST configurations?
    Guillaume Fraux
    @Luthaf
    Mainly because we used both a big cutoff in real space and a big cutoff in reciprocal space, which make the reciprocal part of the energy negligible wrt the real space part.
    But changing the values tu use and small real-space cutoff make the error appear!
    Gernot Bauer
    @g-bauer
    Mhm that's why we had to use smaller tolerances for the errors I guess?!
    Guillaume Fraux
    @Luthaf
    what do you mean ?
    Gernot Bauer
    @g-bauer
    If I remember correctly, when implementing the tests for Ewald (versus NIST), we found that for small cutoffs the energies were a bit off. AFAIK we reduced the tolerance for the tests to pass. This could stem from the bugs you found.
    Guillaume Fraux
    @Luthaf
    Oh, I did not remeber that ... I'll give it a look!
    Gernot Bauer
    @g-bauer
    See here: lumol-org/lumol#75
    Not sure if that's the reason. We used different alphas. I'm not sure either. We should check the tests for the new implementation :)
    But it is worth checking it more carefully!
    Gernot Bauer
    @g-bauer
    :thumbsup:
    Guillaume Fraux
    @Luthaf
    Hey @g-bauer, would you have some time to give a look to #240 and #241 ? Else I can merge them directly, as they are small PR with tests :smiley:
    Gernot Bauer
    @g-bauer
    I'll check #241 tomorrow!
    Gernot Bauer
    @g-bauer
    Seems like you are able to reproduce the LAMMPS data for SPC using Ewald! Thats awesome!
    Guillaume Fraux
    @Luthaf
    Yep, that nice ! But I still have the same issue with MC NPT. I'll check tomorrow if I can find what's wrong with either the Resize move or the energy cache
    and thanks for taking the time to merge #240!
    I rebased #241 on top of master, it is a pretty straightforward PR. I think the main change is the switch from .zip() methods to a soa_zip! macro in soa-derive
    Guillaume Fraux
    @Luthaf
    I think I found the remaining issue with #237: the default value for alpha was wrong, creating a big error specifically in the case of periodic systems such as the crystal I was using for testing
    Gernot Bauer
    @g-bauer
    You mean also w.r.t the NPT simulations?
    Guillaume Fraux
    @Luthaf
    yes :smile:
    Gernot Bauer
    @g-bauer
    That's nice!
    Garrett Jepson
    @gjepson
    Hello, I'm trying to use lumol via a Rust program. Could you point me towards the relevant documentation?
    Gernot Bauer
    @g-bauer
    Hey @gjepson, could you specify what you want to do? Do you mean using lumol as library within a Rust program? Then, I'd recommend taking a look at the examples here. The functions used within the examples are documented within the API documentation, which you can find here. Does that help?
    Guillaume Fraux
    @Luthaf
    Also, if you are willing to use the input system, you can follow the code in bin/lumol.rs for the lumol binary. If you don't use the input system, you might want to setup a logging backend in your own main to get the warning/error messages.
    Garrett Jepson
    @gjepson
    Yes, using lumol as a library. Thank you for those. One thing: whenever I try to run 'lumol argon.rs' from 'lumol/examples', I get the error message: '[error] invalid input file: unexpected character found: / at line 1'
    Gernot Bauer
    @g-bauer
    Can you try to run cargo run --example argon --release (from within the lumol directory)
    The lumol command expects an input toml file. The .rs files in the examples folder show how to use lumol as a library. You don't need an input file there if you specify everything within the source files.
    But you have to compile them before they can be ran. The cargo command above does that for you. Let me know if that works!
    (FYI the error message you got is because lumol expects a toml as input and can't parse the comment of the .rs file)
    Garrett Jepson
    @gjepson
    Gotcha, that worked well, thanks!
    Gernot Bauer
    @g-bauer
    :thumbsup:
    A Dinesh
    @dineshadepu
    Hello all. I am implementing a similar package for simulating Discrete element method. I just have a question regarding parallel functionality. I implemented the serial version. I need it to make it parallel. I just need some resources so that I can make the code parallel. I need to make the for loops parallel. Can you please help on how to implement parallel for loops in rust?
    I want to make those two for loops parallel
    Is it at least doable?
    Guillaume Fraux
    @Luthaf
    Hey @dineshadepu, this has nothing to do with lumol, so I'd rather keep the discussion about this out of this forum. You'll get more answers on http://users.rust-lang.org/. Long story short, we are using rayon, and it is amazing!
    tabedzki
    @tabedzki
    Hi all, I noticed that lumol hasn't had a commit in a while. Is the project still maintained?
    Guillaume Fraux
    @Luthaf
    Hey @tabedzki, thanks for checking out! I haven't have the opportunity to work on lumol in a while; and my current line of work and funding as a postdoc does not include classical molecular simulation, so you are right that the project is a bit stale right now. However, I am still interested to come back to it when I find some time! I would still be very happy to collaborate and merge contributions though!
    tabedzki
    @tabedzki
    Ahhh, ok. I haven't looked into Lumol much, I was just looking into how much the program was being worked on. I don't know if you have nay data, but how does this software perform against something like LAMMPS or GROMACS?
    Chris Domalewski
    @ChrisDomalewski_twitter
    Hello Help Center! I am trying to install Lumol by using "cargo install --git https://github.com/lumol-org/lumol" but I am getting an error in my terminal (Mac user) saying "error: multiple packages with binaries found: lumol, lumol_tutorial_potential"
    Could you help me? I have already installed a Rust compiler that was linked on your Lumol Installation page using "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"
    Guillaume Fraux
    @Luthaf
    Hey there! The proper command should be cargo install --git https://github.com/lumol-org/lumol lumol. I'll update the documentation =)
    FYI, lumol is still very much alpha software, while it should work it has not yet been thoroughly tested for all possible use cases!
    Sorry @tabedzki I though I already answered your question "how does this software perform against something like LAMMPS or GROMACS?". I have very little data on this, but for a very simple system (500 lennard-jones atoms), lumol was as fast a LAMMPS. This would not be the case for very large systems, where LAMMPS MPI parallelism would help a lot.
    Amartya Bose
    @amartyabose
    Hello! I just came around the lumol package. First, it's really wonderfully done. So, thank you. I wanted to contribute. I noticed that the examples in the git repository doesn't work with the current code as it stands. I will put in a few pull requests making the examples consistent.
    I wanted to ask if you are interested in extending lumol to account for path integral simulations. Can we discuss a bit about how best to add path integral Monte Carlo and path integral molecular dynamics?
    Guillaume Fraux
    @Luthaf

    Hello @amartyabose, and thanks a lot for the kind words! I don't have a lot of time to allocate to this package these days since I changed research group and somehow topic, but path integral MD would be a good way for me to bring it back. I'm currently working in one of the group maintaining i-PI, which is another tool for path integral MD.

    I'm happy to discuss how to best implement this, maybe the best place is to create a new Github issue? I did not know there was a possibility to do path integral Monte Carlo, do you have some intro paper/review I could read on that?

    Amartya Bose
    @amartyabose
    Hello @Luthaf! i-PI is a wonderful package that I have been using. Between PIMD and PIMC, the quantum classical isomorphism and the ring polymer remains identical. However instead of a molecular dynamics based sampling, a Metropolis Monte Carlo sampling is used. If you want a basic introduction, take a look at https://courses.physics.illinois.edu/phys466/sp2013/lnotes/pimcnotes.pdf
    Let me open an issue and put the link there as well. Let's continue the discussion there.