Skip to content

Make serial, smpar and dm+sm builds of WRF work and pass tests.#1646

Merged
wpoely86 merged 4 commits intoeasybuilders:developfrom
akesandgren:fix_wrf_serial_build
Mar 13, 2019
Merged

Make serial, smpar and dm+sm builds of WRF work and pass tests.#1646
wpoely86 merged 4 commits intoeasybuilders:developfrom
akesandgren:fix_wrf_serial_build

Conversation

@akesandgren
Copy link
Copy Markdown
Contributor

run_test only checks rsl.error.0000 which isn't created for a serial run.

run_test only checks rsl.error.0000 which isn't created for a serial run.
@akesandgren akesandgren added this to the 3.x milestone Mar 3, 2019
parallel_build_types implies MPI.
@akesandgren akesandgren changed the title Make serial build of wrf pass tests. Make serial and smpar builds of wrf pass tests. Mar 3, 2019
@boegel boegel changed the title Make serial and smpar builds of wrf pass tests. Make serial and smpar builds of WRF pass tests. Mar 3, 2019
# fetch selected build type (and make sure it makes sense)
known_build_types = ['serial', 'smpar', 'dmpar', 'dm+sm']
self.parallel_build_types = ["dmpar", "smpar", "dm+sm"]
self.parallel_build_types = ["dmpar", "dm+sm"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akesandgren This doesn't look OK to me... smpar is a parallel build type, isn't it?

Copy link
Copy Markdown
Contributor Author

@akesandgren akesandgren Mar 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the parallel build type only applies to MPI builds, basically it's used to decide which tests to run and if mpirun is to be used. It's not used for building stuff. So a more correct name would have been mpi_build_types.

"bt" is used in a regexp to find correct answer to build option.
Comment thread easybuild/easyblocks/w/wrf.py Outdated
@akesandgren akesandgren changed the title Make serial and smpar builds of WRF pass tests. Make serial, smpar and dm+sm builds of WRF work pass tests. Mar 3, 2019
@boegel boegel modified the milestones: 3.x, next release (3.8.2) Mar 3, 2019
@akesandgren akesandgren changed the title Make serial, smpar and dm+sm builds of WRF work pass tests. Make serial, smpar and dm+sm builds of WRF work and pass tests. Mar 4, 2019
@wpoely86 wpoely86 merged commit 9d0ebbe into easybuilders:develop Mar 13, 2019
@akesandgren akesandgren deleted the fix_wrf_serial_build branch March 13, 2019 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants