Skip to content

Programs that do not routinely get built because they are not included in any quickbuild.sh #1068

@hkershaw-brown

Description

@hkershaw-brown

Programs not captured by run_all_quickbuilds because they are not in quickbuild.sh
so not routinely checking if these compile.

Not found in a quickbuild.sh:
 obs_info: no
 create_obs_grid: no
 compare_states: no
 gen_sampling_err_table: no
 system_simulation: no
 compute_error: no
 obs_assim_count: no
 obs_timejitter: no
 obs_loop: no
 obs_data_denial: no
 obs_remove_dups: no
 obs_sort: no
 obs_total_error: no
 obs_keep_a_few: no
[hkershaw:issues]() > cat search_for_progs_all.sh 
#!/bin/bash

dart=issue_1056

# Find prog directories
prog_dirs=""
for path in $(find $dart/assimilation_code/programs -mindepth 1 -maxdepth 1 -type d); do
    prog_dirs="$prog_dirs ${path##*/}"
done

prog_dirs="$prog_dirs streamflow_obs_diag"

# For each obs_dir, check if any quickbuild.sh contains it
yes_list=""
no_list=""
for dir in $prog_dirs; do
    if find $dart -type f -name 'quickbuild.sh' | xargs ripgrep -q "$dir"; then
        yes_list="$yes_list $dir"
    else
        no_list="$no_list $dir"
    fi
done

echo "Found in a quickbuild.sh:"
for dir in $yes_list; do
    echo " $dir: yes"
done

echo "Not found in a quickbuild.sh:"
for dir in $no_list; do
    echo " $dir: no"
done

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions