[mesa-users] I can't run test-mesa
Willie Strickland
cwskas at gmail.com
Wed Oct 8 06:55:52 EDT 2014
Excellent!
Each time you start the terminal to run mesa you will have to enter the commands or you will have to put them into your .bashrc file.
Also, follow the tutorials here:
http://mesa.sourceforge.net/starting.html
http://mesa.sourceforge.net/pgstar.html
Willie
On Oct 8, 2014, at 1:12 AM, sanaz <sanaz.lotfiani at gmail.com> wrote:
> Dear Willi
>
> Thank you for guiding. I try again and I hope solve my problem
> I can say just thanks a lot.
>
> best wishes
> Sanaz
>
>
> On Mehr 15, 1393 AP, at 22:07, Willie Strickland <cwskas at gmail.com> wrote:
>
>> I think we may have hit on the problem. You are using the built-in gfortran and not the sdk fortran.
>>
>> Here are the results for my system.
>>
>> [kepler:~/Documents/mesa] willie% gfortran -v
>> Using built-in specs.
>> COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
>> COLLECT_LTO_WRAPPER=/Applications/mesasdk/libexec/gcc/x86_64-apple-darwin11.4.2/4.10.0/lto-wrapper
>> Target: x86_64-apple-darwin11.4.2
>> Configured with: ./configure CC='gcc -D_FORTIFY_SOURCE=0' --build=x86_64-apple-darwin11.4.2 --prefix=/Applications/mesasdk --with-gmp=/Applications/mesasdk --with-mpfr=/Applications/mesasdk --with-mpc=/Applications/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer
>> Thread model: posix
>> gcc version 4.10.0 20140710 (experimental) (GCC)
>>
>> [kepler:~/Documents/mesa] willie% echo $MESASDK_ROOT
>> /Applications/mesasdk
>>
>> [kepler:~/Documents/mesa] willie% echo $MESA_DIR
>> /users/willie/mesa
>>
>> You $PATH should also include /Applications/mesasdk/bin
>>
>>
>> To correct the problem do the following from the command line one at a time until you get the prompt back.
>>
>> These are found here:
>>
>> http://mesa.sourceforge.net/prereqs.html#toc-1-7
>>
>> The commands are different depending on which shell you are using.
>>
>> echo $SHELL <== tells you which shell you are using, mine says /bin/tcsh
>>
>> for the csh varieties like I am using
>>
>> setenv OMP_NUM_THREADS 4
>> setenv MESA_DIR /users/willie/mesa
>> setenv MESASDK_ROOT /Applications/mesasdk
>> source $MESASDK_ROOT/bin/mesasdk_init.csh
>>
>> for the bash shell
>>
>> export OMP_NUM_THREADS=4
>> export MESA_DIR=/users/willie/mesa
>> export MESASDK_ROOT=/Applications/mesasdk
>> source $MESASDK_ROOT/bin/mesasdk_init.sh
>>
>> The OMP_NUM_THREADS should be how many cores your processor has.
>>
>> Now execute the commands again.
>>
>> gfortran -v
>> echo $MESA_DIR
>> echo $MESASDK_ROOT
>>
>> If they show similar info to what I have, then try running your test again.
>>
>> Willie
>>
>>
>> On Oct 7, 2014, at 11:44 AM, sanaz <sanaz.lotfiani at gmail.com> wrote:
>>
>>> Users-MacBook-Pro:~ User$ gfortran -v
>>> Using built-in specs.
>>> COLLECT_GCC=gfortran
>>> COLLECT_LTO_WRAPPER=/usr/local/gfortran/libexec/gcc/x86_64-apple-darwin13/4.9.0/lto-wrapper
>>> Target: x86_64-apple-darwin13
>>> Configured with: ../gcc-4.9.0/configure --prefix=/usr/local/gfortran --with-gmp=/Users/fx/devel/gcc/deps-static/x86_64 --build=x86_64-apple-darwin13 --enable-languages=c,c++,fortran,objc,obj-c++
>>> Thread model: posix
>>> gcc version 4.9.0 (GCC)
>>> Users-MacBook-Pro:~ User$ echo $PATH
>>> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
>>>
>>> Users-MacBook-Pro:~ User$ echo $MESA_DIR
>>>
>>> Users-MacBook-Pro:~ User$ echo $MESASDK_ROOT
>>>
>>
>
More information about the Mesa-users
mailing list