[mesa-users] Compiling with MESA SDK on Mac OS X 10.5.8

Chris Mankovich cmankovich at umail.ucsb.edu
Sat Jan 21 17:09:27 EST 2012

Hi all,

I've unpacked today's release of the SDK and I'm having issues trying to
install MESA.  I run into problems trying to build the mtx package.  I'm
not sure what's going on, so here are some of the interesting snippets:

gfortran -fno-range-check  -fopenmp  -I../public -I../private
-I../../include -Wunused-value -Werror -W -fimplicit-none   -O2 -c
-ffree-form ../public/mtx_lib.f
ar crs libmtx.a mtx_def.o mod_mkl_pardiso_stub.o mtx_support.o mod_klu.o
thomas_block.o thomas_block_sparse.o d_and_c_block.o mtx_lib.o
ranlib: file: libmtx.a(mtx_def.o) has no symbols

. . .

cc -O3 -fno-common -fexceptions -c -I../klu_src ../klu_src/klu_c_fortran.c
-o klu_c_fortran.o
../klu_src/klu_c_fortran.c: In function ‘c_fortran_klu_’:
../klu_src/klu_c_fortran.c:45: warning: cast to pointer from integer of
different size
../klu_src/klu_c_fortran.c:52: warning: cast from pointer to integer of
different size

. . .

gfortran -fopenmp -o ../tester test_pardiso_stub.o test_klu.o
test_mtx_support.o test_banded.o test_block_tridiagonal.o test_square.o
test_sparse.o test_mtx.o  \
-L../../make -lmtx -lmesaklu `mesasdk_lapack_link` `mesasdk_blas_link`
-L../../../lib -lutils -lalert
/bin/sh: mesasdk_lapack_link: command not found
/bin/sh: mesasdk_blas_link: command not found
Undefined symbols:
  "_dgbcon_", referenced from:
      ___mtx_lib_MOD_mtx_rcond_banded in libmtx.a(mtx_lib.o)
  "_dger_", referenced from:
      ___thomas_block_MOD_thomas_factor in libmtx.a(thomas_block.o)

(the output then goes on to list another dozen or so undefined symbols.)

Any ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20120121/96042dd8/attachment.html>

More information about the Mesa-users mailing list