[petsc-users] CMake and PETSc

Hom Nath Gharti hng.email at gmail.com
Tue Mar 28 12:42:06 CDT 2017


Thanks Jed.

I currently fix this problem defining the PETSc path as the
environment variable. I will try to use find_pacakge later.

Hom

On Mon, Mar 27, 2017 at 11:02 PM, Jed Brown <jed at jedbrown.org> wrote:
> Hom Nath Gharti <hng.email at gmail.com> writes:
>
>> Thanks, Jed! I will try. I see that FindPETSc.cmake has following lines:
>>
>> set(PETSC_VALID_COMPONENTS
>> C
>> CXX)
>>
>> Should we add FC or similar?
>
> You could, but then you'd have to also add test code for that language
> binding.  (All this does is a test for whether the library works when
> called from that language.)


More information about the petsc-users mailing list