Changes between Version 41 and Version 42 of DevelopmentActivities/ORCHIDEE-CNP/howtoFLUXNET


Ignore:
Timestamp:
2016-08-11T03:40:44+02:00 (8 years ago)
Author:
dgoll
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentActivities/ORCHIDEE-CNP/howtoFLUXNET

    v41 v42  
    3083083. modify fluxnet.card following [http://forge.ipsl.jussieu.fr/orchidee/wiki/Scripts/FluxnetValidation] 
    309309 
     310 
     311== 1.5 create job == 
     312{{{ 
     313../../../libIGCM/ins_job 
     314}}} 
     315 
     316== 1.6 adjust job  == 
     317 
     318'''on obelix''' 
     319Change the queue to longp to increase the wallclock time (the default queue mediump is too short for this setting and you will exceed wall clock time). 
     320'''WARNING:''' In case you have set level_hist=10 (fluxnet.card) you need to take the extra long queue: 
     321{{{ 
     322#PBS -q longp 
     323}}} 
     324 
     325 
     326If you want to debug on obelix: set the variable RUN_DIR_PATH to disk with enough space (the default path is not accessible for the user) 
     327{{{ 
     328# for example on scratch01 
     329RUN_DIR_PATH=/home/scratch01/dgoll/RUN_DIR 
     330}}} 
     331ACHTUNG: On curie, do not set RUN_DIR_PATH in the Job_*. If you do, the configuration will crash. You find the default path to the RUN_DIR_PATH in the section "3.2.8 check simulations". 
     332 
     333 
     334== 1.7 start simulations == 
     335{{{ 
     336ksh 
     337nohup ./Job_ENSEMBLE fluxnet > out_Job 2>&1 & 
     338}}} 
     339 
     340== 1.8 check simulations == 
     341to see the decomposition of the spatial domain among the processors check in the run dir "Load_balance_orchidee.dat" 
     342'''on curie''' 
     343The RUN_DIR is in  
     344{{{ 
     345/ccc/scratch/cont003/dsm/<userid>/RUN_DIR 
     346}}} 
     347 
     348to check the status of the job; type 
     349{{{ 
     350ccc_mstat -u <userid> 
     351}}} 
     352to delete a job; type 
     353{{{ 
     354ccc_mdel <jobid> 
     355}}} 
     356=== 1.8.1 what to do when a simulation crash === 
     357You cannot use clean_month and clean_year. You should remove the sites that crashed from the IGCM_OUT path 
     358and rerun the same experiment with a fluxnet.card containing only the sites which crashed. 
     359 
     360 
     361== 1.9 post processing == 
     362ensure the Jobname and the path to the reference simulation is set in fluxnet.card; in case there is no reference set it to NONE 
     363{{{ 
     364# History file of former ORCHIDEE runs (Reference) to compare with the current simulations 
     365reference_base_path=/home/scratch01/dgoll/IGCM_OUT/OL2/DEVT/ensemble 
     366reference_config=DSG04EnsCN 
     367}}} 
     368start the skript 
     369{{{ 
     370ksh 
     371nohup ./Job_Post_FLUXNET fluxnet > out_Post 2>&1 & 
     372}}} 
     373you will find the graphics in the experiment folder in the IGCM_OUT path. There is a pdf in the folder starting with "fluxnet_taylor_diff". 
     374 
     375 
     376== OPTIONAL FEATURES == 
     377=== specify the name of the exectuable of orchidee === 
     378If you want to use different version of the orchidee_ol which you store in modipsl/bin you have to do the following: 
     379add the following line to the [Executable] section in ../SPINUP/config.card 
     380{{{ 
     381OOL=(orchidee_ol, orchidee_ol) 
     382}}} 
     383add the following line to Job_ENSEMBLE; make sure it is exactly at this spot (before # Give path for ...): 
     384{{{ 
     385IGCM_card_WriteOption ${New_SUBMIT_DIR}/config.card Executable OOL ${config_Executable_OOL} 
     386 
     387# Give path for all skeleton SubJob scripts to SPINUP directory 
     388IGCM_card_WriteOption ${New_SUBMIT_DIR}/COMP/spinup.card UserChoices SubJobPath ${Skeleton_Path} 
     389}}} 
     390At the moment I cannot figure out how to set the variable ${config_Executable_OOL} according to the config.card; thus I hardcode the name in Job_ENSEMBLE for the moment: 
     391{{{ 
     392IGCM_card_WriteOption ${New_SUBMIT_DIR}/config.card Executable OOL "(my_orchidee_ol, orchidee_ol)" 
     393}}} 
     394PROBLEM: although my_orchidee_ol is not present in modipsl/bin a orchidee_ol is present in the RUN_DIR. 
     395 
     396=== output for the spinup simulations ===  
    310397In case you want to check if the spinup works well, increase output level of the spinup simulations & prevent libIGCM from removing these files. 
    311398The files can be found in the respective site folders in the experiment folder. 
     
    327414}}} 
    328415You find the files in the folder "JobName"STOI in the IGCM_OUT path for the STOI simulation. Exchange "STOI" with "ORC-1", "FIN" etc for the simulations you want to check. 
    329  
    330 == 1.5 create job == 
    331 {{{ 
    332 ../../../libIGCM/ins_job 
    333 }}} 
    334  
    335 == 1.6 adjust job  == 
    336  
    337 '''on obelix''' 
    338 Change the queue to longp to increase the wallclock time (the default queue mediump is too short for this setting and you will exceed wall clock time). 
    339 '''WARNING:''' In case you have set level_hist=10 (fluxnet.card) you need to take the extra long queue: 
    340 {{{ 
    341 #PBS -q longp 
    342 }}} 
    343  
    344  
    345 If you want to debug on obelix: set the variable RUN_DIR_PATH to disk with enough space (the default path is not accessible for the user) 
    346 {{{ 
    347 # for example on scratch01 
    348 RUN_DIR_PATH=/home/scratch01/dgoll/RUN_DIR 
    349 }}} 
    350 ACHTUNG: On curie, do not set RUN_DIR_PATH in the Job_*. If you do, the configuration will crash. You find the default path to the RUN_DIR_PATH in the section "3.2.8 check simulations". 
    351  
    352  
    353 == 1.7 start simulations == 
    354 {{{ 
    355 ksh 
    356 nohup ./Job_ENSEMBLE fluxnet > out_Job 2>&1 & 
    357 }}} 
    358  
    359 == 1.8 check simulations == 
    360 to see the decomposition of the spatial domain among the processors check in the run dir "Load_balance_orchidee.dat" 
    361 '''on curie''' 
    362 The RUN_DIR is in  
    363 {{{ 
    364 /ccc/scratch/cont003/dsm/<userid>/RUN_DIR 
    365 }}} 
    366  
    367 to check the status of the job; type 
    368 {{{ 
    369 ccc_mstat -u <userid> 
    370 }}} 
    371 to delete a job; type 
    372 {{{ 
    373 ccc_mdel <jobid> 
    374 }}} 
    375 === 1.8.1 what to do when a simulation crash === 
    376 You cannot use clean_month and clean_year. You should remove the sites that crashed from the IGCM_OUT path 
    377 and rerun the same experiment with a fluxnet.card containing only the sites which crashed. 
    378  
    379  
    380 == 1.9 post processing == 
    381 ensure the Jobname and the path to the reference simulation is set in fluxnet.card; in case there is no reference set it to NONE 
    382 {{{ 
    383 # History file of former ORCHIDEE runs (Reference) to compare with the current simulations 
    384 reference_base_path=/home/scratch01/dgoll/IGCM_OUT/OL2/DEVT/ensemble 
    385 reference_config=DSG04EnsCN 
    386 }}} 
    387 start the skript 
    388 {{{ 
    389 ksh 
    390 nohup ./Job_Post_FLUXNET fluxnet > out_Post 2>&1 & 
    391 }}} 
    392 you will find the graphics in the experiment folder in the IGCM_OUT path. There is a pdf in the folder starting with "fluxnet_taylor_diff". 
    393  
    394  
    395 == OPTIONAL FEATURES == 
    396 === specify the name of the exectuable of orchidee === 
    397 If you want to use different version of the orchidee_ol which you store in modipsl/bin you have to do the following: 
    398 add the following line to the [Executable] section in ../SPINUP/config.card 
    399 {{{ 
    400 OOL=(orchidee_ol, orchidee_ol) 
    401 }}} 
    402 add the following line to Job_ENSEMBLE; make sure it is exactly at this spot (before # Give path for ...): 
    403 {{{ 
    404 IGCM_card_WriteOption ${New_SUBMIT_DIR}/config.card Executable OOL ${config_Executable_OOL} 
    405  
    406 # Give path for all skeleton SubJob scripts to SPINUP directory 
    407 IGCM_card_WriteOption ${New_SUBMIT_DIR}/COMP/spinup.card UserChoices SubJobPath ${Skeleton_Path} 
    408 }}} 
    409 At the moment I cannot figure out how to set the variable ${config_Executable_OOL} according to the config.card; thus I hardcode the name in Job_ENSEMBLE for the moment: 
    410 {{{ 
    411 IGCM_card_WriteOption ${New_SUBMIT_DIR}/config.card Executable OOL "(my_orchidee_ol, orchidee_ol)" 
    412 }}} 
    413 PROBLEM: although my_orchidee_ol is not present in modipsl/bin a orchidee_ol is present in the RUN_DIR. 
    414