main
test-branch
| Line | |
|---|
| 1 | This directory contains utilities and files used by the
|
|---|
| 2 | build process. You should not need to change anything
|
|---|
| 3 | in this directory.
|
|---|
| 4 |
|
|---|
| 5 | Original Files
|
|---|
| 6 | --------------
|
|---|
| 7 | setparams.c:
|
|---|
| 8 | Source for the setparams program. This program is used internally
|
|---|
| 9 | in the build process to create the file "npbparams.h" for each
|
|---|
| 10 | benchmark. npbparams.h contains Fortran or C parameters to build a
|
|---|
| 11 | benchmark for a specific class. The setparams program is never run
|
|---|
| 12 | directly by a user. Its invocation syntax is
|
|---|
| 13 |
|
|---|
| 14 | "setparams benchmark-name class".
|
|---|
| 15 |
|
|---|
| 16 | It examines the file "npbparams.h" in the current directory. If
|
|---|
| 17 | the specified parameters are the same as those in the npbparams.h
|
|---|
| 18 | file, nothing it changed. If the file does not exist or corresponds
|
|---|
| 19 | to a different class/number of nodes, it is (re)built.
|
|---|
| 20 | One of the more complicated things in npbparams.h is that it
|
|---|
| 21 | contains, in a Fortran string, the compiler flags used to build a
|
|---|
| 22 | benchmark, so that a benchmark can print out how it was compiled.
|
|---|
| 23 |
|
|---|
| 24 | make.common
|
|---|
| 25 | A makefile segment that is included in each individual benchmark
|
|---|
| 26 | program makefile. It sets up some standard macros (COMPILE, etc)
|
|---|
| 27 | and makes sure everything is configured correctly (npbparams.h)
|
|---|
| 28 |
|
|---|
| 29 | Makefile
|
|---|
| 30 | Builds setparams
|
|---|
| 31 |
|
|---|
| 32 | README
|
|---|
| 33 | This file.
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | Created files
|
|---|
| 37 | -------------
|
|---|
| 38 |
|
|---|
| 39 | setparams
|
|---|
| 40 | See descriptions above
|
|---|
| 41 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.