[mesa-users] mesa installation problem

Ming Yang myang at mail.bnu.edu.cn
Sun Jun 24 03:31:00 EDT 2012


Dear all,
    When I'm installing mesa, there is an error keep coming as below. I have used the newly and old mesasdk, nothing changed (the environment variables have been set up according to the requirement)  

gfortran -fno-range-check  -fopenmp -I../../make -I../../public -I../../../include -I/home/deep/opt/mesasdk/include -fbounds-check -g -c -ffree-form ../src/test_mtx_mpi.f
gfortran -fopenmp -o ../test_mpi test_pardiso_stub.o test_klu.o test_mtx_support.o test_banded.o test_block_tri_dble.o test_block_tri_quad.o test_trisolve_dble.o test_square.o test_square_quad.o test_sparse.o test_mtx_mpi.o \
    -L../../make -lconst -lmtx -lmesaklu `mesasdk_lapack_link` `mesasdk_blas_link` -L../../../lib -lutils -lalert
../../make/libmtx.a(d_and_c_block_dble.o): In function `__d_and_c_block_dble_MOD_d_and_c_block_init':
d_and_c_block.f:(.text+0x285d): undefined reference to `__const_def_MOD_omp_num_threads'
../../make/libmtx.a(d_and_c_block_dble.o): In function `__d_and_c_block_dble_MOD_d_and_c_work_sizes':
d_and_c_block.f:(.text+0x2a89): undefined reference to `__const_def_MOD_omp_num_threads'
../../make/libmtx.a(d_and_c_block_dble.o): In function `__d_and_c_block_dble_MOD_d_and_c_factor':
d_and_c_block.f:(.text+0x3b84): undefined reference to `__const_def_MOD_omp_num_threads'
d_and_c_block.f:(.text+0x407f): undefined reference to `__const_def_MOD_omp_num_threads'
../../make/libmtx.a(mtx_lib.o): In function `__mtx_lib_MOD_mtx_trisolve_dble':
mtx_lib.f:(.text+0x470d): undefined reference to `__const_def_MOD_omp_num_threads'
../../make/libmtx.a(mtx_lib.o):mtx_lib.f:(.text+0x47cb): more undefined references to `__const_def_MOD_omp_num_threads' follow
collect2: error: ld returned 1 exit status
make: *** [test_mpi] error 1

/home/deep/opt/mesa/mtx/test
FAILED


/home/deep/opt/mesa/mtx
./build_and_test FAILED


Is anybody knows how this going? Thanks very much


---------------------------------
 Ming Yang                     
 Department of Astronomy 
 Beijing Normal University
 19 Xinjiekou Wai Street   
 Beijing, 100875               
 P.R.China                     
 E-mail: myang at mail.bnu.edu.cn
--------------------------------- 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20120624/178f6ad9/attachment.html>


More information about the Mesa-users mailing list