[mesa-users] mesa-users Digest, Vol 68, Issue 9

Raphael Hirschi r.hirschi at keele.ac.uk
Tue Apr 21 03:19:39 EDT 2015


When compiling with gfortran, I had a similar error:

mtx failed to compile due to GOMP_PARALLEL call not being found.

My temporary fixed was to compile with ifort

Raphael


On 20/04/15 18:47, mesa-users-request at lists.sourceforge.net wrote:
> Send mesa-users mailing list submissions to
> 	mesa-users at lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/mesa-users
> or, via email, send a message with subject or body 'help' to
> 	mesa-users-request at lists.sourceforge.net
>
> You can reach the person managing the list at
> 	mesa-users-owner at lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mesa-users digest..."
>
>
> Today's Topics:
>
>     1. Re: /Mesa/mesa-r7503/mtx/test FAILED. gfortran.exec	error.
>        (Richard Townsend)
>     2. Re: /Mesa/mesa-r7503/mtx/test FAILED. gfortran.exec error.
>        (Manser, Christopher)
>     3. Re: /Mesa/mesa-r7503/mtx/test FAILED. gfortran.exec	error.
>        (Richard Townsend)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 20 Apr 2015 11:37:17 -0500
> From: Richard Townsend <townsend at astro.wisc.edu>
> Subject: Re: [mesa-users] /Mesa/mesa-r7503/mtx/test FAILED.
> 	gfortran.exec	error.
> To: "Manser, Christopher" <C.Manser at warwick.ac.uk>
> Cc: "mesa-users at lists.sourceforge.net"
> 	<mesa-users at lists.sourceforge.net>
> Message-ID: <9B66B1BB-E43F-439A-9A13-53556D347E1E at astro.wisc.edu>
> Content-Type: text/plain; charset="windows-1252"
>
> Hi Christopher ?
>
> Could you try removing the quotes in the definition of LOAD_LAPACK (and putting libxblas back in)?
>
> cheers,
>
> Rich
>
>> On Apr 20, 2015, at 11:33 AM, Manser, Christopher <C.Manser at warwick.ac.uk> wrote:
>>
>> I attempted making this change but it did not work, saying that '/Applications/mesasdk/lib/libxblas.a /Applications/mesasdk/lib/libblas.a' is not a file or directory.
>>
>> I assume that both are needed, but I tried playing around with shortening the second setting and removing
>> /Applications/mesasdk/lib/libxblas.a like so:
>>
>> LOAD_LAPACK = '/Applications/mesasdk/lib/liblapack.a'
>> LOAD_BLAS = '/Applications/mesasdk/lib/libblas.a'
>>
>> which seemed to fix that part of the install!
>>
>> ...although now I get an error later down the line for Mesa/mesa-r7503/gyre:
>>
>> ___________________________________________________
>>
>> gfortran -fopenmp -o ../tester test_gyre.o -L../../make -lgyre '/Applications/mesasdk/lib/liblapack.a' -L../../../lib -lconst
>> Undefined symbols for architecture x86_64:
>>    "_daxpy_", referenced from:
>>        _dgehrd_ in liblapack.a(dgehrd.o)
>>        _dtrevc_ in liblapack.a(dtrevc.o)
>>        _dlahr2_ in liblapack.a(dlahr2.o)
>>    "_dcopy_", referenced from:
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dtrevc_ in liblapack.a(dtrevc.o)
>>        _dlahqr_ in liblapack.a(dlahqr.o)
>>        _dlahr2_ in liblapack.a(dlahr2.o)
>>        _dlarfb_ in liblapack.a(dlarfb.o)
>>        _dlaqr3_ in liblapack.a(dlaqr3.o)
>>        _dlaqr2_ in liblapack.a(dlaqr2.o)
>>        ...
>>    "_ddot_", referenced from:
>>        _dtrevc_ in liblapack.a(dtrevc.o)
>>    "_dgemm_", referenced from:
>>        ___gyre_sysmtx_MOD_factorize_slu_r_._omp_fn.1 in libgyre.a(gyre_sysmtx.o)
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dgetrf_ in liblapack.a(dgetrf.o)
>>        _dgehrd_ in liblapack.a(dgehrd.o)
>>        _dlahr2_ in liblapack.a(dlahr2.o)
>>        _dlarfb_ in liblapack.a(dlarfb.o)
>>        _dlaqr3_ in liblapack.a(dlaqr3.o)
>>        ...
>>    "_dgemv_", referenced from:
>>        ___gyre_sysmtx_MOD_null_vector_slu_r_._omp_fn.0 in libgyre.a(gyre_sysmtx.o)
>>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>>        _dtrevc_ in liblapack.a(dtrevc.o)
>>        _dlahr2_ in liblapack.a(dlahr2.o)
>>        _dlarf_ in liblapack.a(dlarf.o)
>>        _dlarft_ in liblapack.a(dlarft.o)
>>    "_dger_", referenced from:
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>>        _dgetf2_ in liblapack.a(dgetf2.o)
>>        _dlarf_ in liblapack.a(dlarf.o)
>>    "_dnrm2_", referenced from:
>>        _dgeev_ in liblapack.a(dgeev.o)
>>        _dgebal_ in liblapack.a(dgebal.o)
>>        _dlarfg_ in liblapack.a(dlarfg.o)
>>    "_drot_", referenced from:
>>        _dgeev_ in liblapack.a(dgeev.o)
>>        _dlahqr_ in liblapack.a(dlahqr.o)
>>        _dlaexc_ in liblapack.a(dlaexc.o)
>>    "_dscal_", referenced from:
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>>        _dgeev_ in liblapack.a(dgeev.o)
>>        _dgetf2_ in liblapack.a(dgetf2.o)
>>        _dgebak_ in liblapack.a(dgebak.o)
>>        _dgebal_ in liblapack.a(dgebal.o)
>>        _dtrevc_ in liblapack.a(dtrevc.o)
>>        ...
>>    "_dswap_", referenced from:
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>>        _dgetf2_ in liblapack.a(dgetf2.o)
>>        _dgebak_ in liblapack.a(dgebak.o)
>>        _dgebal_ in liblapack.a(dgebal.o)
>>        _dlasy2_ in liblapack.a(dlasy2.o)
>>        ...
>>    "_dtbsv_", referenced from:
>>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>>    "_dtrmm_", referenced from:
>>        _dgehrd_ in liblapack.a(dgehrd.o)
>>        _dlahr2_ in liblapack.a(dlahr2.o)
>>        _dlarfb_ in liblapack.a(dlarfb.o)
>>        _dlaqr5_ in liblapack.a(dlaqr5.o)
>>    "_dtrmv_", referenced from:
>>        _dlahr2_ in liblapack.a(dlahr2.o)
>>        _dlarft_ in liblapack.a(dlarft.o)
>>    "_dtrsm_", referenced from:
>>        ___gyre_sysmtx_MOD_factorize_slu_r_._omp_fn.1 in libgyre.a(gyre_sysmtx.o)
>>        ___gyre_sysmtx_MOD_null_vector_slu_r_.constprop.4 in libgyre.a(gyre_sysmtx.o)
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dgetrf_ in liblapack.a(dgetrf.o)
>>        _dgetrs_ in liblapack.a(dgetrs.o)
>>    "_dzasum_", referenced from:
>>        _ztrevc_ in liblapack.a(ztrevc.o)
>>        _zlatrs_ in liblapack.a(zlatrs.o)
>>    "_dznrm2_", referenced from:
>>        _zgeev_ in liblapack.a(zgeev.o)
>>        _zgebal_ in liblapack.a(zgebal.o)
>>        _zlarfg_ in liblapack.a(zlarfg.o)
>>    "_idamax_", referenced from:
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>>        _dgeev_ in liblapack.a(dgeev.o)
>>        _dgetf2_ in liblapack.a(dgetf2.o)
>>        _zgeev_ in liblapack.a(zgeev.o)
>>        _dgebal_ in liblapack.a(dgebal.o)
>>        _dtrevc_ in liblapack.a(dtrevc.o)
>>        ...
>>    "_izamax_", referenced from:
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>>        _zgetf2_ in liblapack.a(zgetf2.o)
>>        _zgebal_ in liblapack.a(zgebal.o)
>>        _ztrevc_ in liblapack.a(ztrevc.o)
>>        _zlatrs_ in liblapack.a(zlatrs.o)
>>    "_zaxpy_", referenced from:
>>        _zgehrd_ in liblapack.a(zgehrd.o)
>>        _zlahr2_ in liblapack.a(zlahr2.o)
>>        _zlatrs_ in liblapack.a(zlatrs.o)
>>    "_zcopy_", referenced from:
>>        ___gyre_magnus_ivp_MOD_solve_ in libgyre.a(gyre_magnus_ivp.o)
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zhseqr_ in liblapack.a(zhseqr.o)
>>        _ztrevc_ in liblapack.a(ztrevc.o)
>>        _zlahqr_ in liblapack.a(zlahqr.o)
>>        _zlahr2_ in liblapack.a(zlahr2.o)
>>        _zlarfb_ in liblapack.a(zlarfb.o)
>>        ...
>>    "_zdotc_", referenced from:
>>        _zlatrs_ in liblapack.a(zlatrs.o)
>>    "_zdotu_", referenced from:
>>        _zlatrs_ in liblapack.a(zlatrs.o)
>>    "_zdscal_", referenced from:
>>        _zgeev_ in liblapack.a(zgeev.o)
>>        _zgebak_ in liblapack.a(zgebak.o)
>>        _zgebal_ in liblapack.a(zgebal.o)
>>        _ztrevc_ in liblapack.a(ztrevc.o)
>>        _zlatrs_ in liblapack.a(zlatrs.o)
>>        _zlarfg_ in liblapack.a(zlarfg.o)
>>    "_zgemm_", referenced from:
>>        ___gyre_sysmtx_MOD_factorize_slu_c_._omp_fn.3 in libgyre.a(gyre_sysmtx.o)
>>        ___gyre_magnus_ivp_MOD_solve_ in libgyre.a(gyre_magnus_ivp.o)
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgetrf_ in liblapack.a(zgetrf.o)
>>        _zgehrd_ in liblapack.a(zgehrd.o)
>>        _zlahr2_ in liblapack.a(zlahr2.o)
>>        _zlarfb_ in liblapack.a(zlarfb.o)
>>        ...
>>    "_zgemv_", referenced from:
>>        ___gyre_sysmtx_MOD_null_vector_slu_c_._omp_fn.2 in libgyre.a(gyre_sysmtx.o)
>>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>>        _ztrevc_ in liblapack.a(ztrevc.o)
>>        _zlahr2_ in liblapack.a(zlahr2.o)
>>        _zlarf_ in liblapack.a(zlarf.o)
>>        _zlarft_ in liblapack.a(zlarft.o)
>>    "_zgerc_", referenced from:
>>        _zlarf_ in liblapack.a(zlarf.o)
>>    "_zgeru_", referenced from:
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>>        _zgetf2_ in liblapack.a(zgetf2.o)
>>    "_zscal_", referenced from:
>>        ___gyre_magnus_ivp_MOD_solve_ in libgyre.a(gyre_magnus_ivp.o)
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>>        _zgeev_ in liblapack.a(zgeev.o)
>>        _zgetf2_ in liblapack.a(zgetf2.o)
>>        _zlahqr_ in liblapack.a(zlahqr.o)
>>        _zlahr2_ in liblapack.a(zlahr2.o)
>>        ...
>>    "_zswap_", referenced from:
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>>        _zgetf2_ in liblapack.a(zgetf2.o)
>>        _zgebak_ in liblapack.a(zgebak.o)
>>        _zgebal_ in liblapack.a(zgebal.o)
>>    "_ztbsv_", referenced from:
>>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>>    "_ztrmm_", referenced from:
>>        _zgehrd_ in liblapack.a(zgehrd.o)
>>        _zlahr2_ in liblapack.a(zlahr2.o)
>>        _zlarfb_ in liblapack.a(zlarfb.o)
>>        _zlaqr5_ in liblapack.a(zlaqr5.o)
>>    "_ztrmv_", referenced from:
>>        _zlahr2_ in liblapack.a(zlahr2.o)
>>        _zlarft_ in liblapack.a(zlarft.o)
>>    "_ztrsm_", referenced from:
>>        ___gyre_sysmtx_MOD_factorize_slu_c_._omp_fn.3 in libgyre.a(gyre_sysmtx.o)
>>        ___gyre_sysmtx_MOD_null_vector_slu_c_.constprop.5 in libgyre.a(gyre_sysmtx.o)
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgetrf_ in liblapack.a(zgetrf.o)
>>        _zgetrs_ in liblapack.a(zgetrs.o)
>>    "_ztrsv_", referenced from:
>>        _zlatrs_ in liblapack.a(zlatrs.o)
>> ld: symbol(s) not found for architecture x86_64
>> collect2: error: ld returned 1 exit status
>> make: *** [tester] Error 1
>>
>> /Mesa/mesa-r7503/gyre/test
>> FAILED
>>
>> /Mesa/mesa-r7503/gyre
>> ./build_and_test FAILED
>>
>> ______________________________________________________
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> I tried just including /Applications/mesasdk/lib/libxblas.a in the LOAD_BLAS:
>>
>> LOAD_BLAS = '/Applications/mesasdk/lib/libxblas.a'
>>
>> which gave this error around where the initial error occured:
>>
>>
>>
>>
>>
>>
>>
>>
>> _____________________________________________________
>>
>>
>>      -L../../make -lf2crlibm -lcrlibm -lmtx -lconst -lutils -lmesaklu '/Applications/mesasdk/lib/liblapack.a' '/Applications/mesasdk/lib/libxblas.a' -L../../../lib
>> Undefined symbols for architecture x86_64:
>>    "_dasum_", referenced from:
>>        _dlacn2_ in liblapack.a(dlacn2.o)
>>        _dlatbs_ in liblapack.a(dlatbs.o)
>>        _dlatrs_ in liblapack.a(dlatrs.o)
>>    "_daxpy_", referenced from:
>>        _dgbcon_ in liblapack.a(dgbcon.o)
>>        _dlatbs_ in liblapack.a(dlatbs.o)
>>        _dlatrs_ in liblapack.a(dlatrs.o)
>>    "_dcopy_", referenced from:
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dlacn2_ in liblapack.a(dlacn2.o)
>>    "_ddot_", referenced from:
>>        _dgbcon_ in liblapack.a(dgbcon.o)
>>        _dlatbs_ in liblapack.a(dlatbs.o)
>>        _dlatrs_ in liblapack.a(dlatrs.o)
>>    "_dgemm_", referenced from:
>>        _dgetrf_ in liblapack.a(dgetrf.o)
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>    "_dgemv_", referenced from:
>>        ___test_square_MOD_test_square_inv in test_square.o
>>        ___mtx_support_MOD_do_lu_factored_block_dble_mv._omp_fn.2 in libmtx.a(mtx_support.o)
>>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>>    "_dger_", referenced from:
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>>        _dgetf2_ in liblapack.a(dgetf2.o)
>>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>>    "_dscal_", referenced from:
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dgetf2_ in liblapack.a(dgetf2.o)
>>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>>        _dlatbs_ in liblapack.a(dlatbs.o)
>>        _dlatrs_ in liblapack.a(dlatrs.o)
>>        _drscl_ in liblapack.a(drscl.o)
>>    "_dswap_", referenced from:
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>>        _dgetf2_ in liblapack.a(dgetf2.o)
>>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>>    "_dtbsv_", referenced from:
>>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>>        _dlatbs_ in liblapack.a(dlatbs.o)
>>    "_dtrsm_", referenced from:
>>        _dgetrf_ in liblapack.a(dgetrf.o)
>>        _dgetrs_ in liblapack.a(dgetrs.o)
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>    "_dtrsv_", referenced from:
>>        _dlatrs_ in liblapack.a(dlatrs.o)
>>    "_idamax_", referenced from:
>>        _dgbcon_ in liblapack.a(dgbcon.o)
>>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>>        _dgecon_ in liblapack.a(dgecon.o)
>>        _dgetf2_ in liblapack.a(dgetf2.o)
>>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>>        _dlacn2_ in liblapack.a(dlacn2.o)
>>        _dlatbs_ in liblapack.a(dlatbs.o)
>>        ...
>>    "_izamax_", referenced from:
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>>        _zgetf2_ in liblapack.a(zgetf2.o)
>>    "_zcopy_", referenced from:
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>    "_zgemm_", referenced from:
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgetrf_ in liblapack.a(zgetrf.o)
>>    "_zgemv_", referenced from:
>>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>>    "_zgeru_", referenced from:
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>>        _zgetf2_ in liblapack.a(zgetf2.o)
>>    "_zscal_", referenced from:
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>>        _zgetf2_ in liblapack.a(zgetf2.o)
>>    "_zswap_", referenced from:
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>>        _zgetf2_ in liblapack.a(zgetf2.o)
>>    "_ztbsv_", referenced from:
>>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>>    "_ztrsm_", referenced from:
>>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>>        _zgetrf_ in liblapack.a(zgetrf.o)
>>        _zgetrs_ in liblapack.a(zgetrs.o)
>> ld: symbol(s) not found for architecture x86_64
>> collect2: error: ld returned 1 exit status
>> make: *** [tester] Error 1
>>
>> /Mesa/mesa-r7503/mtx/test
>> FAILED
>>
>>
>> /Mesa/mesa-r7503/mtx
>> ./build_and_test FAILED
>>
>> _____________________________________________________
>>
>>
>> I assume I need both of the directories, but I thought I would give the errors from including them individually.
>>
>> I tried various forms for the LOAD_BLAS with the two file paths, but nothing apart from removing one worked. Is there a way to include both file paths in that section?
>>
>> Thanks for your help so far!
>>
>> Chris
>>
>> From: Richard Townsend <townsend at astro.wisc.edu>
>> Sent: 20 April 2015 15:58
>> To: Manser, Christopher
>> Cc: mesa-users at lists.sourceforge.net
>> Subject: Re: [mesa-users] /Mesa/mesa-r7503/mtx/test FAILED. gfortran.exec error.
>>   
>> Hmm, this is a real puzzle. For some reason, the scripts are working from the command line but not from the build system.
>>
>> As a temporary workaround, try editing mesa/utils/makefile_header to replace these lines:
>>
>> LOAD_LAPACK = `mesasdk_lapack_link`
>> LOAD_BLAS = `mesasdk_blas_link`
>>
>> with
>>
>> LOAD_LAPACK = "/Applications/mesasdk/lib/liblapack.a"
>> LOAD_BLAS = "/Applications/mesasdk/lib/libxblas.a /Applications/mesasdk/lib/libblas.a?
>>
>> cheers,
>>
>> Rich
>>
>>> On Apr 16, 2015, at 8:51 AM, Manser, Christopher <C.Manser at warwick.ac.uk <mailto:C.Manser at warwick.ac.uk>> wrote:
>>>
>>> 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 <mailto:townsend at astro.wisc.edu>>
>>> Sent: 16 April 2015 14:36
>>> To: Manser, Christopher
>>> Cc: mesa-users at lists.sourceforge.net <mailto: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- <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 <https://lists.sourceforge.net/lists/listinfo/mesa-users>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Mon, 20 Apr 2015 17:41:33 +0000
> From: "Manser, Christopher" <C.Manser at warwick.ac.uk>
> Subject: Re: [mesa-users] /Mesa/mesa-r7503/mtx/test FAILED.
> 	gfortran.exec error.
> To: Richard Townsend <townsend at astro.wisc.edu>
> Cc: "mesa-users at lists.sourceforge.net"
> 	<mesa-users at lists.sourceforge.net>
> Message-ID: <1429551692996.59832 at warwick.ac.uk>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Okay, I have set the section in the makefile_header as:
>
> LOAD_LAPACK = /Applications/mesasdk/lib/liblapack.a
> LOAD_BLAS = /Applications/mesasdk/lib/libxblas.a /Applications/mesasdk/lib/libblas.a
>
> Which seems to give the same error:
>
> __________________________________________
>
>
> ************************************************
>
> /Mesa/mesa-r7503/star
> building star package.
>
> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens -fno-sign-zero -fopenmp  -o ../star \
> 	run_star_extras.o run_star.o  run.o -L../../make -lstar -L../../../lib -lionization -latm -lcolors -lmlt -lnse -lnet -leos -lkap -lrates -lneu -lchem -linterp_2d -linterp_1d -lnum -lf2crlibm -lcrlibm -lmtx -lconst -lutils -lmesaklu /Applications/mesasdk/lib/liblapack.a /Applications/mesasdk/lib/libxblas.a /Applications/mesasdk/lib/libblas.a `mesasdk_pgplot_link` `mesasdk_se_link`
> ld: warning: directory not found for option '-L/lib'
> ld: warning: directory not found for option '-L/lib'
> ld: warning: directory not found for option '-L/lib'
> export
> done
>
> mesa/star has been built, tested, and exported.
>
> ************************************************
>
> /Mesa/mesa-r7503/gyre
> building gyre package.
>
> make: `libgyre.a' is up to date.
> make: `libgyre.a' is up to date.
> gfortran -fopenmp -o ../tester test_gyre.o -L../../make -lgyre /Applications/mesasdk/lib/liblapack.a -L../../../lib -lconst
> Undefined symbols for architecture x86_64:
>    "_daxpy_", referenced from:
>        _dgehrd_ in liblapack.a(dgehrd.o)
>        _dtrevc_ in liblapack.a(dtrevc.o)
>        _dlahr2_ in liblapack.a(dlahr2.o)
>    "_dcopy_", referenced from:
>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>        _dtrevc_ in liblapack.a(dtrevc.o)
>        _dlahqr_ in liblapack.a(dlahqr.o)
>        _dlahr2_ in liblapack.a(dlahr2.o)
>        _dlarfb_ in liblapack.a(dlarfb.o)
>        _dlaqr3_ in liblapack.a(dlaqr3.o)
>        _dlaqr2_ in liblapack.a(dlaqr2.o)
>        ...
>    "_ddot_", referenced from:
>        _dtrevc_ in liblapack.a(dtrevc.o)
>    "_dgemm_", referenced from:
>        ___gyre_sysmtx_MOD_factorize_slu_r_._omp_fn.1 in libgyre.a(gyre_sysmtx.o)
>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>        _dgetrf_ in liblapack.a(dgetrf.o)
>        _dgehrd_ in liblapack.a(dgehrd.o)
>        _dlahr2_ in liblapack.a(dlahr2.o)
>        _dlarfb_ in liblapack.a(dlarfb.o)
>        _dlaqr3_ in liblapack.a(dlaqr3.o)
>        ...
>    "_dgemv_", referenced from:
>        ___gyre_sysmtx_MOD_null_vector_slu_r_._omp_fn.0 in libgyre.a(gyre_sysmtx.o)
>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>        _dtrevc_ in liblapack.a(dtrevc.o)
>        _dlahr2_ in liblapack.a(dlahr2.o)
>        _dlarf_ in liblapack.a(dlarf.o)
>        _dlarft_ in liblapack.a(dlarft.o)
>    "_dger_", referenced from:
>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>        _dgetf2_ in liblapack.a(dgetf2.o)
>        _dlarf_ in liblapack.a(dlarf.o)
>    "_dnrm2_", referenced from:
>        _dgeev_ in liblapack.a(dgeev.o)
>        _dgebal_ in liblapack.a(dgebal.o)
>        _dlarfg_ in liblapack.a(dlarfg.o)
>    "_drot_", referenced from:
>        _dgeev_ in liblapack.a(dgeev.o)
>        _dlahqr_ in liblapack.a(dlahqr.o)
>        _dlaexc_ in liblapack.a(dlaexc.o)
>    "_dscal_", referenced from:
>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>        _dgeev_ in liblapack.a(dgeev.o)
>        _dgetf2_ in liblapack.a(dgetf2.o)
>        _dgebak_ in liblapack.a(dgebak.o)
>        _dgebal_ in liblapack.a(dgebal.o)
>        _dtrevc_ in liblapack.a(dtrevc.o)
>        ...
>    "_dswap_", referenced from:
>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>        _dgetf2_ in liblapack.a(dgetf2.o)
>        _dgebak_ in liblapack.a(dgebak.o)
>        _dgebal_ in liblapack.a(dgebal.o)
>        _dlasy2_ in liblapack.a(dlasy2.o)
>        ...
>    "_dtbsv_", referenced from:
>        _dgbtrs_ in liblapack.a(dgbtrs.o)
>    "_dtrmm_", referenced from:
>        _dgehrd_ in liblapack.a(dgehrd.o)
>        _dlahr2_ in liblapack.a(dlahr2.o)
>        _dlarfb_ in liblapack.a(dlarfb.o)
>        _dlaqr5_ in liblapack.a(dlaqr5.o)
>    "_dtrmv_", referenced from:
>        _dlahr2_ in liblapack.a(dlahr2.o)
>        _dlarft_ in liblapack.a(dlarft.o)
>    "_dtrsm_", referenced from:
>        ___gyre_sysmtx_MOD_factorize_slu_r_._omp_fn.1 in libgyre.a(gyre_sysmtx.o)
>        ___gyre_sysmtx_MOD_null_vector_slu_r_.constprop.4 in libgyre.a(gyre_sysmtx.o)
>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>        _dgetrf_ in liblapack.a(dgetrf.o)
>        _dgetrs_ in liblapack.a(dgetrs.o)
>    "_dzasum_", referenced from:
>        _ztrevc_ in liblapack.a(ztrevc.o)
>        _zlatrs_ in liblapack.a(zlatrs.o)
>    "_dznrm2_", referenced from:
>        _zgeev_ in liblapack.a(zgeev.o)
>        _zgebal_ in liblapack.a(zgebal.o)
>        _zlarfg_ in liblapack.a(zlarfg.o)
>    "_idamax_", referenced from:
>        _dgbtrf_ in liblapack.a(dgbtrf.o)
>        _dgbtf2_ in liblapack.a(dgbtf2.o)
>        _dgeev_ in liblapack.a(dgeev.o)
>        _dgetf2_ in liblapack.a(dgetf2.o)
>        _zgeev_ in liblapack.a(zgeev.o)
>        _dgebal_ in liblapack.a(dgebal.o)
>        _dtrevc_ in liblapack.a(dtrevc.o)
>        ...
>    "_izamax_", referenced from:
>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>        _zgetf2_ in liblapack.a(zgetf2.o)
>        _zgebal_ in liblapack.a(zgebal.o)
>        _ztrevc_ in liblapack.a(ztrevc.o)
>        _zlatrs_ in liblapack.a(zlatrs.o)
>    "_zaxpy_", referenced from:
>        _zgehrd_ in liblapack.a(zgehrd.o)
>        _zlahr2_ in liblapack.a(zlahr2.o)
>        _zlatrs_ in liblapack.a(zlatrs.o)
>    "_zcopy_", referenced from:
>        ___gyre_magnus_ivp_MOD_solve_ in libgyre.a(gyre_magnus_ivp.o)
>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>        _zhseqr_ in liblapack.a(zhseqr.o)
>        _ztrevc_ in liblapack.a(ztrevc.o)
>        _zlahqr_ in liblapack.a(zlahqr.o)
>        _zlahr2_ in liblapack.a(zlahr2.o)
>        _zlarfb_ in liblapack.a(zlarfb.o)
>        ...
>    "_zdotc_", referenced from:
>        _zlatrs_ in liblapack.a(zlatrs.o)
>    "_zdotu_", referenced from:
>        _zlatrs_ in liblapack.a(zlatrs.o)
>    "_zdscal_", referenced from:
>        _zgeev_ in liblapack.a(zgeev.o)
>        _zgebak_ in liblapack.a(zgebak.o)
>        _zgebal_ in liblapack.a(zgebal.o)
>        _ztrevc_ in liblapack.a(ztrevc.o)
>        _zlatrs_ in liblapack.a(zlatrs.o)
>        _zlarfg_ in liblapack.a(zlarfg.o)
>    "_zgemm_", referenced from:
>        ___gyre_sysmtx_MOD_factorize_slu_c_._omp_fn.3 in libgyre.a(gyre_sysmtx.o)
>        ___gyre_magnus_ivp_MOD_solve_ in libgyre.a(gyre_magnus_ivp.o)
>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>        _zgetrf_ in liblapack.a(zgetrf.o)
>        _zgehrd_ in liblapack.a(zgehrd.o)
>        _zlahr2_ in liblapack.a(zlahr2.o)
>        _zlarfb_ in liblapack.a(zlarfb.o)
>        ...
>    "_zgemv_", referenced from:
>        ___gyre_sysmtx_MOD_null_vector_slu_c_._omp_fn.2 in libgyre.a(gyre_sysmtx.o)
>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>        _ztrevc_ in liblapack.a(ztrevc.o)
>        _zlahr2_ in liblapack.a(zlahr2.o)
>        _zlarf_ in liblapack.a(zlarf.o)
>        _zlarft_ in liblapack.a(zlarft.o)
>    "_zgerc_", referenced from:
>        _zlarf_ in liblapack.a(zlarf.o)
>    "_zgeru_", referenced from:
>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>        _zgetf2_ in liblapack.a(zgetf2.o)
>    "_zscal_", referenced from:
>        ___gyre_magnus_ivp_MOD_solve_ in libgyre.a(gyre_magnus_ivp.o)
>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>        _zgeev_ in liblapack.a(zgeev.o)
>        _zgetf2_ in liblapack.a(zgetf2.o)
>        _zlahqr_ in liblapack.a(zlahqr.o)
>        _zlahr2_ in liblapack.a(zlahr2.o)
>        ...
>    "_zswap_", referenced from:
>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>        _zgbtf2_ in liblapack.a(zgbtf2.o)
>        _zgetf2_ in liblapack.a(zgetf2.o)
>        _zgebak_ in liblapack.a(zgebak.o)
>        _zgebal_ in liblapack.a(zgebal.o)
>    "_ztbsv_", referenced from:
>        _zgbtrs_ in liblapack.a(zgbtrs.o)
>    "_ztrmm_", referenced from:
>        _zgehrd_ in liblapack.a(zgehrd.o)
>        _zlahr2_ in liblapack.a(zlahr2.o)
>        _zlarfb_ in liblapack.a(zlarfb.o)
>        _zlaqr5_ in liblapack.a(zlaqr5.o)
>    "_ztrmv_", referenced from:
>        _zlahr2_ in liblapack.a(zlahr2.o)
>        _zlarft_ in liblapack.a(zlarft.o)
>    "_ztrsm_", referenced from:
>        ___gyre_sysmtx_MOD_factorize_slu_c_._omp_fn.3 in libgyre.a(gyre_sysmtx.o)
>        ___gyre_sysmtx_MOD_null_vector_slu_c_.constprop.5 in libgyre.a(gyre_sysmtx.o)
>        _zgbtrf_ in liblapack.a(zgbtrf.o)
>        _zgetrf_ in liblapack.a(zgetrf.o)
>        _zgetrs_ in liblapack.a(zgetrs.o)
>    "_ztrsv_", referenced from:
>        _zlatrs_ in liblapack.a(zlatrs.o)
> ld: symbol(s) not found for architecture x86_64
> collect2: error: ld returned 1 exit status
> make: *** [tester] Error 1
>
> /Mesa/mesa-r7503/gyre/test
> FAILED
>
>
> /Mesa/mesa-r7503/gyre
> ./build_and_test FAILED
>
> _______________________________________________
>
> I checked my .bashrc just now and it seems to have the same stuff in it as my .bash_profile.
> I assumed having the same stuff in both would not cause a problem?
>
> Thanks,
>
> Chris
>
>
> _________________________________
> From: Josiah Schwab <jwschwab at berkeley.edu>
> Sent: 20 April 2015 18:07
> To: Richard Townsend
> Cc: Manser, Christopher
> Subject: Re: [mesa-users] /Mesa/mesa-r7503/mtx/test FAILED. gfortran.exec error.
>
> Hi Rich,
>
>> Hmm, this is a real puzzle. For some reason, the scripts are working
>> from the command line but not from the build system.
> Christopher said that he set the variables in .bash_profile, so I'm
> going to wildly speculate that this is path problem associated with the
> difference between login (.bash_profile) and non-login (.bashrc) shells.
>
> Just a thought,
> Josiah
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 20 Apr 2015 12:47:40 -0500
> From: Richard Townsend <townsend at astro.wisc.edu>
> Subject: Re: [mesa-users] /Mesa/mesa-r7503/mtx/test FAILED.
> 	gfortran.exec	error.
> To: "Manser, Christopher" <C.Manser at warwick.ac.uk>
> Cc: "mesa-users at lists.sourceforge.net"
> 	<mesa-users at lists.sourceforge.net>
> Message-ID: <03FC1C60-C00E-4CD7-9DB5-3DFCBC2BF7E2 at astro.wisc.edu>
> Content-Type: text/plain; charset=iso-8859-1
>
> One more tweak:
>
> LOAD_LAPACK = /Applications/mesasdk/lib/liblapack.a /Applications/mesasdk/lib/libxblas.a /Applications/mesasdk/lib/libblas.a
>
> cheers,
>
> Rich
>
>> On Apr 20, 2015, at 12:41 PM, Manser, Christopher <C.Manser at warwick.ac.uk> wrote:
>>
>> Okay, I have set the section in the makefile_header as:
>>
>> LOAD_LAPACK = /Applications/mesasdk/lib/liblapack.a
>> LOAD_BLAS = /Applications/mesasdk/lib/libxblas.a /Applications/mesasdk/lib/libblas.a
>>
>> Which seems to give the same error:
>>
>> __________________________________________
>>
>>
>> ************************************************
>>
>> /Mesa/mesa-r7503/star
>> building star package.
>>
>> gfortran -fno-range-check -fmax-errors=100  -fprotect-parens -fno-sign-zero -fopenmp  -o ../star \
>> 	run_star_extras.o run_star.o  run.o -L../../make -lstar -L../../../lib -lionization -latm -lcolors -lmlt -lnse -lnet -leos -lkap -lrates -lneu -lchem -linterp_2d -linterp_1d -lnum -lf2crlibm -lcrlibm -lmtx -lconst -lutils -lmesaklu /Applications/mesasdk/lib/liblapack.a /Applications/mesasdk/lib/libxblas.a /Applications/mesasdk/lib/libblas.a `mesasdk_pgplot_link` `mesasdk_se_link`
>> ld: warning: directory not found for option '-L/lib'
>> ld: warning: directory not found for option '-L/lib'
>> ld: warning: directory not found for option '-L/lib'
>> export
>> done
>>
>> mesa/star has been built, tested, and exported.
>>
>> ************************************************
>>
>> /Mesa/mesa-r7503/gyre
>> building gyre package.
>>
>> make: `libgyre.a' is up to date.
>> make: `libgyre.a' is up to date.
>> gfortran -fopenmp -o ../tester test_gyre.o -L../../make -lgyre /Applications/mesasdk/lib/liblapack.a -L../../../lib -lconst
>> Undefined symbols for architecture x86_64:
>>   "_daxpy_", referenced from:
>>       _dgehrd_ in liblapack.a(dgehrd.o)
>>       _dtrevc_ in liblapack.a(dtrevc.o)
>>       _dlahr2_ in liblapack.a(dlahr2.o)
>>   "_dcopy_", referenced from:
>>       _dgbtrf_ in liblapack.a(dgbtrf.o)
>>       _dtrevc_ in liblapack.a(dtrevc.o)
>>       _dlahqr_ in liblapack.a(dlahqr.o)
>>       _dlahr2_ in liblapack.a(dlahr2.o)
>>       _dlarfb_ in liblapack.a(dlarfb.o)
>>       _dlaqr3_ in liblapack.a(dlaqr3.o)
>>       _dlaqr2_ in liblapack.a(dlaqr2.o)
>>       ...
>>   "_ddot_", referenced from:
>>       _dtrevc_ in liblapack.a(dtrevc.o)
>>   "_dgemm_", referenced from:
>>       ___gyre_sysmtx_MOD_factorize_slu_r_._omp_fn.1 in libgyre.a(gyre_sysmtx.o)
>>       _dgbtrf_ in liblapack.a(dgbtrf.o)
>>       _dgetrf_ in liblapack.a(dgetrf.o)
>>       _dgehrd_ in liblapack.a(dgehrd.o)
>>       _dlahr2_ in liblapack.a(dlahr2.o)
>>       _dlarfb_ in liblapack.a(dlarfb.o)
>>       _dlaqr3_ in liblapack.a(dlaqr3.o)
>>       ...
>>   "_dgemv_", referenced from:
>>       ___gyre_sysmtx_MOD_null_vector_slu_r_._omp_fn.0 in libgyre.a(gyre_sysmtx.o)
>>       _dgbtrs_ in liblapack.a(dgbtrs.o)
>>       _dtrevc_ in liblapack.a(dtrevc.o)
>>       _dlahr2_ in liblapack.a(dlahr2.o)
>>       _dlarf_ in liblapack.a(dlarf.o)
>>       _dlarft_ in liblapack.a(dlarft.o)
>>   "_dger_", referenced from:
>>       _dgbtrf_ in liblapack.a(dgbtrf.o)
>>       _dgbtrs_ in liblapack.a(dgbtrs.o)
>>       _dgbtf2_ in liblapack.a(dgbtf2.o)
>>       _dgetf2_ in liblapack.a(dgetf2.o)
>>       _dlarf_ in liblapack.a(dlarf.o)
>>   "_dnrm2_", referenced from:
>>       _dgeev_ in liblapack.a(dgeev.o)
>>       _dgebal_ in liblapack.a(dgebal.o)
>>       _dlarfg_ in liblapack.a(dlarfg.o)
>>   "_drot_", referenced from:
>>       _dgeev_ in liblapack.a(dgeev.o)
>>       _dlahqr_ in liblapack.a(dlahqr.o)
>>       _dlaexc_ in liblapack.a(dlaexc.o)
>>   "_dscal_", referenced from:
>>       _dgbtrf_ in liblapack.a(dgbtrf.o)
>>       _dgbtf2_ in liblapack.a(dgbtf2.o)
>>       _dgeev_ in liblapack.a(dgeev.o)
>>       _dgetf2_ in liblapack.a(dgetf2.o)
>>       _dgebak_ in liblapack.a(dgebak.o)
>>       _dgebal_ in liblapack.a(dgebal.o)
>>       _dtrevc_ in liblapack.a(dtrevc.o)
>>       ...
>>   "_dswap_", referenced from:
>>       _dgbtrf_ in liblapack.a(dgbtrf.o)
>>       _dgbtrs_ in liblapack.a(dgbtrs.o)
>>       _dgbtf2_ in liblapack.a(dgbtf2.o)
>>       _dgetf2_ in liblapack.a(dgetf2.o)
>>       _dgebak_ in liblapack.a(dgebak.o)
>>       _dgebal_ in liblapack.a(dgebal.o)
>>       _dlasy2_ in liblapack.a(dlasy2.o)
>>       ...
>>   "_dtbsv_", referenced from:
>>       _dgbtrs_ in liblapack.a(dgbtrs.o)
>>   "_dtrmm_", referenced from:
>>       _dgehrd_ in liblapack.a(dgehrd.o)
>>       _dlahr2_ in liblapack.a(dlahr2.o)
>>       _dlarfb_ in liblapack.a(dlarfb.o)
>>       _dlaqr5_ in liblapack.a(dlaqr5.o)
>>   "_dtrmv_", referenced from:
>>       _dlahr2_ in liblapack.a(dlahr2.o)
>>       _dlarft_ in liblapack.a(dlarft.o)
>>   "_dtrsm_", referenced from:
>>       ___gyre_sysmtx_MOD_factorize_slu_r_._omp_fn.1 in libgyre.a(gyre_sysmtx.o)
>>       ___gyre_sysmtx_MOD_null_vector_slu_r_.constprop.4 in libgyre.a(gyre_sysmtx.o)
>>       _dgbtrf_ in liblapack.a(dgbtrf.o)
>>       _dgetrf_ in liblapack.a(dgetrf.o)
>>       _dgetrs_ in liblapack.a(dgetrs.o)
>>   "_dzasum_", referenced from:
>>       _ztrevc_ in liblapack.a(ztrevc.o)
>>       _zlatrs_ in liblapack.a(zlatrs.o)
>>   "_dznrm2_", referenced from:
>>       _zgeev_ in liblapack.a(zgeev.o)
>>       _zgebal_ in liblapack.a(zgebal.o)
>>       _zlarfg_ in liblapack.a(zlarfg.o)
>>   "_idamax_", referenced from:
>>       _dgbtrf_ in liblapack.a(dgbtrf.o)
>>       _dgbtf2_ in liblapack.a(dgbtf2.o)
>>       _dgeev_ in liblapack.a(dgeev.o)
>>       _dgetf2_ in liblapack.a(dgetf2.o)
>>       _zgeev_ in liblapack.a(zgeev.o)
>>       _dgebal_ in liblapack.a(dgebal.o)
>>       _dtrevc_ in liblapack.a(dtrevc.o)
>>       ...
>>   "_izamax_", referenced from:
>>       _zgbtrf_ in liblapack.a(zgbtrf.o)
>>       _zgbtf2_ in liblapack.a(zgbtf2.o)
>>       _zgetf2_ in liblapack.a(zgetf2.o)
>>       _zgebal_ in liblapack.a(zgebal.o)
>>       _ztrevc_ in liblapack.a(ztrevc.o)
>>       _zlatrs_ in liblapack.a(zlatrs.o)
>>   "_zaxpy_", referenced from:
>>       _zgehrd_ in liblapack.a(zgehrd.o)
>>       _zlahr2_ in liblapack.a(zlahr2.o)
>>       _zlatrs_ in liblapack.a(zlatrs.o)
>>   "_zcopy_", referenced from:
>>       ___gyre_magnus_ivp_MOD_solve_ in libgyre.a(gyre_magnus_ivp.o)
>>       _zgbtrf_ in liblapack.a(zgbtrf.o)
>>       _zhseqr_ in liblapack.a(zhseqr.o)
>>       _ztrevc_ in liblapack.a(ztrevc.o)
>>       _zlahqr_ in liblapack.a(zlahqr.o)
>>       _zlahr2_ in liblapack.a(zlahr2.o)
>>       _zlarfb_ in liblapack.a(zlarfb.o)
>>       ...
>>   "_zdotc_", referenced from:
>>       _zlatrs_ in liblapack.a(zlatrs.o)
>>   "_zdotu_", referenced from:
>>       _zlatrs_ in liblapack.a(zlatrs.o)
>>   "_zdscal_", referenced from:
>>       _zgeev_ in liblapack.a(zgeev.o)
>>       _zgebak_ in liblapack.a(zgebak.o)
>>       _zgebal_ in liblapack.a(zgebal.o)
>>       _ztrevc_ in liblapack.a(ztrevc.o)
>>       _zlatrs_ in liblapack.a(zlatrs.o)
>>       _zlarfg_ in liblapack.a(zlarfg.o)
>>   "_zgemm_", referenced from:
>>       ___gyre_sysmtx_MOD_factorize_slu_c_._omp_fn.3 in libgyre.a(gyre_sysmtx.o)
>>       ___gyre_magnus_ivp_MOD_solve_ in libgyre.a(gyre_magnus_ivp.o)
>>       _zgbtrf_ in liblapack.a(zgbtrf.o)
>>       _zgetrf_ in liblapack.a(zgetrf.o)
>>       _zgehrd_ in liblapack.a(zgehrd.o)
>>       _zlahr2_ in liblapack.a(zlahr2.o)
>>       _zlarfb_ in liblapack.a(zlarfb.o)
>>       ...
>>   "_zgemv_", referenced from:
>>       ___gyre_sysmtx_MOD_null_vector_slu_c_._omp_fn.2 in libgyre.a(gyre_sysmtx.o)
>>       _zgbtrs_ in liblapack.a(zgbtrs.o)
>>       _ztrevc_ in liblapack.a(ztrevc.o)
>>       _zlahr2_ in liblapack.a(zlahr2.o)
>>       _zlarf_ in liblapack.a(zlarf.o)
>>       _zlarft_ in liblapack.a(zlarft.o)
>>   "_zgerc_", referenced from:
>>       _zlarf_ in liblapack.a(zlarf.o)
>>   "_zgeru_", referenced from:
>>       _zgbtrf_ in liblapack.a(zgbtrf.o)
>>       _zgbtrs_ in liblapack.a(zgbtrs.o)
>>       _zgbtf2_ in liblapack.a(zgbtf2.o)
>>       _zgetf2_ in liblapack.a(zgetf2.o)
>>   "_zscal_", referenced from:
>>       ___gyre_magnus_ivp_MOD_solve_ in libgyre.a(gyre_magnus_ivp.o)
>>       _zgbtrf_ in liblapack.a(zgbtrf.o)
>>       _zgbtf2_ in liblapack.a(zgbtf2.o)
>>       _zgeev_ in liblapack.a(zgeev.o)
>>       _zgetf2_ in liblapack.a(zgetf2.o)
>>       _zlahqr_ in liblapack.a(zlahqr.o)
>>       _zlahr2_ in liblapack.a(zlahr2.o)
>>       ...
>>   "_zswap_", referenced from:
>>       _zgbtrf_ in liblapack.a(zgbtrf.o)
>>       _zgbtrs_ in liblapack.a(zgbtrs.o)
>>       _zgbtf2_ in liblapack.a(zgbtf2.o)
>>       _zgetf2_ in liblapack.a(zgetf2.o)
>>       _zgebak_ in liblapack.a(zgebak.o)
>>       _zgebal_ in liblapack.a(zgebal.o)
>>   "_ztbsv_", referenced from:
>>       _zgbtrs_ in liblapack.a(zgbtrs.o)
>>   "_ztrmm_", referenced from:
>>       _zgehrd_ in liblapack.a(zgehrd.o)
>>       _zlahr2_ in liblapack.a(zlahr2.o)
>>       _zlarfb_ in liblapack.a(zlarfb.o)
>>       _zlaqr5_ in liblapack.a(zlaqr5.o)
>>   "_ztrmv_", referenced from:
>>       _zlahr2_ in liblapack.a(zlahr2.o)
>>       _zlarft_ in liblapack.a(zlarft.o)
>>   "_ztrsm_", referenced from:
>>       ___gyre_sysmtx_MOD_factorize_slu_c_._omp_fn.3 in libgyre.a(gyre_sysmtx.o)
>>       ___gyre_sysmtx_MOD_null_vector_slu_c_.constprop.5 in libgyre.a(gyre_sysmtx.o)
>>       _zgbtrf_ in liblapack.a(zgbtrf.o)
>>       _zgetrf_ in liblapack.a(zgetrf.o)
>>       _zgetrs_ in liblapack.a(zgetrs.o)
>>   "_ztrsv_", referenced from:
>>       _zlatrs_ in liblapack.a(zlatrs.o)
>> ld: symbol(s) not found for architecture x86_64
>> collect2: error: ld returned 1 exit status
>> make: *** [tester] Error 1
>>
>> /Mesa/mesa-r7503/gyre/test
>> FAILED
>>
>>
>> /Mesa/mesa-r7503/gyre
>> ./build_and_test FAILED
>>
>> _______________________________________________
>>
>> I checked my .bashrc just now and it seems to have the same stuff in it as my .bash_profile.
>> I assumed having the same stuff in both would not cause a problem?
>>
>> Thanks,
>>
>> Chris
>>
>>
>> _________________________________
>> From: Josiah Schwab <jwschwab at berkeley.edu>
>> Sent: 20 April 2015 18:07
>> To: Richard Townsend
>> Cc: Manser, Christopher
>> Subject: Re: [mesa-users] /Mesa/mesa-r7503/mtx/test FAILED. gfortran.exec error.
>>
>> Hi Rich,
>>
>>> Hmm, this is a real puzzle. For some reason, the scripts are working
>>> from the command line but not from the build system.
>> Christopher said that he set the variables in .bash_profile, so I'm
>> going to wildly speculate that this is path problem associated with the
>> difference between login (.bash_profile) and non-login (.bashrc) shells.
>>
>> Just a thought,
>> Josiah
>
>
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> 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
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
> End of mesa-users Digest, Vol 68, Issue 9
> *****************************************

-- 
:) == :) == :) == :) == :) == :) == :) == :) == :) == :)
+  Dr Raphael Hirschi            r.hirschi at keele.ac.uk +
+  Reader in Astrophysics (Associate Professor)        +
+  Astrophysics Group                                  +
+  School of Physical and Geographical Sciences        +
+  Keele University                                    +
+  Lennard-Jones Labs (LJ2.09),   tel  +44 1782 733324 +
+  KEELE, ST5 5BG                 fax  +44 1782 733750 +
+  UK            http://www.astro.keele.ac.uk/~hirschi +
:) == :) == :) == :) == :) == :) == :) == :) == :) == :)





More information about the Mesa-users mailing list