<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Paolo,<div><br></div><div>Do you know the cause of this?</div><div><br></div><div><div>My paths are set in my .profile as such:</div><div><div><font class="Apple-style-span" color="#821081">export PATH=/usr/local/bin:/usr/local/lib:$PATH</font></div><div><font class="Apple-style-span" color="#821081">export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH</font></div><div><font class="Apple-style-span" color="#821081">export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH</font></div></div></div><div><br></div><div>This was my ./configure command:</div><div><font class="Apple-style-span" color="#FF1E00">./configure --prefix=/usr/local/espresso-4.0.5 MPIF90=mpif90 CC=gcc F77=gfortran F90=gfortran MPIF77=mpif77 CXX=g++ MPICC=mpic++ FFT_LIBS=/usr/local/lib LAPACK_LIBS=/usr/local/espresso-4.0.5/flib/lapack.a BLAS_LIBS=/usr/local/espresso-4.0.5/flib/blas.a</font></div><div><font class="Apple-style-span" color="#FF1E00"><br></font></div><div><font class="Apple-style-span" color="#FF1E00">
</font>Mike</div><div><font class="Apple-style-span" color="#FF1E00"><br></font></div><div><font class="Apple-style-span" color="#FF1E00"><br></font></div><div><font class="Apple-style-span" color="#FF1E00"><br></font></div><div><div><div>On Jun 12, 2009, at 11:05 AM, Paolo Giannozzi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Jun 12, 2009, at 16:46 , Michael Hayden wrote:<br><br><blockquote type="cite">mpif90 -o pw.x [...] /usr/local/lib /usr/local/lib<br></blockquote><br>you are linking "/usr/local/lib" (a directory)...<br><br><blockquote type="cite">ld: in /usr/local/lib, can't map file, errno=22<br></blockquote><br><br>and the linker complains<br><br>Paolo<br>---<br>Paolo Giannozzi, Dept of Physics, University of Udine<br>via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br><br><br>_______________________________________________<br>Pw_forum mailing list<br><a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>http://www.democritos.it/mailman/listinfo/pw_forum<br><br></div></blockquote></div><br></div></body></html>