Hi Alin, I will add a feature request for this. Until then my work around seems to do the job.
Cheers, Kyle -----Original Message----- From: Alin M Elena [mailto:[email protected]] Sent: Wednesday, March 25, 2009 2:44 AM To: Benne, Kyle Cc: [email protected] Subject: Re: [CMake] ifort link with -static-inte Hi Kyle, -static-intel would force tor to static link the intel provided libs. is clear that you have a silly combination of options. On one hand you ask to static link the libs on the other hand the shared libs flags are on. As a note for the the intel modules files developers -i_dynamic is deprecated as version 1 of the intel compilers. There is a subtle design point for the intel compilers and for other compilers too. they offer usually two levels of linking at shared/static level. One is related to the "standard" compiler libraries and the other with the user specified libs. Running on clusters, a user may want to static link the first and shared the second. At the moment, as far as I know, cmake does not offer a straightforward way of achieving that. Alin -- ______________________________________________________________________ "If the Universities will not study useless subjects, who will?" G. F. FitzGerald, Nature, 45/46, 392 (1892) ______________________________________________________________________ Mr Alin M ELENA Irish Centre for High-End Computing -- www.ichec.ie The Design Tower, Trinity Technology & Enterprise Campus Grand Canal Quay, Dublin 2, Ireland Tel: +353 (0) 1 5241608 ext 29 Fax: +353 (0) 1 7645845 http://alin.elenaworld.net [email protected] [email protected] ______________________________________________________________________ _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
