sfgen Benchmark - Getting Started
Check Out
The code is available for anonymous Subversion checkout.
ds100 $ svn co http://lca.ucsd.edu/svn/Enzo/public/branches/sfgen-benchmark
Configure
Run the configure (this just creates some initial configuration files).
ds100 $ cd sfgen-benchmark ds100 $ ./configure
Set the Machine
Machine specific settings are kept in the files src/Make.mach.MACHINE. One of the files is Make.mach.sdsc-datastar, which is where I'm building this example. Note: make is GNU make for me, which may be gmake for you. If so, edit the top of the Makefile to set the correct one.
ds100 $ make machine-sdsc-datastar make -C src machine-sdsc-datastar make[1]: Entering directory `/rmount/users02/ucsd/ux455215/tmp/sfgen-benchmark/src' MACHINE: SDSC DataStar make[1]: Leaving directory `/rmount/users02/ucsd/ux455215/tmp/sfgen-benchmark/src' ds100 $
Compile
By default, running make will build sfgen, and install it into the bin/ directory.
ds100 $ make make -C src make[1]: Entering directory `/rmount/users02/ucsd/ux455215/tmp/sfgen-benchmark/src' ... mkdir ../bin if [ ! -e ../bin ]; then mkdir ../bin; fi make -f Makefile show-flags >& ../bin/sfgen.show-flags make -f Makefile show-config >& ../bin/sfgen.show-config make -f Makefile show-version >& ../bin/sfgen.show-version make[1]: Leaving directory `/rmount/users02/ucsd/ux455215/tmp/sfgen-benchmark/src' ds100 $ ls bin sfgen sfgen.show-config sfgen.show-flags sfgen.show-version
Now, you're all set!
