[aspect-devel] Error in moving temporary files during output
Rene Gassmoeller
rengas at gfz-potsdam.de
Fri Jan 17 04:54:26 PST 2014
Ok, added a subsection to the manual in rev 2272. In fact the patch was
not even necessary, if everything else is set up correct, there is no
need to change ASPECT configuration at all now. I will send around the
scaling results in a separate thread, since I got a few questions there
as well.
Cheers,
Rene
On 01/16/2014 05:55 PM, Wolfgang Bangerth wrote:
> On 01/16/2014 09:23 AM, Rene Gassmoeller wrote:
>> Yes, that's it. Problem solved. Now the static linking goes smoothly (as
>> long as deal.II, trilinos and p4est have been properly set up). The only
>> thing needed to build Aspect statically now, is to add a "-static" Flag
>> to CMAKE_EXE_LINKER_FLAGS. If nobody objects I will add a small
>> subsection to the Installation part of the Manual explaining the static
>> build (it just means changing a few flags, but to find the right places
>> takes some time for a typical user like me).
>
> I think a patch like the one below should have the desired effect with
> -static. Can you see whether that works? If yes, feel free to check in.
>
> Other than that, yes, any help with the manual is greatly appreciated!
>
> Cheers
> W.
>
>
> Index: CMakeLists.txt
> ===================================================================
> --- CMakeLists.txt (revision 2270)
> +++ CMakeLists.txt (working copy)
> @@ -60,6 +60,8 @@
> SET_PROPERTY(SOURCE ${_source_file}
> APPEND PROPERTY COMPILE_DEFINITIONS ASPECT_USE_SHARED_LIBS=0)
> ENDFOREACH()
> + SET_PROPERTY(TARGET aspect
> + APPEND PROPERTY LINK_FLAGS "-static")
> ELSE()
> MESSAGE(STATUS "Enabling dynamic loading of plugins from the input
> file")
> FOREACH(_source_file ${TARGET_SRC})
>
>
More information about the Aspect-devel
mailing list