diff options
| author | WilliamMTK <[email protected]> | 2024-01-29 11:10:13 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-29 11:10:13 -0500 |
| commit | 67fc78cf5e513e9b04417ad4b634500902c14316 (patch) | |
| tree | 46dee9173fa3e38fe476573e41d4df35690ddca9 /short-tests.sh | |
| parent | 9aeacdf656bcee6ddac9d8f9c4269a07bb64a255 (diff) | |
| parent | 1bdb39acb89ce1203d4fc96a00ce3c3f51fe72b8 (diff) | |
Merge pull request #64 from accel-sim/dev-github-ci
Adding GitHub CI
Diffstat (limited to 'short-tests.sh')
| -rwxr-xr-x | short-tests.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/short-tests.sh b/short-tests.sh new file mode 100755 index 0000000..44f265a --- /dev/null +++ b/short-tests.sh @@ -0,0 +1,24 @@ +if [ ! -n "$CUDA_INSTALL_PATH" ]; then + echo "ERROR ** Install CUDA Toolkit and set CUDA_INSTALL_PATH."; + exit; +fi + +if [ ! -n "$CONFIG" ]; then + echo "ERROR ** set the CONFIG env variable to one of those found in ./accel-sim-framework/util/job_launching/configs/define-standard-cfgs.yml"; + exit; +fi + +if [ ! -n "$GPUAPPS_ROOT" ]; then + echo "ERROR ** GPUAPPS_ROOT to a location where the apps have been compiled"; + exit; +fi + +git config --system --add safe.directory '*' + +export PATH=$CUDA_INSTALL_PATH/bin:$PATH +source ./setup_environment +make -j + +git clone https://github.com/accel-sim/accel-sim-framework.git +./accel-sim-framework/util/job_launching/run_simulations.py -C $CONFIG -B rodinia_2.0-ft -N regress -l local +./accel-sim-framework/util/job_launching/monitor_func_test.py -v -N regress -j procman |
