Changes between Version 3 and Version 4 of openmp_programming


Ignore:
Timestamp:
May 5, 2008, 4:32:31 PM (16 years ago)
Author:
rider
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • openmp_programming

    v3 v4  
    11= OpenMP Usage =
    22== OpenMP Installation ==
    3 Env: Debian 4.0 amd64 2.6.20-krg SMP with Kerrighed 2.3.0 [[BR]]
     3Env: '''Debian 4.0 amd64 2.6.20-krg SMP with Kerrighed 2.3.0''' [[BR]]
    44Step1: rider@hd05:~$ wget http://www.hpcc.jp/Omni/ftp/Omni/Omni-1.6.tar.gz  [[BR]]
    55Step2: rider@hd05:~$ tar zxvf Omni-1.6.tar.gz[[BR]]
     
    99Step6: rider@hd05:~$ export OMPC_NUM_PROCS=16 (Kerrighed_machines: node0~node4) [[BR]]
    1010Step7: rider@hd05:~$ export OMPC_BIND_PROCS=true [[BR]]
     11
     12Directions:
     13
     14-- The environment variable OMPC_NUM_PROCS specifies the number of
     15threads to execute the program. For example, you want to use 4 threads,
     16
     17        setenv OMPC_NUM_PROCS 4
     18
     19 -- If the environment variable OMPC_NUM_PROCS is not set, check the
     20number of physical processors in your platform. The same number of
     21threads are created as the number of physical processor.
     22In Linux and Solaris platforms, the runtime system checks the number
     23of processors. Otherwise, the current version uses a compile-time
     24constant N_PROC_DEFALUT (currently 4) in "ompclib.h" as the number of threads.
     25[[BR]]
     26 -- If the environment variable OMP_NUM_THREADS is set and its value
     27is greater than the number of threads described above, the value of
     28OMP_NUM_THREADS is used as the max number of threads.
     29
    1130== Intel C++ Compiler Installation ==
    1231Step1: Download the Intel C++ Compiler from http://www.intel.com/cd/software/products/asmo-na/eng/340679.htm  [[BR]]