Hello,
I've been trying to install scalapack package on my macbook using scalapack installer. I checked this forum in every possible way to make it work. Some how I'm not able to get through it. I have tried different options for linking, but some how everything is failing. Could you please help me with it? I'd greatly appreciate any help. Here is the message I'm getting on terminal:
Sreedhar:scalapack_installer Sreedhar$ setup.py --downblas --downblacs --downlap
ack --mpif77=/Users/Sreedhar/Desktop/mpi_install/bin/mpif77 --mpicc=/Users/Sreed
har/Desktop/mpi_install/bin/mpicc --mpibindir=/Users/Sreedhar/Desktop/mpi_instal
l/bin/ --mpiincdir=/Users/Sreedhar/Desktop/mpi_install/include/
========================================
Setting up the framework
mpif77 is /Users/Sreedhar/Desktop/mpi_install/bin/mpif77
mpicc is /Users/Sreedhar/Desktop/mpi_install/bin/mpicc
MPI bin dir is /Users/Sreedhar/Desktop/mpi_install/bin/
MPI include dir is /Users/Sreedhar/Desktop/mpi_install/include/
Checking if mpicc works.../Users/Sreedhar/Desktop/scalapack_installer/script/uti
ls.py:39: DeprecationWarning: The popen2 module is deprecated. Use the subproce
ss module.
import popen2
yes
Checking if mpif77 works... yes
Setting Fortran mangling... -DAdd_
Setting download command... Setting ranlib command... /usr/bin/ranlib
Detecting Fortran compiler... unknown
Detecting C compiler... unknown
Selected C compiler flags: -O3
Selected Fortran77 compiler flags: -O3
Selected loader flags:
Selected NOOPT flags:
Checking loader...
COMMON: in check_linking: cannot link
Cannot link a C main program to a Fortran77 subroutine
Make sure that the appropriate flags are passed to the linker.
command is: /Users/Sreedhar/Desktop/mpi_install/bin/mpif77 -o lnk tmpf.o tmpc.
o
error is:
****************************************
ipo: warning #11015: Warning unknown option -no_compact_unwind
ld: duplicate symbol _main in tmpc.o and /usr/bin/ifort-11.1-base/lib/for_main.o
****************************************

