https://github.com/geodynamics/citcoms
Revision 6957a07da8f55634140d78ed72cfbfd1be833387 authored by Leif Strand on 29 July 2009, 20:16:08 UTC, committed by Leif Strand on 29 July 2009, 20:16:08 UTC
"global_defs.h", I had assumed that VBX, VBY, and VBZ were defined in
the natrual way:

#define VBX 0x2
#define VBY 0x4
#define VBZ 0x8

I.e., "0x1 << doff"... but today I looked at it more closely; Y & Z
are reversed!!!

#define VBX 0x2
#define VBZ 0x4
#define VBY 0x8

With this fix, the CUDA multigrid solver seems to work correctly.

1 parent 6a06281
Raw File
Tip revision: 6957a07da8f55634140d78ed72cfbfd1be833387 authored by Leif Strand on 29 July 2009, 20:16:08 UTC
Fixed the remaining bug in n_assemble_del2_u(). Glancing at
Tip revision: 6957a07
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.1',

    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/',

)
back to top