Use of SX-8R system at RCNP node (for CMC node, click here)


  1. システム(System)
  2. ログイン(Login)
  3. コンパイル(Compiling and submitting)
  4. ディレクトリー構成(Disk storage)
  5. ファイル転送(File transfer)
  6. プログラム実行、キュー構成、スクリプト作成、ジョブの投入
    (Execution, queuing configuration, making a script, submitting)
  7. Program tuning





1  システム (System)

新スーパーコンピュータSX-8Rは、大容量メモリ型(DDR2)ノードと高速メモリ型(FC-RAM)ノードの2種類の機種から構成されます。RCNP専用ノードは3つあり、全てFC-RAMとなっています。各ノード(SX803, SX810, SX811)には8個のCPUが搭載され、そのピーク性能は256GFLOPS/nodeとなっています。 また、主記憶容量は64GBと128GBとなっています。詳細は以下の表を参照のこと。

Vector-parallel supercomputer SX-8R of RCNP is made of three nodes (SX803, SX810, and SX811). Memory type in all of them is FC-RAM. One node has eight CPUs. For details, see below.

RCNP node
Name of server Memory (GB) Memory type Peak performance (GFLOPS) Usage type
SX803 64 FC-RAM 256 One CPU is prepared to use interactively.
SX810 128 FC-RAM 256 One CPU is available to use interactively if CPUs are not filled by jobs.
SX811 128 FC-RAM 256 No CPU is prepared to use interactively.




2  ログイン (Login)

RCNP node と CMC node へのログイン
Login into the RCNP nodes and the CMC one

RCNPユーザーがスーパーコンピュターヘログインするときには、RCNP側で用意されたログインサーバーとCMC(Cybermedia center of Osaka Univ.)で用意されたログインサーバの2つのログインサーバを利用することができます。

To log in the super computer, the RCNP users can use an RCNP login-server or a CMC (Cybermedia center of Osaka University) login-server:
具体例〜RCNPログインサーバー(Example of RCNP login server)
  1. RCNP側ログインサーバーに接続する。ここでのユーザー名はRCNPアカウント名です。
    Connection to the RCNP login server, where the user name is your RCNP account.


     > ssh username@login.rcnp.osaka-u.ac.jp
     

  2. すると次の3つのサーバーが選べます。
    Select one of three servers


     1) HPC Server(miho) <= RCNP General purpose computer
     2) Super Computer SX-8 (SX803  64GB) <= SX-8R 64GB memory node
     3) Super Computer SX-8 (SX810 128GB) <= SX-8R 128GB memory node
     

具体例〜CMCログインサーバー (Example of CMC login server)
  1. CMC側ログインサーバーに接続する。ここでのユーザー名はスーパーコンピューターのアカウント名です。
    In order to Connect to the CMC login server, please use your super computer account.


     > ssh rcnpXXXX@login.hpc.cmc.osaka-u.ac.jp
     

  2. 次のようなメニューが表示されます。
    Select one of the following servers.

           
            Cybermedia Center,Osaka University
            Welcome to a large-scale computing system !!


            Select the system number of the application

            [0] The information from the center
            [1] Frontend Terminal (fronta)
            [2] Frontend Terminal (frontb)
            [3] Frontend Terminal (frontc)
            [4] Frontend Terminal (frontd)
            [7] Application Server (aplsv)
            [8] Super Computer (sx8)
            [9] Frontend Terminal (front03)
            [99] Logout (Session Close)

            Enter number ?




3  コンパイルとオプション (Compile and compile options)

RCNP専用ノード上およびCMCノード上(スーパーコンピュータ上)では、f90またはmpif90コマンドを使うことによりコンパイルが可能です。フロントエンド端末機上では、sxf90またはsxmpif90コマンドによってコンパイルが可能です。スーパーコンピュータ上でのコンパイルは推奨しておりません。クロスチェックやデバッグ等で止むを得ない場合以外はなるべくフロントエンド端末上でコンパイルするようにしてください。

You can compile your program source by using f90 and/or mpif90 commands on the RCNP node. However, you should note that in the frontend of the CMC node these two commands are renamed as sxf90 and sxmpif90. (Here f90 and mpif90 are PC cluster's compilers.) We do not recommend an edit and a compilation of the program on the super computer.

Examples of compile option:
  1. Compilation of simple program.
     
    > sxf90 test.f
     
  2. Maximum optimization option
     
    > sxf90 -C hopt test.f
     
  3. Compile option on auto parallelization.
     
    > sxf90 -P auto test.f
     
  4. Compile option to use OpenMP.
     
    > sxf90 -P openmp test.f
     
  5. To analyses your program performance.
     
    > sxf90 -ftrace test.f or f90 -P test.f
     
  6. Change of all single precision variables to double precision
     
    > sxf90 -Wf"-A dbl4" test.f



4 ディレクトリー構成 (Disk storages)


  1. 現在RCNPユーザーが使用できるハードディスクの容量は次のようになっています。

    Currently the RCNP users can use the following disk storages:

    Name of directory Capacity Usage Quota
    /sc/rcnp/home 7.3 TB * your home dir. yes
    (100GB/user)
    /sc/rcnp/short 23.0 TB ** Temporary No
    /sc/rcnp/work 51.9 TB Permanent No
    /sc/rcnp/work2 87.0 TB Permanent No
    /sc/rcnp/work3 87.0 TB Permanent No
    * Actual space for users, 4.0T are available (100GB/user).
    ** Files in this directory are kept for two weeks. Therefore, users should transfer the necessary files from this directory within this period.

  1. 旧ディレクトリーから現行システムのディレクトリーへの移行対応。

    Below table shows the correspondence on the disk storages for the previous systems and the current system.

    Previous disk system  for SX5 Previous disk system for SX-8R Current disk system for SX-8R & SX-9
    /sx/rcnp/home  
    /sx/rcnp/work
    /sxshort/rcnp
      n/a          
    /sx/rcnp/data
    /sx/rcnp/data2
    /sx/rcnp/data3
    /sx/rcnp/data4
    /sx/rcnp/data5








    /sc/rcnp/home/
    /sc/rcnp/work/
    /sc/rcnp/work/USER/sxshort/
    /sc/rcnp/short/
    /sc/rcnp/data/
    /sc/rcnp/work/USER/data2/
    /sc/rcnp/work/USER/data3/
    /sc/rcnp/work/USER/data4/
    /sc/rcnp/data5/








    /sc/rcnp/home/
    /sc/rcnp/work/

    /sc/rcnp/short/
    /sc/rcnp/work2/



    /sc/rcnp/work3/


5  ファイル転送(File transfer)

ファイル転送サーバーはRCNPの汎用計算機のファイル転送 サーバーとCMCのファイル転送サーバーの両方が利用できます。

For file transfer, you can use file servers of RCNP or CMC.

For RCNP servers;
http://www.rcnp.osaka-u.ac.jp/Divisions/CN/i2006/usersguide/scpusage.html

For CMC serves;
http://www.hpc.cmc.osaka-u.ac.jp/j/tebiki/old/ftp.html




6 プログラム実行、キュー構成、スクリプト作成、ジョブの投入( Execution, queuing configuration, making a script, submitting.)


  1. Interactive execution (which you should use only for debugging or tuning)

    ジョブスケジューラーを介さず、通常の計算機と同じ様に会話的にプログラムの実行ができます(しかしながら、これはなるべくデバッグなどで止むを得ない場合のみに使用してください。プログラムの一般的な実行法は2のキューイングを参照してください。)



  2. キューイング(Queuing)

    RCNPユーザーは唯一のキュー「sx-rcnp@rcnp」を指定してジョブを投入することが出来ます。ジョブ・マニュピレータが自動的に下の表にあるキュー(又はクラス)に振り分けてくれます。

    This table shows the ques available on the RCNP node.

    RCNP node
    Que (Class) Number of CPU Usage Elapse time (hours) CPU time (hours) Memory (GB)
    R1L 1 cpu Long single 72
    R1M 1 cpu Middle single  24
    R1S 1 cpu Short single 8
    R4L 4 cpu Long parallel 72
    R4M 4 cpu Middle parallel 24
    R4S 4 cpu Short parallel 8
    R4D 1 〜 4 cpu Debug 1
    10 min. 32

  3. スクリプト例 (Example of queuing script)

    ジョブ投入のスクリプト例が以下です。
       
  4. ジョブの操作 (Operating your jobs)
     
  5. Job scheduler -- Job Manupilator --

    現在実装されているジョブスケジューリングシステムは"JobManupilator"と呼ばれます。そのいくつかの特徴を以下にまとめます。

    Job scheduler system currently implemented on SX-8R is called "JobManupilator", which has the following features:
     



7 プログラムチューニング

最近のコンパイラはかなりのチューニングを自動的に行います。最高の性能を得なくても早く計算をする事が重要な場合は、特にチューニングをしなくてもそこそこの性能は得られます。しかしプログラムによってはハードウエアやコンパイラの特性に合わないため性能が出ない場合があります。そのような場合でもチューニングを施すことで性能が出せるかも知れません。詳しいチューニングの技法についてはマニュアルを参照して頂くしかありませんが、講習会でも概略を習得する事はできます。

高度なチューニングが必要となった場合、ユーザーの独習だけでは難しい事もあるかも知れません。そのような場合、NECのコンパイラやライブラリの開発部門にチューニングの調査を依頼する事も可能です。以下の例を参考にして頂ければ、どのような調査が行われるかの理解に役立つでしょう。

tuning_20090724.doc