Repository navigation
Conversation
Fix EDGAR and CEDS download links so that gets down. No mention is made of where to get hourly.nc. None of the later examples have a driver section.
Let's see how far this gets.
so Kokkos gets initialized.
cece_config_ex1 is currently cece_config_ex7. Revert to previous state so it exists as advertised.
| build/bin/cece_nuopc_app | ||
|
|
||
| # TODO: Revert cece_config_ex1 to pre-cece_config_ex7 state | ||
| for i in $(seq 2 6); |
There was a problem hiding this comment.
| for i in $(seq 2 6); | |
| for i in $(seq 1 6); |
Fix mistaken change from five commits back: the last section runs generated examples, not the committed examples.
Still need to see about getting docker on CI: if not possible, example scripts will need to be changed to run on CI or RDHPCS
EMEP.2000.co.nc isn't on the HEMCO download page
|
Example one reads files not downloaded by the corresponding script, and will continue to do so until #184 goes in. It is nearly a copy of example seven. Example two is failing due to missing EMEP CO files as noted in #121 Example three passed once it had relative paths to work with Example four fails with this error:
which looks like an error from #124 here. I have no idea how they resolved that error. |
| extern "C" { | ||
| void cece_core_initialize_p1(void** data_ptr_ptr, int* rc); | ||
| } | ||
|
|
There was a problem hiding this comment.
| extern "C" { | |
| void cece_core_initialize_p1(void** data_ptr_ptr, int* rc); | |
| } |
| set_out(rc, -1); | ||
| return; | ||
| } | ||
| // TODO: Work out how to call GridSpecFfrom_yaml with output from this function |
There was a problem hiding this comment.
| // TODO: Work out how to call GridSpecFfrom_yaml with output from this function | |
| // TODO: Work out how to call GridSpec::from_yaml with output from this function |
| #include "cece/cece_config.hpp" | ||
| #include "cece/cece_fatal.hpp" | ||
| #include "cece/cece_simulation.hpp" | ||
|
|
There was a problem hiding this comment.
| #include "cece/cece_internal.hpp" | |
| // TODO: Work out how to call GridSpecFfrom_yaml with output from this function | ||
| cece_core_initialize_p1(nullptr, rc); | ||
| // cece::CeceConfig config = cece::ParseConfig(config_path); |
There was a problem hiding this comment.
| // TODO: Work out how to call GridSpecFfrom_yaml with output from this function | |
| cece_core_initialize_p1(nullptr, rc); | |
| // cece::CeceConfig config = cece::ParseConfig(config_path); | |
| // TODO: Work out how to call GridSpecFfrom_yaml with output from this function | |
| cece::CeceInternal *cece_internal; | |
| cece_core_initialize_p1(reinterpret_cast<void**>(&cece_internal), &rc); | |
| // cece::CeceConfig config = cece_internal->config; |
in favor of the ones in scripts/data_download
|
So the fix was adding |
|
The checked-in examples are passing now: on to the generated ones |
Also skip generated example 2 due to lack of HEMCO EMEP data.
rc is an int*, not an int
|
Five NUOPC examples run fine, then the NUOPC driver attempting generated example number three crashes with only one line of output. |
Fix EDGAR and CEDS download links so that gets downloaded.
No mention is made of where to get hourly.nc.
None of the later examples have a driver section.
Addresses #147, #121, partial for #62.