Sushiki shori server(Mathematica and Maple)

(English version is attached after Japanese version)

---------------------------------------------------------------------
            数式処理サーバ sushiki の利用方法
---------------------------------------------------------------------

        1. 概要
        2. Mathematica
        3. Maple
        4. Intel Fortran, C++, MKL library, Debugger
        5. バックグラウンドJOBの実行についての注意事項
        6. その他

(注) mathematica(X-window base)を起動エラーに関して(5. その他参照)

1. 概要

数式処理サーバ  sushiki

Dell PowerEdge R640 上の仮想マシン
CPU: Intel Xeon Gold 6248R (3.0GHz) x 24Core
Memory  256 GiB
HDD     3.0 TB

2. Mathematica

数式処理サーバは Mathematica Networkライセンス(20プロセス)を有しています。

(注)一人あたりの同時利用プロセス数は 3プロセスまでです。

1) Mathematica を利用するには、ssh で sushiki にloginしてください。
% ssh sushiki

2) 起動コマンド
% math           (on character base)
% mathematica    (X-window base)

3) Batch Job として利用
% math < inputfile > outputfile

inputfile: Mathematica operation を記述したファイル
outputfile: 結果が出力されるファイル

4) プロセス使用状況の確認コマンド
% monitorlm  
sushiki上でmonitorlmコマンドを実行すると、
現在20プロセス中の何プロセスが利用されているか確認できます。

3. Maple

1) Maple を利用するには、ssh で sushiki にloginしてください。
% ssh sushiki

2) 起動コマンド
% maple           (on character base)
% xmaple          (X-window base)

3)マニュアル
◎ UserManual
https://www.maplesoft.com/support/training/

4. Intel Fortran, C++, MKL Library, Debugger, 

sushiki には Intel Fortran, C++, MKL library, Debugger 等が入っています。

Fortran 起動コマンド:   ifort
C++     起動コマンド:   icpc
C       起動コマンド:   icc
Debugger起動コマンド:   gdb-ia

各コマンドのオプションは   man コマンド名  や  コマンド名 -help で参照

e.g.  % man ifort
      % ifort -help

詳細な利用方法については、次の オンラインマニュアルを参照してください。

(Fortran)
# sushiki:/opt/intel/documentation_2020/ja/compiler_f 以下に
#    html 形式のマニュアルがあります。
# sushiki:/opt/intel/documentation_2020/ja/compiler_f/ps2020/get_started_lf.htm: 
#    インテル Fortran コンパイラ 19.1 入門  
#
# https://software.intel.com/en-us/articles/19.1-fortran-compiler-tech-preview
#    インテル Fortarn コンパイラ developer guide and reference
#
(C++)
# sushiki:/opt/intel/documentation_2020/ja/compiler_c 以下に html 形式の
#    マニュアルがあります。
# sushiki:/opt/intel/documentation_2020/ja/compiler_c/ps2020/get_started_lc.htm: 
#    インテル C++ コンパイラ 19.1 入門  
#
#https://software.intel.com/en-us/intel-system-studio-cplusplus-compiler-19.0-user-and-reference-guide

#    インテル C++ コンパイラ 19.1 developer guide and reference
#


5. バックグラウンドJOBの実行についての注意事項
sushikiサーバにおいて、バックグラウンドでJOBを実行させるときは優先順位
(nice値)にご注意ください。推奨のnice値は 19です。
JOBの実行時等に適正なnice値を指定してください。

% nice -n 19 COMMAND

JOB実行後に優先順位を変更するには、reniceコマンドを利用してください。

% renice 19 -p PROCESS-ID

6. その他
Mathematica, Maple は、sushiki 以外のマシン(sun7等)でも利用可能ですが、
数式処理サーバ(sushiki)での利用を推奨します。


English version

        ----------------------------------------------
          Sushiki shori server(Mathematica and Maple)
        ----------------------------------------------

        1. Summary 
        2. Mathematica
        3. Maple
        4. Intel Fortran, C++, MKL library, Debugger
        5. Background Job

(Note: about mathematica(X-window base) start up ERROR: see also "6. etc")

1. Summary

   Virtual Machine on Dell PowerEdge R640 
   CPU: Intel Xeon Gold 6248R (3.0GHz) x 24Core
   Memory  256 GiB
   HDD     3.0 TB

2. Mathematica

  We have Mathematica Network License (20 processes) on "sushiki" host.

 Note: MathKernel Process Limit: 3 process/user

 1) To use Mathematica, please login to sushiki by ssh.

    % ssh suhiki

 2) Boot command

    % math              (on character base)
    % mathematica       (X-window base)

 3) Run the mathematica as a batch job

    % math < inputfile > outputfile

    inputfile  : Mathematica input file containing Mathematica Operation
    outputfile : the output file of the results

 4) License Usage check (monitorlm command)

   % monitorlm

   You may check how many processes are no in use by monitorlm command.

3. Maple

 1) To use Maple, please login to sushiki by ssh.

    % ssh sushiki

 2) Boot command

    % maple     (on character base)
    % xmaple    (X-window base)

3)Manuals

◎ UserManual
https://www.maplesoft.com/support/training/

4.  Intel Fortran, C++, MKL Library, Debugger

Intel Fortran, C++, MKL Library, Debugger are available on sushiki.

     To invoke the installed compilers:
        For C++: icpc
        For C: icc
        For Fortran: ifort
        For debugger: gdb-ia

 See   man command-name   or  command-name -help  for brief guide.

 e.g.   % man  ifort
        % ifort  -help

 Refer to the online manuals (written below) for more detailed guide.

(Fortran)
file:///opt/intel/documentation_2020/en/compiler_f/ps2020/get_started_lf.htm
(C++)
file:///opt/intel/documentation_2020/en/compiler_c/ps2020/get_started_lc.htm

5. Background Job
If you want to run background job on sushiki, you should use nice or renice commnd.
recommend nice parameter is 19.
 
e.g.   % nice -n 19 COMMAND
       % renice 19 -p PROCESS-ID