-
Notifications
You must be signed in to change notification settings - Fork 832
Adding MPI parallelization to CFBM #2315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1b97e6a
Pass MPI communicator to CFBM
pedro-jm 3b797b6
Broadcast the CFBM namelist if MPI parallelization
pedro-jm d0f6153
CFBM parellelized with MPI
pedro-jm e63ef6c
Updating CFBM hash to point to the MPI parallelization commit
pedro-jm d27bd31
Only calls fire initializaiton in CFBM once
pedro-jm a3b132c
Check to ensure CFBM is active in just one domain
pedro-jm f1dcff7
Add halo exchange of tracers after CFBM advance if smoke tracer is ac…
pedro-jm d67523e
Adding README.cfbm
pedro-jm 9015e47
Adding an example of the CFBM namelist in README.cfbm
pedro-jm 00ffdd5
Fixing units in the documentation
pedro-jm a74a251
Adding wind vertical interpolation options for CFBM
pedro-jm 50c77d9
Adding horizontal interpolation options for CFBM
pedro-jm ce89e92
Stop if map projection is not Lambert-Conformal and CFBM is on
pedro-jm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
|
|
||
| WRF should be compiled with CMake in order to use the Community Fire Behavior model: | ||
| git clone --recurse-submodules https://github.com/wrf-model/WRF | ||
| ./configure_new -- -DENABLE_CFBM=ON | ||
| ./compile_new | ||
|
|
||
| To activate the model you need to set ifire = 1 in the fire block of the WRF namelist. | ||
| This instructs WRF to read the CFBM namelist: namelist.cfbm | ||
|
|
||
| In a given WRF simulation, CFBM can only be activated in one domain. | ||
|
|
||
| It only works with Lambert-Conformal projections at this time. | ||
|
|
||
| This is an example of the namelist.cfbm: | ||
|
|
||
| &time | ||
| dt = 2 ! WRF time step [s] for the nest CFBM is active | ||
| interval_output = 2 ! Frequency [s] saving fire output | ||
| / | ||
|
|
||
| &atm | ||
| / | ||
|
|
||
| &fire | ||
| fire_num_ignitions = 1, | ||
| fire_ignition_ros1 = 1.2, | ||
| fire_ignition_start_lat1 = 39.68, | ||
| fire_ignition_start_lon1 = -103.58, | ||
| fire_ignition_end_lat1 = 39.68, | ||
| fire_ignition_end_lon1 = -103.58, | ||
| fire_ignition_radius1 = 2000.0, | ||
| fire_ignition_start_time1 = 6.0, | ||
| fire_ignition_end_time1 = 60.0, | ||
| / | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule fire_behavior
updated
24 files
| +3 −0 | CMakeLists.txt | |
| +39 −5 | driver/fire_behavior.F90 | |
| +73 −12 | driver/initialize_mod.F90 | |
| +118 −0 | io/coupling_mod.F90 | |
| +22 −0 | io/geogrid_mod.F90 | |
| +469 −157 | io/namelist_mod.F90 | |
| +47 −1 | io/netcdf_mod.F90 | |
| +6 −806 | io/wrf_mod.F90 | |
| +765 −0 | io/wrfdata_mod.F90 | |
| +294 −77 | nuopc/fire_behavior_nuopc.F90 | |
| +303 −68 | nuopc/wrf_nuopc.F90 | |
| +69 −51 | physics/fire_driver_mod.F90 | |
| +33 −23 | physics/fire_model_mod.F90 | |
| +1,014 −73 | physics/level_set_mod.F90 | |
| +1 −9 | physics/ros_wrffire_mod.F90 | |
| +79 −1 | share/emis_mod.F90 | |
| +72 −1 | share/interp_mod.F90 | |
| +722 −0 | share/mpi_mod.F90 | |
| +368 −207 | state/state_mod.F90 | |
| +12 −4 | tests/test7.s | |
| +3 −0 | tests/test7/namelist.fire | |
| +10 −8 | tests/test8.s | |
| +3 −0 | tests/test8/namelist.fire | |
| +3 −0 | tests/testx/namelist.fire |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.