Sha256: 8624fe74338c0aea98e735b1096a1494d5e1dbd9ed442142b70cc50b5effda91

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

#! /usr/bin/env ruby
# coding: utf-8

require "rubygems"
require "vasputils"
require "optparse"

dir = ARGV[0] || "."

begin
    calc_dir = VaspUtils::VaspGeometryOptimizer.new(dir)
    calc_dir.start
rescue VaspUtils::VaspGeometryOptimizer::NoVaspDirError
    puts "Not suitable for VaspGeometryOptimizer: #{dir}"
    exit
rescue Comana::ComputationManager::AlreadyStartedError
    puts "Already started. Exit."
    exit
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vasputils-0.0.12 bin/runvaspgeomopt