Skip to content
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

Closes #239 Adding diffs to tests #315

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

elbashandy
Copy link
Contributor

test diff has beed added to all mentioned alg tests. cf_reader cxx & python tests are failing (cam5 test in cxx)

test diff has beed added to all mentioned alg tests. cf_reader cxx & python tests were failing with cam5 as it was diffing one of 2 time step overwritten outputs with one of the time step inputs
Copy link
Collaborator

@burlen burlen left a comment

Choose a reason for hiding this comment

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

the comment in PR says that two tests are failing, if this is the case then these should be fixed prior to merge. please update the comment when all tests pass.

@@ -395,6 +395,8 @@ const_p_teca_dataset teca_cartesian_mesh_writer::execute(
= std::dynamic_pointer_cast<const teca_cartesian_mesh>(
input_data[0]);

std::cerr << "teca_cartesian_mesh_writer::execute -- mesh: " << mesh << std::endl;

Copy link
Collaborator

Choose a reason for hiding this comment

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

please remove any debug code such as this cerr output

wri.set_file_name(out_file)
wri.set_executive(exe)

wri.update()
Copy link
Collaborator

Choose a reason for hiding this comment

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

fix no new line. note the red icon at the end of the above line.

teca_system_interface::set_stack_trace_on_error();

if (argc < 7)
if (argc < 5)
Copy link
Collaborator

Choose a reason for hiding this comment

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

this looks wrong to me. the argument parsing code below will crash if argc < 7. at least one array is expected

@burlen
Copy link
Collaborator

burlen commented Jun 26, 2020

also for please add serial, mpi, threads and mpi_threads for parallel applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants