wiki:WRF4GFAQ

Version 5 (modified by carlos, 10 years ago) (diff)

--

FAQ

Through this page we will try to answer the most common questions about WRF4G.

What you should do if you see the errors below

  • If you execute wrf4g_submit and see this error. You probably has GridWay in Stopped status:
    [user@mycomputer~]$ wrf4g_submit -e test
    connect(): Connection refused
    FAILED: failed connection to gwd 
    

In order to solve the problem, you have to first check out the wrf4g_framework status.

[user@mycomputer~]$ wrf4g_framework status
GridWay Stopped
MySQL Stopped

The,n you have to execute:

[user@mycomputer~]$ wrf4g_framework start
Starting GridWay.......  OK
Starting MySQL.......  OK
  • You want to modify the features of your experiment that you created it before. The new experiment will have the same name and different features that the old experiment.
    [user@mycomputer~]$ wrf4g_prepare
    Warning: You are using resources.wrf4g located in the /home/user/WRF4G/etc/ directory.
    Preparing namelist...
    WRFV3/run/namelist.input
    WRF Check Warning: CAM radiation selected but paerlev/levsiz/cam_abs_dim1/cam_abs_dim2 was not set. Fixing...
    WRF Check Warning: radt is shorter than dx (0.500000)
    
    ---> Single params run
    ---> Continuous run
            ---> cycle_chunks: test 2011-08-28_12:00:00 2011-09-01_00:00:00
                    ---> chunks 1: test 2011-08-28_12:00:00 2011-08-29_00:00:00
                    ---> chunks 2: test 2011-08-29_00:00:00 2011-08-29_12:00:00
                    ---> chunks 3: test 2011-08-29_12:00:00 2011-08-30_00:00:00
    
    [user@mycomputer~]$ wrf4g_prepare 
    Warning: You are using resources.wrf4g located in the /home/carlos/WRF4G/etc/ directory.
    Experiment already exists
    

You need to execute wrf4g_prepare --reconfigure.

[user@mycomputer~]$ cat experiment.wrf4g | grep "end_date="\"
end_date="2011-08-30_00:00:00"

[user@mycomputer~]$ cat experiment.wrf4g | grep "end_date="\"
end_date="2011-09-01_00:00:00"

[user@mycomputer~]$ wrf4g_prepare --reconfigure
Warning: You are using resources.wrf4g located in the /home/carlos/WRF4G/etc/ directory.
Preparing namelist...
WRFV3/run/namelist.input
WRF Check Warning: CAM radiation selected but paerlev/levsiz/cam_abs_dim1/cam_abs_dim2 was not set. Fixing...
WRF Check Warning: radt is shorter than dx (0.500000)

---> Single params run
---> Continuous run
        ---> cycle_chunks: test 2011-08-28_12:00:00 2011-09-01_00:00:00
                ---> chunks 1: test 2011-08-28_12:00:00 2011-08-29_00:00:00
                ---> chunks 2: test 2011-08-29_00:00:00 2011-08-29_12:00:00
                ---> chunks 3: test 2011-08-29_12:00:00 2011-08-30_00:00:00
                ---> chunks 4: test 2011-08-30_00:00:00 2011-08-30_12:00:00
                ---> chunks 5: test 2011-08-30_12:00:00 2011-08-31_00:00:00
                ---> chunks 6: test 2011-08-31_00:00:00 2011-08-31_12:00:00
                ---> chunks 7: test 2011-08-31_12:00:00 2011-09-01_00:00:00

  • The experiment test1 has finished with an error and you want to run the experiment again. What should you execute on shell?
    [user@mycomputer~]$ wrf4g_submit --rerun -f -e test1
    Submitting realization: "test1"
            Submitting Chunk 1:     2011-08-28_12:00:00     2011-08-29_00:00:00
            Submitting Chunk 2:     2011-08-29_00:00:00     2011-08-29_12:00:00
            Submitting Chunk 3:     2011-08-29_12:00:00     2011-08-30_00:00:00
    
  • Imagine, you want to resubmit the chunk number 1 of the realization test2. In this case, it is highly recommended that you use the option --dry-run of wrf4g_submit command before you submit your chunk. If you want to make sure you are submitting that chunk.
    [user@mycomputer~]$ wrf4g_submit --dry-run --rerun -c 1 -f -r test2
    Submitting realization: "test2"
            Submitting Chunk 1:     2011-08-28_12:00:00     2011-08-29_00:00:00
    
    [user@mycomputer~]$ wrf4g_submit --rerun -c 1 -f -r test2
    Submitting realization: "test2"
            Submitting Chunk 1:     2011-08-28_12:00:00     2011-08-29_00:00:00