Skip to main content

Graphical Interface for Materials Simulations

Project description

GIMS

GIMS (Graphical Interface for Materials Simulations) is a toolbox for electronic structure codes and supports the generation of input files and the analysis of output files. There are the following elemental apps:

  • Structure Builder: Visualize, create or modify atomic structures.
  • Control Generator: Set up the numerical Settings for the calculations.
  • Output Analyzer: Analyze and visualize the output files.

These elemental apps are connected in two workflows:

  • Simple Calculation: Prepare everything for a single-point calculation and later analyze the results.
  • Band Structure: Based on your (periodic) structure the k-point path is automatically generated and the input files are set up accordingly.

Currently, GIMS supports the following electronic structure codes:

Documentation

For a complete documentation of the whole project please visit: https://gims-developers.gitlab.io/gims/index.html

Requirements

Python:

Package Version
ase 3.20.1
flask 1.1.2
spglib 1.15.0

Javascript:

Package Version
chart.js 3.5.0
parcel 2.0.0
regenerator-runtime 0.13.8
three 0.130.1

Quick start commands

To build GIMS two steps are needed:

  1. Build the client (javascript) in the gims/client
  2. Install the python package in the gims/app folder.

After that the development server from flask can be started and you can run the app locally on your machine.

How to build the client

First, we get into the application client/ folder:

cd gims/client/

Please install all dependencies with:

npm install --production=false

We use the watch command from the parcel bunlder, so we watch the source code and rebuild when necessary. This is activated with:

npm run dev

If you just want to build the client once, please use:

npm run build

The result of this build process is copied to the app/gims/static/ folder.

* WARNING: Depending on the execution environment the parcel command parameter --public-url and the Conf.BASE_FOLDER variable (in the Conf.js code file) could need to be changed.

How to run the application (development)

We use the Flask Python application server. The project User's guide explains quite well how to set up the server and run a application. In short, if you have build the client go to:

cd gims/app/

Install the package with:

pip install .[dev]

and type:

export FLASK_APP=gims
flask run

Now, open the browser and enter the URL:

localhost:5000

You should now see the top-level GIMS interface.

Using Docker

A Dockerfile is provided to build an image that can run a docker container with both the server and client. Run the following from the top-level of the repository:

docker build -t gims .
docker run -p 5000:5000 gims

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gims-1.4.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gims-1.4.0-py3-none-any.whl (4.0 MB view details)

Uploaded Python 3

File details

Details for the file gims-1.4.0.tar.gz.

File metadata

  • Download URL: gims-1.4.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gims-1.4.0.tar.gz
Algorithm Hash digest
SHA256 2f86f353ba7c337149d514fa18a4f52311431e27d1d1d84e67d21c1a722d682f
MD5 2e68fab7275623a3ede693e843710990
BLAKE2b-256 50e09d7992dfc718ada5e965b0de74977074eebc7518412c32d63e32df2f9cd6

See more details on using hashes here.

File details

Details for the file gims-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: gims-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gims-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1748f8b3643a336157950d0be4e36b13adb11b5f63c934c13a34ce9ec3df6f65
MD5 5580b8def3b9de9da369742842836f9f
BLAKE2b-256 88789382c027e5239f5c05d5d81cbb698313a01cd85cc98fe99af5e774acc509

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page