[Users] build errors related to util_Table.h and selfwritten thorns

Erik Schnetter schnetter at cct.lsu.edu
Fri Sep 28 11:22:02 CDT 2012


Vassili

There should be no file util_Table.h in /configs/config_name/bindings/include.

Do you maybe have a line "uses include header util_Table.h" in your
interface.ccl? If so, you need to remove this line (and maybe
explicitly delete the file util_Table.h in
/configs/config_name/bindings/include. This include file is provided
by the flesh, not by a thorn, and does not need to be explicitly
declared.

-erik

On Fri, Sep 28, 2012 at 11:56 AM, Vassilios Mewes <vassilios.mewes at uv.es> wrote:
> Hello,
>
> i have a problem building the Einstein toolkit (release 2012_05, but the
> same happened in the 2011_10 version as well)..
>
> when i include my own thorns in the .th file to build a configuration, and
> change the schedule files of the thorns, the file util_Table.h in
>
> /configs/config_name/bindings/include is overwritten and being blank, thus
> leading to compile errors of the type:
>
> build/Boundary/Boundary.c(226): error: identifier
> "UTIL_TABLE_FLAGS_CASE_INSENSITIVE" is undefined
>       physbc_table_handle =
> Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE)
>
> now, this is annoying, but on my iMac i can then at least use the GUI of the
> finder to manually copy the file from Cactus/src/include and the compilation
> proceeds normally..when i however use the command line to copy the file, the
> compilation starts all over again and recompiles all files...
>
> so on the local cluster i am installing the toolkit on, i have to recompile
> the entire toolkit everytime i change my thorns, which a huge pain..
>
> i am using the einsteintoolkit.th thornlist that came with the source code
> and just added the lines with my thorns in the end, is that the correct way
> to do it?
>
> this has been bugging my for quite a while now, but as the copying via
> finder semi-solved the problem, i haven't issued a ticket so far..but on the
> cluster this is not doable..
>
> best wishes,
>
> Vassili
>
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
>



-- 
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/


More information about the Users mailing list