Skip to content

Conversation

HouseJaay
Copy link
Contributor

Update surfdisp96:

  1. exit when computation failed
  2. choose step size based on minimum vs

Update CI:
Using conda to configure enviroment

@HouseJaay HouseJaay requested a review from xumi1993 August 1, 2025 08:40
@xumi1993 xumi1993 requested a review from Copilot August 2, 2025 01:39
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the surfdisp96 surface wave dispersion calculation with improved error handling and adaptive step sizing, and modernizes the CI configuration to use conda.

Key changes:

  • Enhanced surfdisp96 with adaptive step size selection based on minimum velocity values and proper error handling
  • Added MPI rank-aware logging to reduce redundant output in parallel execution
  • Updated CI configuration from apt-based dependencies to conda environment management

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

File Description
src/surfker/surfdisp96.f Implements adaptive step size selection and adds error handling with program termination
src/tomo.f90 Adds MPI rank checks to prevent duplicate logging messages in parallel execution
.github/workflows/build.yml Replaces apt package installation with conda environment setup for better dependency management
examples/**/input_params.yml Updates comments to clarify coordinate units (longitude/latitude in degrees, depth in km)

Repository owner deleted a comment from Copilot AI Aug 2, 2025
@xumi1993 xumi1993 changed the base branch from main to devel August 2, 2025 02:20
@xumi1993 xumi1993 merged commit d1a02a7 into devel Aug 2, 2025
2 checks passed
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