spack.platforms package

Submodules

spack.platforms.bgq module

class spack.platforms.bgq.Bgq

Bases: spack.architecture.Platform

back_end = 'ppc64'
default = 'ppc64'
classmethod detect()

Subclass is responsible for implementing this method. Returns True if the Platform class detects that it is the current platform and False if it’s not.

front_end = 'power7'
priority = 30

spack.platforms.cray module

class spack.platforms.cray.Cray

Bases: spack.architecture.Platform

classmethod detect()

Subclass is responsible for implementing this method. Returns True if the Platform class detects that it is the current platform and False if it’s not.

priority = 10
classmethod setup_platform_environment(pkg, env)

Change the linker to default dynamic to be more similar to linux/standard linker behavior

spack.platforms.darwin module

class spack.platforms.darwin.Darwin

Bases: spack.architecture.Platform

back_end = 'x86_64'
default = 'x86_64'
classmethod detect()

Subclass is responsible for implementing this method. Returns True if the Platform class detects that it is the current platform and False if it’s not.

front_end = 'x86_64'
priority = 89

spack.platforms.linux module

class spack.platforms.linux.Linux

Bases: spack.architecture.Platform

classmethod detect()

Subclass is responsible for implementing this method. Returns True if the Platform class detects that it is the current platform and False if it’s not.

priority = 90

spack.platforms.test module

class spack.platforms.test.Test

Bases: spack.architecture.Platform

back_end = 'x86_64'
back_os = 'debian6'
default = 'x86_64'
default_os = 'debian6'
classmethod detect()

Subclass is responsible for implementing this method. Returns True if the Platform class detects that it is the current platform and False if it’s not.

front_end = 'x86_32'
front_os = 'redhat6'
priority = 1000000

Module contents