-
Using Intel Compiler (Heavily recommended)
- Source Intel parallel studio to be able to use
icpc
command. - Run configuration script and give it the path to zfp compression directory.
./config.sh -b omp -c <path-to-zfp-compression> --images --tools
- Run the building script.
./clean_build.sh
- Source Intel parallel studio to be able to use
-
Using gcc compiler (Not Recommended)
- Run configuration script and give it the path to zfp compression directory.
./config.sh -b omp -g -c <path-to-zfp-compression> --images --tools
This is will run the RTM using OpenMP technology and gcc compiler and without OpenCV. For OpenCV, add '--images' to enable OpenCV. For more details about the options for the config script, press here
- Run the building script.
./clean_build.sh
After configuring and building tools you could then run any of the regarded.
./<ToolName> <primary-flags> <optional-flags>
./Comparator <step> <max-nt> <src> <dst> <csv-prefix>
Or
./Comparator <src> <dst>
Converts from any file format to another
./Convertor -d <file-path> -f <type-from> -t <type-to>
Or
./Convertor -d <file-path> -f <type-from> -t <type-to> -p <percentile>
Generates synthetic model given meta data in *.json
format file
./Generator -m <meta_data.json>
Structure goes as the following example:
{
"model-name": "velocity",
"is-traces": false,
"percentile": 98.5,
"grid-size": {
"nx": 500,
"ny": 1,
"nz": 500,
"nt": 1
},
"cell-dimension": {
"dx": 6.25,
"dy": 0,
"dz": 6.25,
"dt": 0.005
},
"properties": {
"value-range": {
"min": 2,
"max": 32
},
"layers": {
"enable": true,
"count": 3,
"type": "sharp"
},
"cracks": {
"enable": true,
"count": 1
},
"salt-bodies": {
"enable": false,
"count": 4,
"type": "random",
"width": "narrow"
}
}
}