Commit 0aaa545a authored by Christof Schulze's avatar Christof Schulze 😎 Committed by cschulze
Browse files

intel parallel studio updated (with MPI)

parent c89807cd
Loading
Loading
Loading
Loading

intel/2017.2.174

0 → 100644
+113 −0
Original line number Diff line number Diff line
#%Module
#
# Intel Composer 2017.2.174
#
set	version		2017.2.174
proc ModulesHelp { } {
        global version

        puts stderr "\tSets up the environment for the Intel CMKL/MKL 11.2 (EM64T) using 32-bit integers (lp64)\n"
        puts stderr "\t- INTEL_BASE / INTEL_HOME\n"
        puts stderr "\t- MKLROOT"
        puts stderr "\t- IPPROOT            - \n"
        puts stderr "\t- TBBROOT            - \n"
        puts stderr "\t- AALROOT            - \n"
        puts stderr "\t- I_MPI_ROOT         - \n"
        puts stderr "\t- INTEL_LICENSE_FILE - \n"
        puts stderr "\t- GDB_CROSS          - \n"
      	puts stderr "\t- DBSERVER_MIC       - \n"
      	puts stderr "\t- INTEL_PYTHONHOME   - \n"
        puts stderr "\t- MPM_LAUNCHER       - \n"
        puts stderr "\t- CLASSPATH          - \n"


        puts stderr "\t- INTEL_PYTHONHOME   - \n"
        puts stderr "\t- MPM_LAUNCHER       - \n"


        puts stderr "\t- LD_RUN_PATH\n"
        puts stderr "Check http://software.intel.com/sites/products/mkl/MKL_Link_Line_Advisor.html for additional combinations\n"
}

module-whatis   "sets up the environment for the Intel Composer $version (intel64)"

conflict    intel

set         pkghome           /opt/apps/intel/2017.2

setenv      INTEL_HOME        $pkghome
setenv      INTEL_BASE        $pkghome
setenv      INTEL_LICENSE_FILE  1713@license4.rrze.uni-erlangen.de


setenv      MKLROOT           $pkghome/compilers_and_libraries_$version/linux/mkl
setenv      IPPROOT           $pkghome/compilers_and_libraries_$version/linux/ipp
setenv      TBBROOT           $pkghome/compilers_and_libraries_$version/linux/tbb
setenv      DAALROOT          $pkghome/compilers_and_libraries_$version/linux/daal
setenv      I_MPI_ROOT        $pkghome/compilers_and_libraries_$version/linux/mpi

setenv      GDB_CROSS         $pkghome/debugger_2016/gdb/intel64_mic/bin/gdb-mic
setenv      DBSERVER_MIC      $pkghome/debugger_2016/gdb/targets/mic/bin/gdbserver
setenv      INTEL_PYTHONHOME  $pkghome/debugger_2016/python/intel64/
setenv      MPM_LAUNCHER      $pkghome/debugger_2016/mpm/mic/bin/start_mpm.sh

setenv      CLASSPATH         $pkghome/compilers_and_libraries_$version/linux/daal/lib/daal.jar

prepend-path  MANPATH         $pkghome/man/common
prepend-path  MANPATH         $pkghome/compilers_and_libraries_$version/linux/mpi/man
prepend-path  MANPATH         $pkghome/compilers_and_libraries_$version/linux/man/en_US
prepend-path  MANPATH         $pkghome/documentation_2016/en/debugger/gdb-ia/man/
prepend-path  MANPATH         $pkghome/documentation_2016/en/debugger/gdb-mic/man/
prepend-path  MANPATH         $pkghome/documentation_2016/en/debugger/gdb-igfx/man/

prepend-path  PATH            $pkghome/compilers_and_libraries_$version/linux/bin/intel64
prepend-path  PATH            $pkghome/compilers_and_libraries_$version/linux/mpi/intel64/bin
prepend-path  PATH            $pkghome/debugger_2016/gdb/intel64_mic/bin

prepend-path  LIBRARY_PATH    $pkghome/compilers_and_libraries_$version/linux/ipp/lib/intel64
prepend-path  LIBRARY_PATH    $pkghome/compilers_and_libraries_$version/linux/compiler/lib/intel64
prepend-path  LIBRARY_PATH    $pkghome/compilers_and_libraries_$version/linux/mkl/lib/intel64
prepend-path  LIBRARY_PATH    $pkghome/compilers_and_libraries_$version/linux/tbb/lib/intel64/gcc4.7
prepend-path  LIBRARY_PATH    $pkghome/compilers_and_libraries_$version/linux/daal/lib/intel64_lin
prepend-path  LIBRARY_PATH    $pkghome/compilers_and_libraries_$version/linux/daal/../tbb/lib/intel64_lin/gcc4.7
prepend-path  LIBRARY_PATH    $pkghome/compilers_and_libraries_$version/linux/daal/../compiler/lib/intel64_lin

prepend-path  MIC_LIBRARY_PATH      $pkghome/compilers_and_libraries_$version/linux/compiler/lib/mic
prepend-path  MIC_LIBRARY_PATH      $pkghome/compilers_and_libraries_$version/linux/mpi/mic/lib
prepend-path  MIC_LIBRARY_PATH      $pkghome/compilers_and_libraries_$version/linux/tbb/lib/mic

prepend-path  MIC_LD_LIBRARY_PATH   $pkghome/compilers_and_libraries_$version/linux/compiler/lib/mic
prepend-path  MIC_LD_LIBRARY_PATH   $pkghome/compilers_and_libraries_$version/linux/mpi/mic/lib
prepend-path  MIC_LD_LIBRARY_PATH   $pkghome/compilers_and_libraries_$version/linux/tbb/lib/mic

prepend-path  MIC_LD_LIBRARY_PATH   $pkghome/compilers_and_libraries_$version/linux/compiler/lib/mic
prepend-path  MIC_LD_LIBRARY_PATH   $pkghome/compilers_and_libraries_$version/linux/mkl/lib/mic

prepend-path  LD_LIBRARY_PATH       $pkghome/compilers_and_libraries_$version/linux/compiler/lib/intel64
prepend-path  LD_LIBRARY_PATH       $pkghome/compilers_and_libraries_$version/linux/compiler/lib/intel64_lin
prepend-path  LD_LIBRARY_PATH       $pkghome/compilers_and_libraries_$version/linux/mpi/intel64/lib
prepend-path  LD_LIBRARY_PATH       $pkghome/compilers_and_libraries_$version/linux/mpi/mic/lib
prepend-path  LD_LIBRARY_PATH       $pkghome/compilers_and_libraries_$version/linux/ipp/lib/intel64
prepend-path  LD_LIBRARY_PATH       $pkghome/compilers_and_libraries_$version/linux/compiler/lib/intel64
prepend-path  LD_LIBRARY_PATH       $pkghome/compilers_and_libraries_$version/linux/mkl/lib/intel64
prepend-path  LD_LIBRARY_PATH	    $pkghome/compilers_and_libraries_$version/linux/tbb/lib/intel64/gcc4.7
prepend-path  LD_LIBRARY_PATH       $pkghome/debugger_2016/libipt/intel64/lib
prepend-path  LD_LIBRARY_PATH       $pkghome/compilers_and_libraries_$version/linux/daal/lib/intel64_lin
prepend-path  LD_LIBRARY_PATH	    $pkghome/compilers_and_libraries_$version/linux/daal/../tbb/lib/intel64_lin/gcc4.7
prepend-path  LD_LIBRARY_PATH       $pkghome/compilers_and_libraries_$version/linux/daal/../compiler/lib/intel64_lin

prepend-path  CPATH                 $pkghome/compilers_and_libraries_$version/linux/ipp/include
prepend-path  CPATH                 $pkghome/compilers_and_libraries_$version/linux/mkl/include
prepend-path  CPATH                 $pkghome/compilers_and_libraries_$version/linux/tbb/include
prepend-path  CPATH                 $pkghome/compilers_and_libraries_$version/linux/daal/include

prepend-path  NLSPATH               $pkghome/compilers_and_libraries_2016.2.181/linux/compiler/lib/intel64/locale/%l_%t/%N
prepend-path  NLSPATH               $pkghome/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/locale/%l_%t/%N
prepend-path  NLSPATH               $pkghome/debugger_2016/gdb/intel64_mic/share/locale/%l_%t/%N
prepend-path  NLSPATH               $pkghome/debugger_2016/gdb/intel64/share/locale/%l_%t/%N

prepend-path  INFOPATH              $pkghome/documentation_2016/en/debugger/gdb-ia/info/
prepend-path  INFOPATH              $pkghome/documentation_2016/en/debugger/gdb-mic/info/
prepend-path  INFOPATH              $pkghome/documentation_2016/en/debugger/gdb-igfx/info/

#source $env(MODULESHOME)/modincludes/info_logging.tcl

intel/mkl/11.3.3

0 → 100644
+83 −0
Original line number Diff line number Diff line
#%Module
#
# Intel MKL 11.3.3 ( l_fcompxe_2017.2.174) - l_mkl_11.3.2 )
#
set	version		11.3.2
proc ModulesHelp { } {
        global version

        puts stderr "\tSets up the environment for the Intel CMKL/MKL $version (EM64T) using 64-bit integers (lp64)\n"
        puts stderr "\t- MKL_BASE / MKL_ROOT\n"
        puts stderr "\t- INCLUDE            -  (comp. HPC module)\n"
        puts stderr "\t- MKL_INCDIR         -  (comp. HPC module)\n"
        puts stderr "\t- MKL_INC            -  (comp. HPC module)\n"
        puts stderr "\t- MKL_LIBDIR         -  (comp. HPC module)\n"
        puts stderr "\t- FPATH              -  (comp. HPC module)\n"
      	puts stderr "\t- NLSPATH            - \n"
        puts stderr "\t- MANPATH            - \n"
        puts stderr "\t- MIC_LIBRARY_PATH   - \n"
        puts stderr "\t- LIBRARY_PATH       - \n"
        puts stderr "\t- LD_LIBRARY_PATH\n"
        puts stderr "\t- CPATH              - \n"

        #puts stderr "\t- MKL_LIB            - MKL statically linked, sequential version\n"
        #puts stderr "\t- MKL_SHLIB          - MKL dynamically linked, sequential version\n"
        #puts stderr "\t- MKL_LIB_THREADED   - MKL statically linked, multi-threaded version\n"
        #puts stderr "\t- MKL_SHLIB_THREADED - MKL dynamically linked, multi-threaded version\n"
        #puts stderr "\t- MKL_SCALAPACK      - MKL statically linked, sequential version + ScalaPACK for Intel-MPI\n"
        #puts stderr "\t- MKL_CDFT           - MKL statically linked, sequential version + CDFT for Intel-MPI\n"

        puts stderr "Check http://software.intel.com/sites/products/mkl/MKL_Link_Line_Advisor.html for additional combinations\n"
}

module-whatis   "sets up the environment for the Intel CMKL/MKL $version (EM64T)"

conflict      mkl

set           pkghome         /opt/apps/intel/2017.2
set           mklhome         $pkghome/compilers_and_libraries_2017.2.174/linux/mkl
set           pkglibdir       $pkghome/compilers_and_libraries_2016.2.174/linux/mkl/lib

setenv        MKL_BASE        $mklhome
setenv        MKLROOT         $mklhome

prepend-path  MANPATH         $pkghome/compilers_and_libraries_2017.2.174/linux/man/en_US:
prepend-path  NLSPATH         $pkglibdir/intel64/locale/%l_%t/%N

prepend-path  MIC_LD_LIBRARY_PATH $pkghome/compilers_and_libraries_2017.2.174/linux/tbb/lib/mic
prepend-path  MIC_LD_LIBRARY_PATH $pkghome/compilers_and_libraries_2017.2.174/linux/compiler/lib/mic
prepend-path  MIC_LD_LIBRARY_PATH   $mklhome/lib/mic

prepend-path  LIBRARY_PATH	$pkghome/compilers_and_libraries_2017.2.174/linux/tbb/lib/intel64/gcc4.7
prepend-path  LIBRARY_PATH      $pkghome/compilers_and_libraries_2017.2.174/linux/compiler/lib/intel64
prepend-path  LIBRARY_PATH	$mklhome/lib/intel64

prepend-path  LD_LIBRARY_PATH	$pkghome/compilers_and_libraries_2017.0.098/linux/tbb/lib/intel64/gcc4.7
prepend-path  LD_LIBRARY_PATH	$pkghome/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64
prepend-path  LD_LIBRARY_PATH   $mklhome/lib/intel64

prepend-path  CPATH             $mklhome/include

# compatibility with HPC modules
prepend-path  FPATH           $mklhome/include
setenv	      INCLUDE         $mklhome/include
setenv        MKL_INCDIR      $mklhome/include
setenv        MKL_INC         -I$mklhome/include
setenv        MKL_LIBDIR      $pkglibdir

#
# linking and compiling parameter examples
# https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor
#
#setenv       MKL_LIB          "-Wl,--start-group $MKLROOT/libmkl_intel_lp64.a $MKLROOT/libmkl_sequential.a $MKLROOT/libmkl_core.a -Wl,--end-group -lpthread -lm"
#setenv       MKL_SHLIB        "-L$MKLROOT/lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm"
#setenv       MKL_LIB_THREADED "-Wl,--start-group  $MKLROOT/libmkl_intel_lp64.a $MKLROOT/libmkl_intel_thread.a $MKLROOT/libmkl_core.a -Wl,--end-group -lpthread -lm -openmp"
#setenv       MKL_SLIB_THREADED "-Wl,--start-group -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -lpthread -lm -openmp"
#setenv       MKL_SCALAPACK    "$MKLROOT/libmkl_scalapack_lp64.a -Wl,--start-group  $MKLROOT/libmkl_intel_lp64.a $MKLROOT/libmkl_intel_thread.a $MKLROOT/libmkl_core.a $MKLROOT/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm -openmp"
#setenv       MKL_CDFT         "-Wl,--start-group  $MKLROOT/libmkl_cdft_core.a $MKLROOT/libmkl_intel_lp64.a $MKLROOT/libmkl_intel_thread.a $MKLROOT/libmkl_core.a $MKLROOT/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm -openmp"

unset        pkghome
unset        pkglibdir
unset        mklhome

#source $env(MODULESHOME)/modincludes/info_logging.tcl