<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span></span></div><div><br></div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Thomas Jahns &lt;jahns@dkrz.de&gt;<br><b><span style="font-weight: bold;">To:</span></b> mpich-discuss@mcs.anl.gov<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 7, 2011 10:26 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [mpich-discuss] Compiling shared libraries with Fortran 77 compiler and unexpected option<br></font><br>On 09/07/2011 04:54 PM, Dave Goodell wrote:<br>&gt; On Sep 7, 2011, at 9:38 AM CDT, Dave Goodell wrote:<br>&gt; <br>&gt;&gt; On Sep 7, 2011, at 8:24 AM
 CDT, Thomas Jahns wrote:<br>&gt;&gt;<br>&gt;&gt;&gt; there is one other problem still: MPICH2LIB_LDFLAGS do still end up in the<br>&gt;&gt;&gt; wrapper, despite documentation indicating otherwise. This is the result of setting<br>&gt;&gt;<br>&gt;&gt; Hmm... this is a tricky area of the configure.&nbsp; There is a tension between wanting to discover some needed libraries and/or library search paths automatically in configure (think -lmx and -L/path/to/mx/lib) and putting exactly what the user asked for in the wrapper linking flags.<br>&gt; <br>&gt; FWIW, it looks like we have had this problem reported to us before and didn't change things for some reason:<br><br>in that case one might separate additions to LDFLAGS that configure discovers<br>from stuff the user put in LDFLAGS? Should be doable by first getting the number<br>of characters in the original LDFLAGS variable and then using dd or some other<br>standard UNIX utility that can count
 characters?<br><br>Regards, Thomas<br>-- <br>Thomas Jahns<br>DKRZ GmbH, Department: Application software<br><br>Deutsches Klimarechenzentrum<br>Bundesstraße 45a<br>D-20146 Hamburg<br><br>Phone: +49-40-460094-151<br>Fax: +49-40-460094-270<br>Email: Thomas Jahns &lt;<a ymailto="mailto:jahns@dkrz.de" href="mailto:jahns@dkrz.de">jahns@dkrz.de</a>&gt;<br><br><br>_______________________________________________<br>mpich-discuss mailing list<br><a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br><br><br></div></div></div></body></html>