Sha256: 01440431707589b07c3e49e778f2d42516a4b10501aac88d4aeacc50b802af29

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

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

require "rubygems" #require "comana"
require "vasputils"
require "optparse"

dir = ARGV[0] || "."

begin
    calc_dir = VaspUtils::VaspDir.new(dir)
    calc_dir.start
rescue VaspUtils::VaspDir::InitializeError
    puts "Not VaspDir: #{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/runvaspdir