Try   HackMD

How to use ORCHIDEE in off-line mode with IPSL LibIGCM (2023/02/13)(Yi-Ying Chen, RCEC)

資源

User Guide to ORCHIDEE
FERRET TIPS

MobaXterm Settings

OpenGL acceleration: Hardware

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Add Session for SSH connection to Taiwainia3 (203.145.216.51)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Testing the plot

$R

>data(volcano)
>image(volcano)
>q()

Login server, computational server

  • NCHC server Taiwania3
    Domain name: twnia3.nchc.org.tw
    Account: xxxx
    Passwd: xxxx
    MOTP: xxxx (可用Google Authenticator)
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  • Slurm 指令

Environment setting

  1. In the server Taiwania3, there are several compilers that can be loaded by using “module load module_name
    Please type module list to show the current loaded modules

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  2. initial bash setting via the ~/.bashrc file

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

Copy the ORCHIDEE to your home directory

$mkdir  MODEL_IPSL
$cp /home/u9197633/MODEL_IPSL/ORC_4262_copy ~/MODEL_IPSL/ -rf
$du -h --max-depth=1

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

  • change the foler name from “ORC_4262_copy” to “ORC_4262”
    $ mv ORC_4262_copy ORC_4262 (mv可改檔名)

Step by Step configuration, compile the code, and submit jobs

  1. Copy ORCHIDEE
    $cp /home/u9197633/MODEL_IPSL/ORC_4262_copy/ /home/u1234567/MODEL_IPSL/. -rf
  2. Modify the local path in libIGCM library
  • /home/u1234567/MODEL_IPSL/ORC_4262/libIGCM/libIGCM_sys
    $vim libIGCM_sys_default.ksh
    export PATH=${PATH}:/chia_cluster/home/${LOGIN}/ORC_4262/bin/
  1. Create make files in TWNIA3 server
  • /chia_cluster/home/ User/ORC_4262/util
    $ ./ins_make -t t3
  1. Compile the code
cd /home/u1234567/MODEL_IPSL/ORC_4262/config/ORCHIDEE_OL
$ gmake clean
$ gmake without_xios
  1. Submit a job
$ vim clean.sh  #modify the job path 
$ sbatch Job_test.run.tw
$ squeue | grep "u1234567"

查看資料輸出結果

輸出路徑(Carbon)

$ cd /work/u2936446/IGCM_OUT/OL2/TEST/secsto/test.run.tw/SBG/Output/MO/
$ ls
ferret.jnl      ferret.jnl.~3~                                       test.run.tw_20190101_20191231_1M_stomate_history.nc  test.run.tw_20220101_20221231_1M_stomate_history.nc
ferret.jnl.~1~  ferret.jnl.~4~                                       test.run.tw_20200101_20201231_1M_stomate_history.nc  test.run.tw_20230101_20231231_1M_stomate_history.nc
ferret.jnl.~2~  test.run.tw_20180101_20181231_1M_stomate_history.nc  test.run.tw_20210101_20211231_1M_stomate_history.nc

Ferret繪圖

進入ferret

$ ferret

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

use {data}

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

show data

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

畫圖

shade HEIGHT[K=2, L=1]

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

存檔

frame /files=test1.gif

離開

q

呈現

  • 取回local端後可用如FastStone轉檔為jpg格式
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →