Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@balos1
Copy link
Member

@balos1 balos1 commented Dec 19, 2025

Addresses #806. This header isnt used.

Copy link
Collaborator

@drreynolds drreynolds left a comment

Choose a reason for hiding this comment

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

I'm assuming everything in the CI passes

@balos1 balos1 marked this pull request as ready for review December 19, 2025 19:01
#include <mpi.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
Copy link
Member

Choose a reason for hiding this comment

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

This header is also included in:

  • benchmarks/nvector/test_nvector_performance.c
  • cmake/tpl/SundialsPOSIXTimers.cmake
  • src/sundials/sundials_profiler_impl.h
  • src/sundials/sundials_mpi_errors.c
  • test/unit_tests/sunlinsol/test_sunlinsol.c
  • test/unit_tests/sunmatrix/test_sunmatrix.c
  • test/unit_tests/sundomeigest/test_sundomeigest.c
  • test/unit_tests/nvector/test_nvector.c

We should update the windows tests to enable the units tests, benchmarks, and profiling (maybe MPI too if that's easy).

Copy link
Member Author

Choose a reason for hiding this comment

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

In all of those other places, it is properly guarded with SUNDIALS_HAVE_POSIX_TIMERS.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, thanks for checking. Looking that the Windows testing configs we don't have an MPI test so that how this slipped through the CI, should add that as a to do item for a future PR.

@gardner48 gardner48 merged commit 4c69535 into develop Dec 19, 2025
49 checks passed
@gardner48 gardner48 deleted the bugfix/unistd-windows branch December 19, 2025 19:24
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.

4 participants