Skip to content

m3g/Packmol.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

186 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stable Tests Aqua QA

Packmol.jl

Currently this Julia package serves as a multi-platform runner for packmol. In the future this will be an independent package with a faster and improved version of the Packmol package.

Installation

Install the latest Julia version in your system, with juliaup

Interactive use

Install the Packmol package within Julia:

julia> import Pkg; Pkg.add("Packmol")

Run packmol in your input file with:

julia> using Packmol

julia> run_packmol()

This will open a file browser, from which you can choose the input file for packmol. Packmol will run immediately once the file is open.

Alternatively, you can provide the path to the file explicitly, with:

julia> run_packmol(raw"C:\users\my_user\my_files\my_input_file.inp")

Command line interface

Install the packmol app with:

julia -e 'import Pkg; Pkg.Apps.add("Packmol")'

Add the directory of julia binaries ($HOME/.julia/bin) to your path, and use packmol with:

packmol -i input.inp

as a standalone application.

Updating

To keep Packmol up-to-date, use:

julia> import Pkg; Pkg.update()

(or type ] up, at the julia> prompt).

Additionally, it is possible to disable the loading of the file-dialog machinery by setting the system environment variable PACKMOL_GUI="false". This might be important to run packmol through this interface in computers without a GUI.

About

The future of Packmol

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages