Hello,
I recently installed fink on an Intel MacBook Pro running OS X 10.4.10
with the XCode from the 10.4.9 DVDs installed (ver 2.4.1 I think).
Compiling and executing the gcc42 package from fink-unstable went fine;
gfortran 4.2.1 worked well. The dependencies (gcc42-shlibs, gmp and mpfr)
were also installed okay I presume.
Today I attempted to install lammpi from fink-unstable (vers 7.1.2).
While the compile completed, I get errors when trying to use lam-mpif77
and google is not helping me. Specifically, lam-mpif77 cannot find
liblamf77mpi libraries, although they are installed in the path specified.
I tried to compile a program which does not use MPI, just to make sure it
was a real problem, and sure enough it failed. The path should be
world-readable. I wonder if the issue has to do with fink only building
dynamic (instead of static) libraries?
I would really appreciate any help on getting this to work. I am new to
fink, but not new to *nix in general. Also, thank you Jack Howarth for
maintaining the gcc42 and lammpi packages in fink. It's appreciated!
Pasted below are the results of "fink list | grep lammpi" "lam-mpif77 -v"
"lam-mpicc -v" "ls -l /sw/lib/lammpi", and the end of the compile which I
attempted.
Sincerely,
Brian
nell:~/tmp/tst barnes$ fink list | grep lammpi
gromacs-mpi-lammpi 3.3.1-1002 Molecular dynamics package
(Parallel version)
gromacs-mpi-lammpi-dev 3.3.1-1002 Molecular dynamics package
(Parallel version)
gromacs-mpi-lammpi-shlibs 3.3.1-1002 Molecular dynamics
package (Parallel version)
i lammpi 7.1.2-1002 MPI implementation for parallel computing
lammpi-dev 7.1.2-1002 Development files for lammpi
package
lammpi-examples 7.1.2-1002 Example files for lammpi package
i lammpi-shlibs 7.1.2-1002 Shared libraries for lammpi
package
maloc-mpi-lammpi 0.1-2-1007 Hardware abstraction
library (mpi version)
paraview-mpi-lammpi 2.6.2-1001 Visualization application
for large data sets
nell:~/tmp/tst barnes$ lam-mpif77 -v
WARNING: lam-mpif77 expected to find liblammpio.* in /sw/lib/lammpi
WARNING: MPI-2 IO support will be disabled
WARNING: lam-mpif77 expected to find liblamf77mpi.* in /sw/lib/lammpi
WARNING: MPI Fortran support will be disabled
Using built-in specs.
Target: i686-apple-darwin8
Configured with: ../gcc-4.2.1/configure --prefix=/sw
--prefix=/sw/lib/gcc4.2 --mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --with-arch=nocona
--with-tune=generic --host=i686-apple-darwin8 --with-gmp=/sw
--with-libiconv-prefix=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
Thread model: posix
gcc version 4.2.1
nell:~/tmp/tst barnes$ lam-mpicc -v
WARNING: lam-mpicc expected to find liblammpio.* in /sw/lib/lammpi
WARNING: MPI-2 IO support will be disabled
WARNING: lam-mpicc expected to find liblamf77mpi.* in /sw/lib/lammpi
WARNING: MPI Fortran support will be disabled
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic
--program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)
nell:~/tmp/tst barnes$
nell:~/tmp/tst barnes$ ls -l /sw/lib/lammpi
total 2544
drwxr-xr-x 4 root admin 136 Jul 26 15:50 lam
-rwxr-xr-x 1 root admin 313900 Jul 26 15:49 liblam.0.0.0.dylib
lrwxr-xr-x 1 root admin 18 Jul 26 15:50 liblam.0.dylib ->
liblam.0.0.0.dylib
-rwxr-xr-x 1 root admin 80584 Jul 26 15:49 liblamf77mpi.0.0.0.dylib
lrwxr-xr-x 1 root admin 24 Jul 26 15:50 liblamf77mpi.0.dylib ->
liblamf77mpi.0.0.0.dylib
-rwxr-xr-x 1 root admin 185968 Jul 26 15:49 liblammpi++.0.0.0.dylib
lrwxr-xr-x 1 root admin 23 Jul 26 15:50 liblammpi++.0.dylib ->
liblammpi++.0.0.0.dylib
-rwxr-xr-x 1 root admin 698496 Jul 26 15:49 libmpi.0.0.0.dylib
lrwxr-xr-x 1 root admin 18 Jul 26 15:50 libmpi.0.dylib ->
libmpi.0.0.0.dylib
WARNING: lam-mpif77 expected to find liblammpio.* in /sw/lib/lammpi
WARNING: MPI-2 IO support will be disabled
WARNING: lam-mpif77 expected to find liblamf77mpi.* in /sw/lib/lammpi
WARNING: MPI Fortran support will be disabled
/usr/bin/ld: can't locate file for: -lmpi
collect2: ld returned 1 exit status
lam-mpif77: No such file or directory
make: *** [table.x] Error 1
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners