[mesa-users] MESA installation problem

amber lauer amberlauer at gmail.com
Fri Sep 18 18:31:02 EDT 2015


Sorry Sergei, I should have been replying all to this. I asked which
compiler you were using to check if you were using intel compiler.
Otherwise I believe it uses the C compiler in the SDK.

At the beginning of the build of most modules (right after "building
<module>" there is the following statement:

makedepf90

including mtx. Since yours doesn't have that, either the ubuntu experience
is not universal or my guess is you are attempting to install an older
version of MESA or you have modified the default makefile_header. Is any of
these true? I know you are using Suse so this could be yet another
multiarch issue of weird architecture library install folders that are not
searched by default in the system. The way I solve that problem is not the
way those who make MESA have been solving it so maybe it's a slightly
different issue than I understand it. In that case maybe they can weigh in.

On Thu, Sep 17, 2015 at 7:57 AM, Sergei Nayakshin <sn6985 at gmail.com> wrote:

> Dear all,
>
> I’m having difficulties installing MESA release 7624. While running
> “./install” in the mesa directory, I get the following error message (see
> below).
>
> I’ve tried switching the USE_OPENMP = YES to NO option, but then I get
> another error: “run_star_support.f” would still like to use OpenMP, it
> seems, and now it can’t.
>
> I’ve also tried compiling mtx in MESA/mtx directory with “./mk”, and that
> compiles, but the “./install” in the mesa directory still fails later on.
>
>
> Would anyone be able to help? I am not sure where to start. I’m using a
> SUSE LINUX release 11 desktop.
>
> Cheers,
> Sergei.
>
> ========================================================
>
> /home/s/sn85/mesa/mtx
> building mtx package.
>
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input my_lapack95_dble.f90
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input my_lapack95_quad.f90
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input mod_klu_dble.f90
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input mod_klu_quad.f90
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input thomas_block_dble.f90
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input thomas_block_quad.f90
> ar crs libmtx.a my_lapack95_dble.o my_lapack95_quad.o mtx_support.o
> mod_klu_dble.o mod_klu_quad.o thomas_block_dble.o thomas_block_quad.o
> thomas_block_klu.o thomas_block_sparse.o bcyclic.o mtx_lib.o qgttrf.o
> qgttrs.o qgtts2.o qgetrf.o qgetrs.o qgemv.o qgemm.o qgetf2.o qswap.o
> iqamax.o qtrsm.o qtrsv.o qger.o qscal.o qlamch.o qlaswp.o
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input my_lapack95_dble.f90
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input my_lapack95_quad.f90
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input mod_klu_dble.f90
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input mod_klu_quad.f90
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input thomas_block_dble.f90
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp  -I../public -I../private -I../../include
> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
> -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input thomas_block_quad.f90
> ar crs libmtx.a my_lapack95_dble.o my_lapack95_quad.o mtx_support.o
> mod_klu_dble.o mod_klu_quad.o thomas_block_dble.o thomas_block_quad.o
> thomas_block_klu.o thomas_block_sparse.o bcyclic.o mtx_lib.o qgttrf.o
> qgttrs.o qgtts2.o qgetrf.o qgetrs.o qgemv.o qgemm.o qgetf2.o qswap.o
> iqamax.o qtrsm.o qtrsv.o qger.o qscal.o qlamch.o qlaswp.o
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp -I../../make -I../../public -I../../../include
> -I/home/s/sn85/mesasdk/include -fbounds-check -Wuninitialized
> -Warray-bounds -g -c -ffree-form -x f95-cpp-input ../src/test_mtx_support.f
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp -I../../make -I../../public -I../../../include
> -I/home/s/sn85/mesasdk/include -fbounds-check -Wuninitialized
> -Warray-bounds -g -c -ffree-form -x f95-cpp-input -x f95-cpp-input -DDBLE
> -o test_block_tri_dble.o ../src/test_block_tridiagonal.f
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp -I../../make -I../../public -I../../../include
> -I/home/s/sn85/mesasdk/include -fbounds-check -Wuninitialized
> -Warray-bounds -g -c -ffree-form -x f95-cpp-input -x f95-cpp-input -o
> test_block_tri_quad.o ../src/test_block_tridiagonal.f
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp -I../../make -I../../public -I../../../include
> -I/home/s/sn85/mesasdk/include -fbounds-check -Wuninitialized
> -Warray-bounds -g -c -ffree-form -x f95-cpp-input -x f95-cpp-input -DDBLE
> -o test_klu_dble.o ../src/test_klu.f
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp -I../../make -I../../public -I../../../include
> -I/home/s/sn85/mesasdk/include -fbounds-check -Wuninitialized
> -Warray-bounds -g -c -ffree-form -x f95-cpp-input -x f95-cpp-input -o
> test_klu_quad.o ../src/test_klu.f
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp -I../../make -I../../public -I../../../include
> -I/home/s/sn85/mesasdk/include -fbounds-check -Wuninitialized
> -Warray-bounds -g -c -ffree-form -x f95-cpp-input ../src/test_square.f
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp -I../../make -I../../public -I../../../include
> -I/home/s/sn85/mesasdk/include -fbounds-check -Wuninitialized
> -Warray-bounds -g -c -ffree-form -x f95-cpp-input ../src/test_square_quad.f
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp -I../../make -I../../public -I../../../include
> -I/home/s/sn85/mesasdk/include -fbounds-check -Wuninitialized
> -Warray-bounds -g -c -ffree-form -x f95-cpp-input ../src/test_sparse.f
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens
> -fno-sign-zero -fopenmp -I../../make -I../../public -I../../../include
> -I/home/s/sn85/mesasdk/include -fbounds-check -Wuninitialized
> -Warray-bounds -g -c -ffree-form -x f95-cpp-input ../src/test_mtx.f
> gfortran -fopenmp -o ../tester test_mtx_support.o test_block_tri_dble.o
> test_block_tri_quad.o test_klu_dble.o test_klu_quad.o test_square.o
> test_square_quad.o test_sparse.o test_mtx.o  \
>         -L../../make -lf2crlibm -lcrlibm -lmtx -lconst -lutils -lmesaklu
> `mesasdk_lapack_link` `mesasdk_blas_link` -L../../../lib
> ../../make/libmtx.a(mtx_support.o): In function
> `__mtx_support_MOD_do_quad_block_multiply_xa':
> mtx_support.f90:(.text+0x22b9): undefined reference to `GOMP_parallel'
> ../../make/libmtx.a(mtx_support.o): In function
> `__mtx_support_MOD_do_block_multiply_xa':
> mtx_support.f90:(.text+0x2319): undefined reference to `GOMP_parallel'
> ../../make/libmtx.a(mtx_support.o): In function
> `__mtx_support_MOD_do_lu_factored_block_dble_mv':
> mtx_support.f90:(.text+0x40ef): undefined reference to `GOMP_parallel'
> ../../make/libmtx.a(mtx_support.o): In function
> `__mtx_support_MOD_do_block_mv_quad':
> mtx_support.f90:(.text+0x4185): undefined reference to `GOMP_parallel'
> ../../make/libmtx.a(mtx_support.o): In function
> `__mtx_support_MOD_do_band_to_row_sparse':
> mtx_support.f90:(.text+0x774a): undefined reference to `GOMP_parallel'
> ../../make/libmtx.a(bcyclic.o):bcyclic.f90:(.text+0x2cbe): more undefined
> references to `GOMP_parallel' follow
> collect2: error: ld returned 1 exit status
> make: *** [tester] Error 1
>
> /home/s/sn85/mesa/mtx/test
> FAILED
>
>
> /home/s/sn85/mesa/mtx
> ./build_and_test FAILED
>
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>



-- 
Amber Lauer. M.S. Physics
PhD Candidate,
Graduate School of Physics,
Louisiana State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150918/cc68127d/attachment.html>


More information about the Mesa-users mailing list