[mesa-users] /Mesa/mesa-r7503/mtx/test FAILED. gfortran.exec error.

Manser, Christopher C.Manser at warwick.ac.uk
Thu Apr 16 09:51:49 EDT 2015


Hello Richard,


Running that I get this output:

/Applications/mesasdk/lib/liblapack.a /Applications/mesasdk/lib/libxblas.a /Applications/mesasdk/lib/libblas.a


________________________________
From: Richard Townsend <townsend at astro.wisc.edu>
Sent: 16 April 2015 14:36
To: Manser, Christopher
Cc: mesa-users at lists.sourceforge.net
Subject: Re: [mesa-users] /Mesa/mesa-r7503/mtx/test FAILED. gfortran.exec error.

Hi Chris —

Can you try running the command ‘mesasdk_lapack_link’? This is a script which prints out the linker flags necessary to link with the LAPACK library. It seems it isn’t working properly on your system.

cheers,

Rich

On Apr 16, 2015, at 6:34 AM, Manser, Christopher <C.Manser at warwick.ac.uk<mailto:C.Manser at warwick.ac.uk>> wrote:

Hello,

I am having an issue installing Mesa onto my Macbook (OS X Yosemite 10.10.3)

I used the latest version of mesasdk (mesasdk-x86_64-osx-10.10-20150210.dmg<http://www.astro.wisc.edu/%7Etownsend/resource/download/mesasdk/mesasdk-x86_64-osx-10.10-20150210.dmg>)
and mesa (Release 7503) available.

I updated my .bash_profile with:

# set MESA_DIR to be the directory to which you downloaded MESA
export MESA_DIR=/Volumes/C/Mesa/mesa-r7503

# set OMP_NUM_THREADS to be the number of cores on your machine
export OMP_NUM_THREADS=2

# you should have done this when you set up the MESA SDK
export MESASDK_ROOT=/Applications/mesasdk
source $MESASDK_ROOT/bin/mesasdk_init.sh

and seemed to install mesasdk successfully in /Applications/mesasdk with:

gfortran --version
GNU Fortran (GCC) 4.9.3 20150202 (prerelease)



So the problem....



When running ./install in the mesa directory, I get a Mesa/mesa-r7503/mtx FAILED
and what is displayed in the command prompt is below (:

__________________________________________

sudo ./install

/Mesa/mesa-r7503/const
building const package.

make: `libconst.a' is up to date.
make: `libconst.a' is up to date.
gfortran -fopenmp -o ../tester test_const.o -L../../make -lconst
export
done

mesa/const has been built, tested, and exported.

************************************************

/Mesa/mesa-r7503/utils
building utils package.

make: `libutils.a' is up to date.
make: `libutils.a' is up to date.
gfortran -fopenmp -o ../tester test_utils.o -L../../make -lutils -L../../../lib -lconst
export
done

mesa/utils has been built, tested, and exported.

************************************************

/Mesa/mesa-r7503/crlibm
building crlibm package.

make: `libf2crlibm.a' is up to date.
make: `libf2crlibm.a' is up to date.
gfortran -fopenmp -o ../tester test_crlibm.o \
    -L../../make -lf2crlibm -lcrlibm -L../../../lib -lutils -lconst
export
done

mesa/crlibm has been built, tested, and exported.

************************************************

/Mesa/mesa-r7503/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 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 -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

gfortran.exec: error: /lib/liblapack.a: No such file or directory
gfortran.exec: error: /lib/libxblas.a: No such file or directory
gfortran.exec: error: /lib/libblas.a: No such file or directory
gfortran.exec: error: /lib/libblas.a: No such file or directory
make: *** [tester] Error 1

/Mesa/mesa-r7503/mtx/test
FAILED


/Mesa/mesa-r7503/mtx
./build_and_test FAILED

__________________________________________

I have tried looking in the mailing list for a similar issue but couldn't find anything.
The files it is looking for exist in the mesasdk directory in the /lib/ folder but I don't
know why it isn't searching /Applications/mesasdk/lib/ for these files?

If anyone knows a solution to this it would be greatly appreciated :)



Thanks,

Chris



------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF_______________________________________________
mesa-users mailing list
mesa-users at lists.sourceforge.net<mailto:mesa-users at lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mesa-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150416/65b968db/attachment.html>


More information about the Mesa-users mailing list