How To: Checkout the Project and Make
Checkout the Project
The project is hosted at https://source.ece.iastate.edu. Ask Mike, Chad, or Dr. Zambreno for access.
To checkout the project from the command line:
$ cd ~ $ svn co https://source.ece.iastate.edu/svn/gpgpusimspawn gpgpusim
Once checked out, you'll notice a few key files:
- ./gpuHardware.sh
- ./gpuSim.sh
- ./sim/Makefile.compiler
- ./sim/Makefile
Make the Project
First, you'll need to run a script to setup the appropriate environment variables:
$ cd ~/gpgpusim/ $ source gpuSim.sh
Next, run the ./sim/Makefile.compiler makefile:
$ cd ./sim $ make -f Makefile.compiler clean $ make -f Makefile.compiler
Finally, make the project:
$ make clean $ make
The end of the make process is complete if you see Finished building all benchmarks. If this is your first time compiling all the benchmarks, than you'll likely need to edit your ~/.qsub_computers file. This file lists the hostnames that will be used to farm out compiling work and make the compiling process run faster. Here's an example of a .qsub_computers file (make sure the computer you are currently using is NOT in the list!):
$ cd ~ $ cat .qsub_computers linux-3.ece.iastate.edu linux-4.ece.iastate.edu linux-7.ece.iastate.edu linux-8.ece.iastate.edu research-3.ece.iastate.edu research-4.ece.iastate.edu research-5.ece.iastate.edu research-6.ece.iastate.edu