Skip to content

Getting the installation directory back from spack #300

Closed Answered by douglasjacobsen
amklinv asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, sorry. I don't think we currently expand urls. The input_file directive is intended to be something you have to fetch externally, not locally.

I don't even think you need the input_file directive. Try this instead:

import os
from ramble.appkit import *
from ramble.expander import Expander


class Snap(SpackApplication):
    '''Define SNAP application'''
    name = 'snap'

    maintainers('klinveam')

    tags('benchmark-app', 'mini-app', 'benchmark')

    default_compiler('gcc9', spack_spec='[email protected]')

    software_spec('impi2018',
                  spack_spec='[email protected]')

    software_spec('snap',
                  spack_spec='[email protected] +mpi +openmp',
                  c…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@douglasjacobsen
Comment options

@douglasjacobsen
Comment options

Answer selected by douglasjacobsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants