wiki:openmp_programming

Version 2 (modified by rider, 17 years ago) (diff)

--

OpenMP Usage

OpenMP Installation

Step1: rider@hd05:~$ wget http://www.hpcc.jp/Omni/ftp/Omni/Omni-1.6.tar.gz
Step2: rider@hd05:~$ tar zxvf Omni-1.6.tar.gz
Step3: rider@hd05:~$ cd Omni-1.6
Step4: rider@hd05:~$ ./configure --prefix=/opt/openmp
Step5: rider@hd05:~$ make & make install
Step6: rider@hd05:~$ export OMPC_NUM_PROCS=16 (Kerrighed_machines: node0~node4)
Step7: rider@hd05:~$ export OMPC_BIND_PROCS=true

Intel C++ Compiler Installation

Step1: Download the Intel C++ Compiler from http://www.intel.com/cd/software/products/asmo-na/eng/340679.htm
Step2: rider@hd05:~$ tar zxvf l_cc_p_10.1.015_intel64.tar.gz (ver: Intel(R)64)
Step3: rider@hd05:~$ cd l_cc_p_10.1.015_intel64
Step4: rider@hd05:~$ ./install.sh ( Follow the installation steps -> Free code: NZCR-FZ66ZWWD
Step5: Confirm your installation path: /opt/intel/cce/10.1.015/
Step6: source /opt/intel/cce/10.1.015/bin/iccvars.sh or export PATH=$PATH:/opt/intel/cce/10.1.015/bin to your /etc/profile
Step7: icc -help (If it works fine than it's done)

Intel Fortran Compiler Installation

Step1: Download the Intel Fortran Compiler from http://www.intel.com/cd/software/products/asmo-na/eng/340679.htm
Step2: rider@hd05:~$ tar zxvf l_fc_p_10.1.015_intel64.tar.gz
Step3: rider@hd05:~$ cd l_fc_p_10.1.015_intel64
Step4: rider@hd05:~$ ./install.sh ( Follow the installation steps -> Free code: NRDN-29Z6K5WT
Step5: Confirm your installation path: /opt/intel/fce/10.1.015/
Step6: source /opt/intel/fce/10.1.015/bin/ifortvars.sh or export PATH=$PATH:/opt/intel/fce/10.1.015/bin
Step7: ifort -help (If it works fine than it's done)

Intel Threading Analysis Tool

Step1: Donwload the Intel Threading Analysis Tool from https://registrationcenter.intel.com/RegCenter/AutoGen.aspx?ProductID=893&AccountID=&ProgramID=&RequestDt=&rm=EVAL&lang=
Step2: rider@hd05:~$ tar zxvf Tcheck3.1_009cli_lin.tar.gz
Step3: rider@hd05:~$ sudo chmod -R a+rx Tcheck3.1_009cli_lin
Step4: rider@hd05:~$ cd Tcheck3.1_009cli_lin
Step5: rider@hd05:~$ ./install.sh
Step6: Confirm your installation path: /opt/intel/itt
Step7: source /opt/intel/itt/tcheck/bin/32e/tcheckvars.sh
Step8: tcheck_cl -help (If it works fine than it's done)

Attachments (1)

Download all attachments as: .zip