[mesa-users] Mesa revision 4153 installation error

Neil Miller neillkmiller at gmail.com
Wed Jun 27 19:52:15 EDT 2012


Hey,

It looks like you haven't defined the OMP_NUM_THREADS environment
variable.  For example, in my .bashrc file I have the line

export OMP_NUM_THREADS=8

It is suggested that this number correspond to the number of cores you have.

There is an error message that is supposed to show up if this variable
isn't defined and stop the installation script.  Perhaps we should
tell people they need to define this variable in the README or online
instructions.  We could also presumably set a default value if it
isn't defined.

Neil

On Wed, Jun 27, 2012 at 4:16 PM, Ritter, Christian <C.Ritter at gsi.de> wrote:
> Dear All,
>
> During installation I got the error below. Probably the same error Ming Yang
> reported before.
> I have const_def.mod in mesa/include.
>
>
> 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+0x2993): 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+0x2bcb): 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+0x3d29): undefined reference to
> `__const_def_MOD_omp_num_threads'
> d_and_c_block.f:(.text+0x4316): 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+0x4a6e): undefined reference to
> `__const_def_MOD_omp_num_threads'
> ../../make/libmtx.a(mtx_lib.o):mtx_lib.f:(.text+0x4b87): more undefined
> references to `__const_def_MOD_omp_num_threads' follow
> collect2: error: ld returned 1 exit status
> make: *** [test_mpi] Error 1
>
> /astro/critter/critter/Mesa/mesa/mtx/test
> FAILED
>
>
> /astro/critter/critter/Mesa/mesa/mtx
> ./build_and_test FAILED
>
>
> Thanks for being able to use such a great project. :)
>
> And thanks for help in advance!
>
>
>
> Best wishes,
>
> Christian Ritter
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>



-- 
Neil Miller
Astronomy Department
University of California, Santa Cruz
Office: ISB 159




More information about the Mesa-users mailing list