diff options
| author | JRPan <[email protected]> | 2024-01-24 16:16:57 -0500 |
|---|---|---|
| committer | JRPan <[email protected]> | 2024-01-24 16:16:57 -0500 |
| commit | b2f0ebee9a964b93882188d84e6ccd0f61996087 (patch) | |
| tree | e41fce0de5ef637a85c5faaf75da830b7d65837d /short-tests.sh | |
| parent | 3c95cd1d2fb19e75fad6cda1ab2220ce1850196b (diff) | |
update CI scripts
Diffstat (limited to 'short-tests.sh')
| -rwxr-xr-x | short-tests.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/short-tests.sh b/short-tests.sh new file mode 100755 index 0000000..bb1c669 --- /dev/null +++ b/short-tests.sh @@ -0,0 +1,22 @@ +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 + +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 |
