Changes between Version 5 and Version 6 of jazz/09-07-17


Ignore:
Timestamp:
Jul 17, 2009, 5:20:48 PM (15 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/09-07-17

    v5 v6  
    11= 2009-07-17 =
    22
    3  * [http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-3.0-on-a-headless-ubuntu-9.04-server VBoxHeadless - Running Virtual Machines With VirtualBox 3.0 On A Headless Ubuntu 9.04 Server] - 在 Ubuntu 9.04 上裝 VirtualBox 3.0 並用指令方式產生/啟動虛擬機器
     3 * 排解 intel C++ compiler 雙字元字集編譯問題
     4{{{
     5Catastrophic error: could not set locale "" to allow processing of multibyte characters
     6compilation aborted for k.c (code 4)
     7}}}
     8{{{
     9LANG=C icc -openmp icctest.c
     10}}}
     11{{{
     12#!c
     13#include <stdio.h>
     14#include <omp.h>
     15int main(void)
     16{
     17  int i,j;
     18  int a[100];
     19  int b[100];
     20  int sum;
     21
     22  for (i=0;i<100;i++) {
     23    a[i] = i+32;
     24    b[i] = 983-i;
     25  }
     26
     27  sum = 0;
     28  #pragma omp for
     29  for (i=0;i<100;i++) {
     30    sum = sum + a[i] + b[i];
     31
     32    fprintf(stderr,"DEBUG: i = %d, by thread %d\n",i,omp_get_thread_num());
     33    fflush(stderr);
     34  }
     35}
     36}}}
    437
    538== Cloud Computing ==
     
    3265 * [http://cosi.clarkson.edu/docs/installingxen/ Installing Xen - Xen Virtualization Tutorial] - 還蠻仔細的 Xen 虛擬化教學講義
    3366
     67 * [http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-3.0-on-a-headless-ubuntu-9.04-server VBoxHeadless - Running Virtual Machines With VirtualBox 3.0 On A Headless Ubuntu 9.04 Server] - 在 Ubuntu 9.04 上裝 VirtualBox 3.0 並用指令方式產生/啟動虛擬機器
     68
    3469== 職場技能 ==
    3570