vortexgpgpu / vortex_tutorials

142 stars 44 forks source link

Issue with assignment 1 #9

Closed JacobLevinson closed 1 week ago

JacobLevinson commented 12 months ago

Hello. I believe there may be an issue with assignment 1, or the VM setup in general. I followed the instructions and I am using the VM, however when I run the following, even with no modifications:

./ci/blackbox.sh --cores=4 --app=demo --perf=1

I get the following:

vagrant@ubuntu-bionic:~/vortex$ ./ci/blackbox.sh --cores=4 --app=demo --perf=1 CONFIGS=-DNUM_CLUSTERS=1 -DNUM_CORES=4 -DNUM_WARPS=4 -DNUM_THREADS=4 -DPERF_ENABLE running: CONFIGS=-DNUM_CLUSTERS=1 -DNUM_CORES=4 -DNUM_WARPS=4 -DNUM_THREADS=4 -DPERF_ENABLE make -C ./ci/../runtime/simx /usr/bin/ld: cannot find ../../third_party/softfloat/build/Linux-x86_64-GCC/softfloat.a: No such file or directory /usr/bin/ld: cannot find -lramulator collect2: error: ld returned 1 exit status make[1]: [../../runtime/simx/libsimx.so] Error 1 make: [libvortex.so] Error 2 running: make -C ./ci/../tests/regression/demo run-simx make: Entering directory '/home/vagrant/vortex/tests/regression/demo' /home/vagrant/vortex-toolchain/llvm-vortex/bin/clang++ --sysroot=/opt/riscv-gnu-toolchain/riscv32-unknown-elf --gcc-toolchain=/opt/riscv-gnu-toolchain -Xclang -target-feature -Xclang +vortex -march=rv32imaf -mabi=ilp32f -v -O3 -std=c++17 -mcmodel=medany -fno-rtti -fno-exceptions -nostartfiles -fdata-sections -ffunction-sections -I/home/vagrant/vortex/kernel/include -I/home/vagrant/vortex/kernel/../hw -DNDEBUG -DLLVM_VORTEX kernel.cpp -Wl,-Bstatic,--gc-sections,-T,/home/vagrant/vortex/kernel/linker/vx_link32.ld,--defsym=STARTUP_ADDR=0x80000000 /home/vagrant/vortex/kernel/libvortexrt.a -o kernel.elf clang version 16.0.6 (https://github.com/vortexgpgpu/llvm.git 58811bfa61a503fd4a5f0dc7b57802fae51c3f5d) Target: riscv32-unknown-unknown-elf Thread model: posix InstalledDir: /home/vagrant/vortex-toolchain/llvm-vortex/bin clang-16: error: no such file or directory: '/home/vagrant/vortex/kernel/libvortexrt.a' ../common.mk:88: recipe for target 'kernel.elf' failed make: *** [kernel.elf] Error 1 make: Leaving directory '/home/vagrant/vortex/tests/regression/demo'

JacobLevinson commented 1 week ago

Fixed this myself :)