65 | | ... |
| 65 | The source files will be copied to the work directory and untar before the compilation. |
| 66 | |
| 67 | 3) Parameterset |
| 68 | |
| 69 | {{{ |
| 70 | <parameterset init_with="MAXW-DGTD_specs.xml" name="systemParameter"> |
| 71 | <parameter name="modules">intel/15.2.164 parastation/intel-5.1.4-1_1_g064e3f7</parameter> |
| 72 | <parameter name="targetdir">$jube_benchmark_home/executable/k$k</parameter> |
| 73 | <parameter name="FC" type="string" >mpif90</parameter> |
| 74 | <parameter name="FFLAGS" type="string" >-align dcommons -openmp -no-opt-prefetch -O3 -r8 -axCORE-AVX2 -fpp</parameter> |
| 75 | </parameterset> |
| 76 | }}} |
| 77 | |
| 78 | The values in the set of parameters with name "systemParamter" will be initialized with the default values found in the file "MAXW-DGTD_specs.xml". This last file takes in turn some of the default values of platform.xml and overwrites them. See the file for more information. |
| 79 | |
| 80 | 4) Step compile |
| 81 | |
| 82 | {{{ |
| 83 | <step name="compile"> |
| 84 | <use>sources</use> |
| 85 | <use from="MAXW-DGTD_specs.xml">MAXW-DGTDMakefileFile</use> |
| 86 | <use from="platform.xml">compileset</use> |
| 87 | <use>systemParameter</use> |
| 88 | <use>MAXW-DGTDParameter-head</use> |
| 89 | <use from="MAXW-DGTD_specs.xml">MAXW-DGTDMakefileSub</use> |
| 90 | <do>module purge; module load $modules; export LD_LIBRARY_PATH=/opt/parastation/mpi2/lib:/usr/local/deep-er/sdv-benchmarks/libraries/scr/lib:/direct/Software/Extoll/SDV/lib:/usr/local/parastation/pscom/lib64:$LD_LIBRARY_PATH; cd MAXW-DGTD; rm -f Makefile; cp -p ../Makefile.out Makefile; make $k</do> |
| 91 | </step> |
| 92 | }}} |