[mesa-users] Mesa revision 4153 installation error
Ritter, Christian
C.Ritter at gsi.de
Fri Jun 29 20:57:38 EDT 2012
Thanks for the hints. I tried the latest version of mesasdk you provided.
Unfortunately the same error as reported showed up again.
I gave it a try on different linux systems on which the official released version 4088
worked very well. In both cases I get the same error with the latest revision. I also
used fresh versions.
The error occurs after version 4089. Could the changes made in the mtx package in version 4090,
in particular the shift of omp_num_threads to the const package, be a reason for this error?
Or is it necessary to set the omp_num_threads variable differently than in the versions before?
Christian
________________________________________
From: Richard Townsend [townsend at astro.wisc.edu]
Sent: 28 June 2012 15:26
To: Ritter, Christian
Cc: Neil Miller; mesa-users users [mesa-users at lists.sourceforge
Subject: Re: [mesa-users] Mesa revision 4153 installation error
You might want to try the SDK; it ships with gfortran 4.7, which is a far more complete and polished compiler than earlier releases.
Also, the problem could come from left-over files from a previous compilation which are not properly removed when you ./clean. Try downloading a completely fresh copy of the MESA tree to see if that fixes the issue.
cheers,
Rich
On Jun 28, 2012, at 9:05 AM, Ritter, Christian wrote:
> Hi Neil,
>
> Thanks for the fast reply. I worked with official released
> versions before and therefore have that line in my .bashrc.
> By installing mesasdk you are told to set these OpenMP vars,
> so I did.
> Could there be another possibility?
>
>
> Beside this in opposite to the the official released version, the latest revision deals
> with number precision above 15, so it seems like a change from gcc version 4.5
> to 4.6 is needed (e.g. upgrade when still using ubuntu 11.04) ?
>
>
> Christian
> ________________________________________
> From: Neil Miller [neillkmiller at gmail.com]
> Sent: 28 June 2012 01:52
> Cc: mesa-users users [mesa-users at lists.sourceforge
> Subject: Re: [mesa-users] Mesa revision 4153 installation error
>
> 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
>
> ------------------------------------------------------------------------------
> 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
>
> ------------------------------------------------------------------------------
> 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
More information about the Mesa-users
mailing list