Getting the installation directory back from spack #300
-
I am interested in adding the SNAP benchmark, which contains its own input files in the installation directory. How can I get the installation directory to use in my ramble file? Here is a snippet of my package:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hey @amklinv! Since you have i.e. your workload variable can be:
And https://github.com/GoogleCloudPlatform/ramble/blob/develop/var/ramble/repos/builtin/applications/wrfv3/application.py#L42 for an example. FWIW I should probably mention that this is not strictly because you have |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for the response! Unfortunately, it does not seem to be expanding {snap} correctly.
results in
What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
-
Ah, sorry. I don't think we currently expand urls. The I don't even think you need the
|
Beta Was this translation helpful? Give feedback.
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: