How To: Checkout the Project and Make: Difference between revisions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
To checkout the project from the command line: | To checkout the project from the command line: | ||
cd ~ | $ cd ~ | ||
<nowiki>svn co https://source.ece.iastate.edu/svn/gpgpusimspawn</nowiki> gpgpusim | $ <nowiki>svn co https://source.ece.iastate.edu/svn/gpgpusimspawn</nowiki> gpgpusim | ||
Once checked out, you'll notice a few key files: | Once checked out, you'll notice a few key files: | ||
| Line 19: | Line 19: | ||
First, you'll need to run a script to setup the appropriate environment variables: | First, you'll need to run a script to setup the appropriate environment variables: | ||
cd ~/gpgpusim/ | $ cd ~/gpgpusim/ | ||
source gpuSim.sh | $ source gpuSim.sh | ||
Next, run the ./sim/Makefile.compiler makefile: | Next, run the ./sim/Makefile.compiler makefile: | ||
cd ./sim | $ cd ./sim | ||
make -f Makefile.compiler clean | $ make -f Makefile.compiler clean | ||
make -f Makefile.compiler | $ make -f Makefile.compiler | ||
Finally, make the project: | Finally, make the project: | ||
make clean | $ make clean | ||
make | $ 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 | |||
Latest revision as of 21:10, 12 June 2012
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