<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi guys,<br><br>Good news -- the system admins are installing 2.8.4 on all the government Cray machines!<br><br>Bad news -- I can't actually get anything to work. I pulled the git repo version and built the master branch because of what David pointed out. However, I cannot figure out how to make it actually link. I get errors on all my executables saying <br><br>ftn-2191 crayftn: ERROR in command line <br> "ynamic" is an invalid argument to the "-r" option.<br><br>How can I get it to drop the -rdynamic option?<br><br>Tim<br><hr id="zwchr"><b>From: </b>"David Partyka" <david.partyka@kitware.com><br><b>To: </b>"Eric Noulard" <eric.noulard@gmail.com><br><b>Cc: </b>gtg085x@mail.gatech.edu, cmake@cmake.org<br><b>Sent: </b>Saturday, March 5, 2011 12:03:40 PM<br><b>Subject: </b>Re: [CMake] Cmake with Cray Fortran<br><br>FYI, if you want to build static on cray, Brad just checked in a fix into CMake yesterday that addresses -Bdynamic link flags showing up in the link line even though you're trying to build static, often resulting in your executable prefering to link against shared system libraries rather than static. This was causing issues linking static while building ParaView on Jaguar.<div>
<br><div><a href="http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5abfb571843dba949e010f3b2840d8882d0f3d73" target="_blank">http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5abfb571843dba949e010f3b2840d8882d0f3d73</a><br><br><div class="gmail_quote">
On Sat, Mar 5, 2011 at 11:21 AM, Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com" target="_blank">eric.noulard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">2011/3/5 Tim Gallagher <<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>>:<br>
</div><div class="im">> Eric,<br>
><br>
> Excellent! Thanks!<br>
><br>
> I don't know a whole lot about CMake (yet) -- would it be possible to make older versions aware of the compiler if I were to package only the updated files rather than install my own version of CMake? In other words, was it something simple like changing the CMakeFortranCompilerId.F file and if so, could I tell another version of CMake to use my own copy of that file?<br>
<br>
</div>I don't know I am not the author of the fix,<br>
I think Brad King was the one who did this, may be he will answer that.<br>
<div class="im"><br>
> It would be a lot easier if I only had to make our users put a few extra files somewhere than have them all install their own version of CMake in their home directories on all these Cray machines.<br>
<br>
</div>May be deploying CMake 2.8.4 globally on each machine and set up appropriate<br>
module would even be easier for the users?<br>
<br>
Or may be this is not an option because you don'thave administrative<br>
privilege on those machines?<br>
<div><div></div><div class="h5"><br>
<br>
--<br>
Erk<br>
Membre de l'April - « promouvoir et défendre le logiciel libre » -<br>
<a href="http://www.april.org" target="_blank">http://www.april.org</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div></div>
</div></body></html>