https://github.com/geodynamics/citcoms
Revision 83b32f9d7148e41d8dd964910ff8cc5a995d7f8f authored by Rajesh Kommu on 05 February 2014, 23:18:38 UTC, committed by Rajesh Kommu on 05 February 2014, 23:18:38 UTC
and Cookbook10 have been converted and the C versions of the config files are located in the corresponding examples/Cookbook directory
1 parent 8fde56f
Tip revision: 83b32f9d7148e41d8dd964910ff8cc5a995d7f8f authored by Rajesh Kommu on 05 February 2014, 23:18:38 UTC
Initial checkin of the Python to C config file conversion tool. Cookbooks 1-8,
Initial checkin of the Python to C config file conversion tool. Cookbooks 1-8,
Tip revision: 83b32f9
setup.py
from archimedes import use_merlin
use_merlin()
from merlin import setup, find_packages, require
install_requires = ['pythia[mpi] >= 0.8.1.0, < 0.8.2a']
import os
want_exchanger = os.environ.get('want_exchanger', 'auto')
exchanger = "Exchanger >= 1, < 2a"
if want_exchanger == 'auto':
# Use Exchanger if it's available.
try:
require(exchanger)
except Exception, e:
pass
else:
install_requires.append(exchanger)
elif want_exchanger == 'yes':
# Require Exchanger.
install_requires.append(exchanger)
setup(
name = 'CitcomS',
version = '3.2',
zip_safe = False,
packages = find_packages(),
install_requires = install_requires,
author = 'Louis Moresi, et al.',
author_email = 'cig-mc@geodynamics.org',
description = """A finite element mantle convection code.""",
long_description = """CitcomS is a finite element code designed to solve thermal convection problems relevant to Earth's mantle. Written in C, the code runs on a variety of parallel processing computers, including shared and distributed memory platforms.""",
license = 'GPL',
url = 'http://www.geodynamics.org/cig/software/packages/mc/citcoms/',
)
Computing file changes ...