Skip to content

Adding the FFTW library to PeleC #548

Answered by hsitaram
RSuryaNarayan asked this question in Q&A
Discussion options

You must be logged in to vote

To couple any other software with pelec, you could add the location of headers and shared libraries in the GNUMakefile.

add
INCLUDE_LOCATIONS += path-to-headers
LIBRARIES += -Lpath-to-lib -l(fftw-i-think)
LIBRARIES += -Wl,-rpath=path-to-lib

alternatively, do look at this in amrex tutorials where SWFFT is used - https://github.com/AMReX-Codes/amrex-tutorials/blob/eefdf928d74bf9eb6dfd931ca75e1af3a84f0e11/ExampleCodes/SWFFT/SWFFT_poisson/GNUmakefile#L17

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by RSuryaNarayan
Comment options

You must be logged in to vote
2 replies
@hsitaram
Comment options

@RSuryaNarayan
Comment options

Comment options

You must be logged in to vote
2 replies
@RSuryaNarayan
Comment options

@RSuryaNarayan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants