llnl / llnl/blt

-pthread shows up in BLT_CUDA_LIBRARIES and BLT_CUDA_RUNTIME_LIBRARIES

Open
#344 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
296
Forks
66
Avg merge
1h 3m
Merged PRs (30d)
1

Description

When reconfiguring a GEOSX build with CUDA using older versions of CMake (3.9 and 3.12 was tested), BLT_CUDA_LIBRARIES and BLT_CUDA_RUNTIME_LIBRARIES had their `-lpthread` flag change to
`-pthread`.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce a GEOSX CUDA reconfiguration with CMake 3.9 or 3.12 and inspect how BLT_CUDA_LIBRARIES and BLT_CUDA_RUNTIME_LIBRARIES are populated. Trace the handling of the pthread linker flag; done means the variables retain the expected -lpthread form instead of changing to -pthread.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.