[Pw_forum] installing OpenMPI and Quantum Espresso on a Mac OS X system
Michael Hayden
hayden at umbc.edu
Fri Jun 12 17:22:14 CEST 2009
Paolo,
Do you know the cause of this?
My paths are set in my .profile as such:
export PATH=/usr/local/bin:/usr/local/lib:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH
This was my ./configure command:
./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
Mike
On Jun 12, 2009, at 11:05 AM, Paolo Giannozzi wrote:
>
> On Jun 12, 2009, at 16:46 , Michael Hayden wrote:
>
>> mpif90 -o pw.x [...] /usr/local/lib /usr/local/lib
>
> you are linking "/usr/local/lib" (a directory)...
>
>> ld: in /usr/local/lib, can't map file, errno=22
>
>
> and the linker complains
>
> Paolo
> ---
> Paolo Giannozzi, Dept of Physics, University of Udine
> via delle Scienze 208, 33100 Udine, Italy
> Phone +39-0432-558216, fax +39-0432-558222
>
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20090612/96de5eb8/attachment.html>
More information about the users
mailing list