# scp ../../start.S home-1:/home/akilan/cheri/output/sdk/bin/
# # scp main.c home-1:/home/akilan/cheri/output/sdk/bin/
# scp ../../malloc.c home-1:/home/akilan/cheri/output/sdk/bin/
# scp ../../malloc_test.c home-1:/home/akilan/cheri/output/sdk/bin/
# scp ../../link.ld home-1:/home/akilan/cheri/output/sdk/bin/

scp barnes.c home-1:/home/akilan/cheri/output/sdk/bin/
# scp barnes_hut.h home-1:/home/akilan/cheri/output/sdk/bin/

scp test.c home-1:/home/akilan/cheri/output/sdk/bin/

# ssh home-1 'cd /home/akilan/cheri/output/sdk/bin/ && ./clang   --target=riscv64-unknown-elf   -march=rv64gcxcheri -mabi=lp64d -nostdlib -nostartfiles -fno-builtin-malloc -mcmodel=medany   -Wl,-Ttext=0x80000000 -o testC start.S malloc.c memaccess.c'
ssh home-1 'cd /home/akilan/cheri/output/sdk/bin/ && ./clang   --target=riscv64-unknown-elf   -march=rv64gcxcheri -mabi=lp64d -DDEFINE_MALLOC -DDEFINE_FREE -nostdlib -nostartfiles -fno-builtin-malloc --gcc-toolchain=/opt/riscv -mcmodel=medany  -T link.ld -o testC start.S barnes.c malloc.c malloc_test.c'

# ssh home-1 'cd /home/akilan/cheri/output/sdk/bin/ && ./llvm-objdump -d testC'

scp home-1:/home/akilan/cheri/output/sdk/bin/testC ../../../


