Comments (4)
I'll be in front of a Machine I can use to troubleshoot this issue tomorrow.
from mam4xx.
Thanks, @odiazib . We'll try to get this working soon. The coverage reporting is mostly for our auto-testing scheme, but it would be helpful to have it work everywhere.
from mam4xx.
Hey @odiazib ,
Here's what I get after make -j
and make tests
on my Mac workstation (macOS 12.6.3, using homebrew as a package manager):
$ make coverage
[100%] Generating coverage report (coverage.info)
Capturing coverage data from .
Found LLVM gcov version 12.0.5, which emulates gcov version 4.2.0
Using intermediate gcov format
Scanning . for .gcda files ...
Found 34 data files in .
Processing tests/CMakeFiles/mode_averages.dir/mode_averages_unit_tests.cpp.gcda
Processing tests/CMakeFiles/mam4_coagulation_unit_tests.dir/mam4_coagulation_unit_tests.cpp.gcda
Processing tests/CMakeFiles/conversions_unit_tests.dir/conversions_unit_tests.cpp.gcda
Processing tests/CMakeFiles/utils_unit_tests.dir/utils_unit_tests.cpp.gcda
Processing tests/CMakeFiles/mam4_gasaerexch_unit_tests.dir/mam4_gasaerexch_unit_tests.cpp.gcda
Processing tests/CMakeFiles/mam4_rename_unit_tests.dir/mam4_rename_unit_tests.cpp.gcda
Processing tests/CMakeFiles/mam4_calcsize_unit_tests.dir/mam4_calcsize_unit_tests.cpp.gcda
Processing tests/CMakeFiles/aero_config_unit_tests.dir/aero_config_unit_tests.cpp.gcda
Processing tests/CMakeFiles/aero_modes_unit_tests.dir/aero_modes_tests.cpp.gcda
Processing tests/CMakeFiles/kohler_unit_tests.dir/kohler_unit_tests.cpp.gcda
Processing tests/CMakeFiles/mam4xx_tests.dir/atmosphere_utils.cpp.gcda
Processing tests/CMakeFiles/mam4xx_tests.dir/kohler_verification.cpp.gcda
Processing tests/CMakeFiles/mam4_nucleation_unit_tests.dir/mam4_nucleation_unit_tests.cpp.gcda
Processing tests/CMakeFiles/mam4_aging_unit_tests.dir/mam4_aging_unit_tests.cpp.gcda
Processing mam4xx/CMakeFiles/mam4xx.dir/aero_modes.cpp.gcda
Processing validation/CMakeFiles/validation.dir/validation.cpp.gcda
Processing validation/gasaerexch/CMakeFiles/exe_skywkr_gasaerexch_timestepping.dir/skywkr_gasaerexch_timestepping.cpp.gcda
Processing validation/gasaerexch/CMakeFiles/gasaerexch_driver.dir/gasaerexch_driver.cpp.gcda
Processing validation/gasaerexch/CMakeFiles/gasaerexch_driver.dir/gasaerexch_uptkrates_1box1gas.cpp.gcda
Processing validation/nucleation/CMakeFiles/nucleation_driver.dir/newnuc_cluster_growth.cpp.gcda
Processing validation/nucleation/CMakeFiles/nucleation_driver.dir/mer07_veh02_wang08_nuc_1box.cpp.gcda
Processing validation/nucleation/CMakeFiles/nucleation_driver.dir/nucleation_driver.cpp.gcda
Processing validation/rename/CMakeFiles/rename_driver.dir/find_renaming_pairs.cpp.gcda
Processing validation/rename/CMakeFiles/rename_driver.dir/compute_dryvol_change_in_src_mode.cpp.gcda
Processing validation/rename/CMakeFiles/rename_driver.dir/rename_driver.cpp.gcda
Processing validation/rename/CMakeFiles/rename_driver.dir/mam_rename_1subarea.cpp.gcda
Processing validation/calcsize/CMakeFiles/calcsize_driver.dir/aitken_accum_exchange.cpp.gcda
Processing validation/calcsize/CMakeFiles/calcsize_driver.dir/compute_tendencies.cpp.gcda
Processing validation/calcsize/CMakeFiles/calcsize_driver.dir/calcsize_driver.cpp.gcda
Processing validation/calcsize/CMakeFiles/calcsize_driver.dir/compute_dry_volume.cpp.gcda
Processing validation/calcsize/CMakeFiles/calcsize_driver.dir/adjust_num_sizes.cpp.gcda
Processing validation/aging/CMakeFiles/aging_driver.dir/aging_driver.cpp.gcda
Processing validation/aging/CMakeFiles/aging_driver.dir/mam_pcarbon_aging_frac.cpp.gcda
Processing validation/aging/CMakeFiles/aging_driver.dir/mam_pcarbon_aging_1subarea.cpp.gcda
Finished .info-file creation
Reading tracefile unfiltered_coverage.info
Deleted 0 files
Writing data to coverage.info
Summary coverage rate:
lines......: 64.1% (8158 of 12731 lines)
functions..: 40.1% (4148 of 10339 functions)
branches...: no data found
[100%] Built target coverage
It's strange that the coverage numbers differ from what is reported by CodeCov, but the report is successfully generated. Maybe we can try to understand what's going on with your Mac.
from mam4xx.
Coverage is also working for @mjs271 on macs; using LCOV installed by Homebrew. Therefore, I am closing this issue.
from mam4xx.
Related Issues (20)
- Working notes: EAMxx aerosol microphysics AtmosphereProcess HOT 2
- Reconcile Units With Calculations in gas_chem.hpp HOT 3
- Error Handling and Logging within Kernels HOT 3
- Scalable File I/O capability for emissions, etc HOT 2
- Missing file and compilation error in EAMxx HOT 1
- Inter-level dependencies of note
- inv_density matrix in calcsize.
- Deception CI double precision GPU build failing HOT 10
- `validate_aer_rad_props_lw_ts_355` test failing on GPU HOT 7
- Make mam4xx buildable within a subdirectory of a host project HOT 1
- Potential Race Condition
- MAM4xx sycl errors in relative_humidity_from_vapor_mixing_ratio
- MAM4xx warnings in emaxx
- Using .data() in source code.
- Update the `WetDeposition::compute_tendencies` routine
- Repeated use of model index while fetching mixing ratios.
- Validation Still Required for 2 `mo_drydep` Functions
- Building MAM4xx and Haero without openmp flag.
- Finish remaining validation tests for `aero_model_emissions`
- Create unit tests for `aero_model_emissions`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mam4xx.