Skip to content

Working with C++ input for WarpX #5062

Answered by ax3l
msaadeh0 asked this question in Installation
Discussion options

You must be logged in to vote

Hi @msaadeh0,

While you can already use the library ABLASTR inside WarpX to build your own PIC code, e.g., see ImpactX logic for this, WarpX does not yet fully support this. We are working on a C++ library install of WarpX in #5008 .

In the meantime, you could simply add_subdirectory() to the WarpX source directory and skip the find_package. This is called a "superbuild" and will do the same as you are trying to do with the snippet above, but without having WarpX pre-installed as binaries (instead, it will build it on the fly).

But more generally, which specific use case are you after? Maybe we can guide you to do something different or contribute to WarpX mainline. Or maybe, you can simp…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@msaadeh0
Comment options

Answer selected by ax3l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants