Try   HackMD

How to use ORCHIDEE with libIGCM? (2023/02/20)(Yi-Ying Chen, RCEC)

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

Create a new task by Steps

Step1: create a folder

Create a folder under the path: /config/ORCHIDEE_OL

可用

cp /home/u9197633/MODEL_IPSL/ORC_4262_copy/config/ORCHIDEE_OL/TEST_RUN_TW_PFT /home/u2936446/MODEL_IPSL/ORC_4262/config/ORCHIDEE_OL/TEST_RUN_TW_PFT -r

Step2: vim config.card

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 →

  • set up JobName
  • check CalendarType
  • set up DateBegin and DateEnd
  • check PeriodLength
  • set up the output file path(自己主機名稱)

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 →

  • check MPI number(CPU)

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 →

  • set up Restarts
  • set up WriteFrequency

Step3 : Modify the path of Boundary Files

  • Set up boundary file paths in COMP folder
  • We need edit orchidee_ol.card, sechiba.card, and stomate.card

Step4: Edit the bash script, clean.‌sh (ref)

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 →

Step5: Submit the ORCHIDEE job with libIGCM

  • Enter ./clean.sh to create the Job_JobName file as follow as:

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 →

  • sbatch {Job_Name}

Step6: Check run.card

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 →

  • All of the information are in the “run.card” file, so we usually type cat run.card to check the job state.

Set up output variables

Choose the variable levels in a new tasks

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 →

  • To find the run.def in a new task.
  • Path: {New Task Folder}/ PARAM/ run.def

Set up levels of variables

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 →

Assign CPU resources

Edit AA_job file

  • Path: /ORC_4262/libIGCM/AA_job
#SBATCH --job_name=::Jobname:: (a dynamic variable for job name)
#SBATCH --ntasks = ::JobNumProcTot:: (a dynamic variable for number of cores, CPU)
#SBATCH –account=MST111248 (project name for accounting CPU resources)
#SBATCH -p ct56 (queue_name depend on the available queue in the system )
#SBATCH -o output script for your job

qstat可看CPU狀態

ferret layout

ferret

use pic1
set view left
shade height[K=2, L=1]
use pic2
set view right
shade height[K=2, L=1]

frame /files=test2.gif
q

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 →