John,
I tried your suggestion and added #include "parallel_algebra.h" and it
didn't work. I forgot to mention that the problem isn't directly through
parallel.h. It was in the

file included from /opt/libmesh-1.0.0-rc1/include/libmesh/libmesh.h:28:0,

                from HPeigenproblems_PZ_8_2_16_2.C:2:
/usr/local/include/libmesh/parallel.h:328:37: error:"
Does this make a difference?

Inquisitively,
Harry Pearce


On Wed, Aug 3, 2016 at 11:27 AM, John Peterson <jwpeter...@gmail.com> wrote:

>
>
> On Wed, Aug 3, 2016 at 12:22 PM, Harry Pearce <harroontheg...@gmail.com>
> wrote:
>
>> Hello libmesh users!,
>> I am trying to compile a modified example Libmesh code as testing for part
>> of the installation of a larger software package and I get errors that are
>> mainly within my header files. One of the errors I get (I'm using the gnu
>> compiler) is:
>>
>> /usr/local/include/libmesh/parallel.h:328:37: error:
>> ‘libMesh::Parallel::dependent_false<T>::value’ is not a type
>>    static_assert(dependent_false<T>::value,
>>                                      ^
>> /usr/local/include/libmesh/parallel.h:329:17: error: expected identifier
>> before string constant
>>                  "Only specializations of StandardType may be used, did
>> you
>> forget to include a header file (e.g. parallel_algebra.h)?");
>>
>>
>> I have similar problems with other header files in libmesh but I wanted to
>> ask about this first since I might be able to fix the problem with using
>> the header files in the same way the problem with parallel.h is fixed.
>>
>
> Did you try the suggestion, i.e. #including "parallel_algebra.h" in your
> app?
>
> --
> John
>
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to