A simple python module for creating gulp input files
The installation is very simple. Follow the set of instructions
The only dependencies is 'ase'
Clone the folowing git repository
https://github.com/bafgreat/gulp_setup.git
cd gulp_setup
pip install .
The above command will install gulp_setup python package.
Run the command below to create a gulp input file on a folder containing several cif files. The file created will be moved into a folder containing the prefix of the input file name.
gulp_setup_folder folder
If you do not want to create individual folders for each input file, you can simply run the command below.
gulp_setup_file input.cif
This command will create an input.gin file in the same folder. This is useful when you do not want to create multiple folders for each input file.
The above examples only create gulp input files for constant volumes meaning that the lattices are not optimized. If you want to optimize the lattices then add the -op conp
argument after the name of the input file.
e.g.
gulp_setup_file input.cif -op conp
This will trigger the lattice optimization.
if you have gulp installed. You can simply run it as follows:
gulp < input.gin > input.got
or
~/src/gulp-6.0/Src/gulp < input.gin > input.got
The latter example will work if your gulp executable are in a folder called $HOME/src
.
If you require more information about installing gulp checkout the following link https://gulp.curtin.edu.au/download.html . You can also email me if you have trouble with your installation. I am not an expert but might have a little knowledge on how to guide you.