daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Nov 9th, 2018 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. export HACC_PLATFORM="mr-fusion"
  4. export HACC_OBJDIR="${HACC_PLATFORM}"
  5.  
  6. ompflg="-DRCB_UNTHREADED_BUILD"
  7.  
  8. export HACC_CC=icc
  9. export HACC_CXX=icpc
  10. export HACC_MPI_CC=mpicc
  11. export HACC_MPI_CXX=mpicxx
  12.  
  13. export HACC_CFLAGS="-O0 ${ompflg} -g -xMIC-AVX512 -std=gnu99 -mkl"
  14.  
  15. export HACC_CXXFLAGS=$HACC_CFLAGS
  16. export HACC_MPI_CFLAGS=$HACC_CFLAGS
  17. export HACC_MPI_CXXFLAGS=$HACC_CFLAGS
  18.  
  19. export HACC_LDFLAGS=""
  20. export HACC_MPI_LDFLAGS=""
  21.  
  22. export FFTW_MAJOR_VERSION=3
  23.  
  24. # currently "omp" turns on fftw omp threads
  25. # any other value turns off fftw omp threads, eg. "none"
  26. export FFTW_THREADING=none
  27.  
  28. root=${MKLROOT} # Defined in the intel module
  29. export FFTW_HOME=${root}
  30. export FFTW_INCLUDE=${root}/include/fftw
  31. export CPATH=${FFTW_INCLUDE}:${CPATH}
  32. if [ -f ${root}/lib64 ]
  33. then
  34. export LD_LIBRARY_PATH=${root}/lib64:${LD_LIBRARY_PATH}
  35. else
  36. export LD_LIBRARY_PATH=${root}/lib/intel64:${LD_LIBRARY_PATH}
  37. fi
  38. export INFOPATH=${root}/share/info:${INFOPATH}
  39. export MANPATH=${root}/share/man:$MANPATH
  40. export PATH=${root}/bin:${PATH}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top