.. Copyright 2023 Lawrence Livermore National Security, LLC and other Benchpark Project Developers. See the top-level COPYRIGHT file for details. SPDX-License-Identifier: Apache-2.0 ================================= Setting Up a Benchpark Workspace ================================= To setup an experiment workspace you must first initialize both an experiment and a system to use. Any system or experiment variants are specified at the end of the command as shown below. The order of the two init commands does not matter, but they both need to be run before the setup command.:: benchpark system init --dest= compiler= benchpark experiment init --dest= +/~ = Once you have a benchmark experiment to run, along with the programming model to use, and a system to run them on. Also choose a directory for your experiment:: benchpark setup where: - ````: amg2023 | saxpy | etc. (predefined choices in :doc:`benchmark-list`) - ````: Cts | Tioga | etc. (predefined systems in :doc:`system-list`) This command will assemble a Ramble workspace per experiment with a configuration for the specified benchmark and system with the following directory structure:: experiments_root/ ramble/ spack/ / / workspace/ configs/ (everything from system_def_dir) (everything from experiment_def_dir>) ``benchpark setup`` will output instructions to follow:: . /setup.sh The ``setup.sh`` script calls the Spack and Ramble setup scripts. It optionally accepts parameters to ``ramble workspace setup`` as `documented in Ramble `_, including ``--dry-run`` and ``--phases make_experiments``. Now you are ready to compile your experiments as described in :doc:`build-experiment`.