PageRenderTime 45ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/jube/compile.xml

https://github.com/gimunu/octopus_hhg
XML | 185 lines | 151 code | 27 blank | 7 comment | 0 complexity | e6d232c8817485d833c6f128342e607f MD5 | raw file
Possible License(s): GPL-2.0, LGPL-3.0
  1. <compilation>
  2. <!-- predefined vars: -->
  3. <!-- $outdir -> output directory for temporary compile files-->
  4. <!-- $id -> identifier of this benchmark run-->
  5. <!-- compile GSL: ./configure - -prefix=$HOME/gsl - -disable-shared -->
  6. <compile cname="Cray-XT5-Shanghai-Louhi">
  7. <src directory="./octopus" files="." />
  8. <command>
  9. source /opt/modules/default/init/bash ;
  10. module unload PrgEnv-pgi pgi;
  11. module load intel PrgEnv-intel;
  12. module swap xtpe-barcelona xtpe-shanghai;
  13. module load acml;
  14. module load fftw;
  15. autoreconf -i;
  16. export CC=cc;
  17. export FC=ftn;
  18. export CFLAGS="-u -fpp1 -pc80 -align -unroll -O3 -ip -no-fp-port -mno-ieee-fp -vec-report0 -no-prec-div";
  19. export FCFLAGS="-nbs -p $CFLAGS";
  20. ./configure --prefix=$outdir \
  21. --with-gsl-prefix=$HOME/gsl \
  22. --enable-mpi \
  23. --disable-gdlib;
  24. make;
  25. make install;
  26. make clean;
  27. tar -C $outdir -cf $execname bin lib include share;
  28. </command>
  29. </compile>
  30. <compile cname="Cray-XT5-Barcelona-Louhi">
  31. <src directory="./octopus" files="." />
  32. <command>
  33. source /opt/modules/default/init/bash ;
  34. module unload PrgEnv-pgi pgi;
  35. module load intel PrgEnv-intel;
  36. module load acml;
  37. module load fftw;
  38. autoreconf -i;
  39. export CC=cc;
  40. export FC=ftn;
  41. export CFLAGS="-u -fpp1 -pc80 -align -unroll -O3 -ip -no-fp-port -mno-ieee-fp -vec-report0 -no-prec-div";
  42. export FCFLAGS="-nbs -p $CFLAGS";
  43. ./configure --prefix=$outdir \
  44. --with-gsl-prefix=$HOME/gsl \
  45. --enable-mpi \
  46. --disable-gdlib;
  47. make;
  48. make install;
  49. make clean;
  50. tar -C $outdir -cf $execname bin lib include share;
  51. </command>
  52. </compile>
  53. <compile cname="IBM-BGP-Jugene">
  54. <src directory="./octopus" files="." />
  55. <command>
  56. module load gsl;
  57. module load lapack;
  58. autoreconf -i;
  59. export FC_INTEGER_SIZE=4;
  60. export CC_FORTRAN_INT=int;
  61. export CC=mpixlc_r;
  62. export CFLAGS='-g -O3 -qarch=450d';
  63. export FC=mpixlf90_r;
  64. export FCFLAGS='-g -O3 -qarch=450d -qxlf90=autodealloc -qessl -qsmp=omp';
  65. export LIBS_BLAS="-lesslsmpbg -L/opt/ibmmath/essl/4.4/lib -lesslbg";
  66. export LIBS_LAPACK="-L$LAPACK_LIB -llapack";
  67. export LIBS_FFT="-L/bgsys/local/fftw3/lib/ -lfftw3 -lm";
  68. ./configure --prefix=$outdir \
  69. --host=powerpc32-unknown-linux-gnu \
  70. --build=powerpc64-unknown-linux-gnu \
  71. --disable-gdlib \
  72. --with-gsl-prefix=$GSL_DIR \
  73. --enable-mpi --enable-openmp;
  74. make;
  75. make install;
  76. make clean;
  77. tar -C $outdir -cf $execname bin lib include share;
  78. </command>
  79. </compile>
  80. <compile cname="IBM-SP6-Huygens">
  81. <src directory="./octopus" files="." />
  82. <command>
  83. module load fftw3
  84. module load gsl;
  85. module load lapack;
  86. echo localhost > $PWD/hostfile;
  87. export MP_HOSTFILE=$PWD/hostfile;
  88. export MP_PROCS=1; # Otherwise files compiled with mpp do not run;
  89. autoreconf -i;
  90. export CC=mpcc;
  91. export CFLAGS='-g -O3 -qarch=auto';
  92. export FC=mpfort;
  93. export FCFLAGS='-g -O3 -qfree=f90 -qnosave -qarch=auto -qxlf90=autodealloc -qessl -I/opt/ibmhpc/ppe.poe/include/';
  94. export LIBS_BLAS="-lessl";
  95. export LIBS_LAPACK="-L$SARA_LAPACK_LIB -llapack";
  96. export LIBS_FFT="-L$SARA_FFTW3_LIB -lfftw3 -lm";
  97. ./configure --prefix=$outdir \
  98. --disable-gdlib \
  99. --disable-f90-forall \
  100. --with-gsl-prefix=$SARA_GSL_ROOT \
  101. --enable-mpi;
  102. make;
  103. make install;
  104. make clean;
  105. tar -C $outdir -cf $execname bin lib include share;
  106. </command>
  107. </compile>
  108. <!-- compile GSL: ./configure - -prefix=$HOME/gsl - -disable-shared -->
  109. <compile cname="IBM-Cell-MariCel">
  110. <src directory="./octopus" files="." />
  111. <command>
  112. autoreconf -i;
  113. export OMPI_FC=/opt/ibmcmp/xlf/cbe/11.1/bin/ppuxlf;
  114. export OMPI_CC=/opt/ibmcmp/xlc/cbe/10.1/bin/ppuxlc;
  115. export OMPI_FCFLAGS="";
  116. export OMPI_CFLAGS="";
  117. export OMPI_LDFLAGS="-L/opt/openmpi/ppc64/lib/";
  118. export CC="mpicc";
  119. export FC="mpif90";
  120. export CFLAGS="-q64 -O3 -qarch=auto -qcache=auto";
  121. export FCFLAGS="$CFLAGS -qextname -qxlf90=autodealloc";
  122. export LDFLAGS="-lspe2";
  123. export LIBS_BLAS="-L/gpfs/data/home/Applications/afarres/soft/lib/ -lblas_xlf";
  124. export LIBS_LAPACK="-llapack_xlf";
  125. export LIBS_FFT="-L/gpfs/data/home/Applications/afarres/soft/lib/ -lfftw3_xlf";
  126. ./configure --prefix=$outdir \
  127. --with-gsl-prefix=$HOME/gsl \
  128. --disable-gdlib --disable-f90-forall \
  129. --enable-mpi;
  130. make;
  131. make install;
  132. make clean;
  133. tar -C $outdir -cf $execname bin lib include share;
  134. </command>
  135. </compile>
  136. <!-- compile GSL: ./configure - -prefix=$HOME/gsl - -disable-shared -->
  137. <!-- compile FFTW: ./configure - -prefix=$HOME/fftw - -disable-shared -->
  138. <compile cname="BULL-RS422-teraplus">
  139. <src directory="./octopus" files="." />
  140. <command>
  141. module load mkl/10.0.010;
  142. autoreconf -i;
  143. export CC=mpicc;
  144. export FC=mpif90;
  145. export CFLAGS="-u -fpp1 -pc80 -align -unroll -O3 -ip -no-fp-port -mno-ieee-fp -vec-report0 -no-prec-div";
  146. export FCFLAGS="-nbs -p $CFLAGS";
  147. export LIBS_BLAS="-L$LIBRARY_PATH -lmkl -lguide";
  148. export LIBS_FFT="-L$HOME/fftw/lib -lfftw3"
  149. ./configure --prefix=$outdir \
  150. --with-gsl-prefix=$HOME/gsl \
  151. --enable-mpi;
  152. make;
  153. make install;
  154. make clean;
  155. tar -C $outdir -cf $execname bin lib include share;
  156. </command>
  157. </compile>
  158. </compilation>