[mesa-users] Installing MESA

Jared Brooks brooksjaredc at gmail.com
Wed Apr 11 17:27:48 EDT 2012


Here's a command I found concerning PATH in my .profile:

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

And here's the output to that source command:

jared at ubuntu:~/mesa$ source $MESASDK_ROOT/bin/mesasdk_init.sh
bash: /opt/mesasdk/bin/mesasdk_init.sh: Permission denied

I've had a hunch that permissions were at the source of my problems, but I
still don't understand why it's keeping me out.

-Jared

On Wed, Apr 11, 2012 at 2:20 PM, Richard Townsend
<townsend at astro.wisc.edu>wrote:

> OK, thanks. Please post the output when you run
>
> source $MESASDK_ROOT/bin/mesasdk_init.sh
>
> Also, please confirm that you don't have anything else in your .profile
> startup script which overwrites the PATH environment variable.
>
> cheers,
>
> Rich
>
> On Apr 11, 2012, at 4:17 PM, Jared Brooks wrote:
>
> jared at ubuntu:~/mesa$ which gfortran
> jared at ubuntu:~/mesa$ echo $MESASDK_ROOT
> /opt/mesasdk
> jared at ubuntu:~/mesa$ echo $PATH
>
> /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>
> -Jared
>
> On Wed, Apr 11, 2012 at 2:14 PM, Richard Townsend <townsend at astro.wisc.edu
> > wrote:
>
>> After you get the 'make: gfortran: Command not found', please run the
>> following commands and post the output:
>>
>> which gfortran
>>
>> echo $MESASDK_ROOT
>>
>> echo $PATH
>>
>> cheers,
>>
>> Rich
>>
>> On Apr 11, 2012, at 4:10 PM, Jared Brooks wrote:
>>
>> I have had these commands in my .profile
>>
>> export MESASDK_ROOT=/opt/mesasdk
>> source $MESASDK_ROOT/bin/mesasdk_init.sh
>> export OMP_NUM_THREADS=4
>> export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
>> export LD_RUN_PATH=/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu
>>
>> -Jared
>>
>> On Wed, Apr 11, 2012 at 1:53 PM, Richard Townsend <
>> townsend at astro.wisc.edu> wrote:
>>
>>> Have you initialized the SDK properly using the appropriate script? You
>>> have to do this each time you log in -- or add a line to your start-up file
>>> (.cshrc, .bashrc, etc.)
>>>
>>> On Apr 11, 2012, at 3:33 PM, Jared Brooks wrote:
>>>
>>> > Hello, I'm running Ubuntu and I can't get MESA installed completely.
>>>  I'm using the MESA_SDK and I followed the FAQ, yet I'm still stuck.  I got
>>> the install script to run for a few hours before it stopped and now will
>>> only give me this:
>>> >
>>> > jared at ubuntu:~/mesa$ ./install
>>> > checking if ndiff is installed ...
>>> > yes!
>>> >
>>> > /home/jared/mesa/const
>>> > building const package.
>>> >
>>> > gfortran -fno-range-check  -fopenmp  -I../public -I../private
>>> -I../../include -Wunused-value -Werror -W -fimplicit-none   -O2 -c
>>> -ffixed-form -ffixed-line-length-132 ../public/const_def.f
>>> > make: gfortran: Command not found
>>> > make: *** [const_def.o] Error 127
>>> >
>>> > /home/jared/mesa/const/make
>>> > FAILED
>>> >
>>> >
>>> > /home/jared/mesa/const
>>> > ./build_and_test FAILED
>>> >
>>> >
>>> > And I found this message in the file mesa/const/test/tmp.txt:
>>> >
>>> > ./tester: error while loading shared libraries: libgfortran.so.3:
>>> cannot open shared object file: No such file or directory
>>> >
>>> > I found the file libgfortran.so.3 in /opt/mesasdk/lib64/, it seems to
>>> be just a pointer to libgfortran.so.3.0.0.
>>> >
>>> > -Jared
>>> >
>>> ------------------------------------------------------------------------------
>>> > Better than sec? Nothing is better than sec when it comes to
>>> > monitoring Big Data applications. Try Boundary one-second
>>> > resolution app monitoring today. Free.
>>> >
>>> http://p.sf.net/sfu/Boundary-dev2dev_______________________________________________
>>> > mesa-users mailing list
>>> > 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/20120411/29341202/attachment.html>


More information about the Mesa-users mailing list