[mesa-users] MESA installation

Robert Farmer rjfarmer at asu.edu
Wed Jul 27 19:09:24 EDT 2016


Hi

>COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper

So the problem is your not using the sdk compiler.  Your path variables you
probably don't want it in /etc/profile instead try them in ~/.profile (or
~/.bash_profile or ~/.bashrc i never remember which) but make sure you
source the file afterwards before trying to compile mesa, as it looks like
it hasn't read the variables (that is why echo $MESASDK_ROOT is empty). And
also do a ./clean before trying again to remove old compilation files.

Rob

On Wed, Jul 27, 2016 at 2:08 PM, Winsor, Nathan W. <nwwinsor at grenfell.mun.ca
> wrote:

> Hi,
>
>
> I'm having some problems installing MESA, can you help me with this?
>
>
> I downloaded and unzipped the MESA SDK Jan. 29,2016 version.
>
>
> I then went into the shell start up file (sudo emacs /etc/profile) and
> added these lines to the end:
>
>
> export MESA_DIR='/home/nwinsor/MESA/mesasdk/mesa'
> export OMP_NUM_THREADS=4
> export MESASDK_ROOT='/home/nwinsor/MESA/mesasdk'
> source $MESASDK_ROOT/bin/mesasdk_init.csh
>
> Then I ran:
>
>
> svn co -r 8845 svn://svn.code.sf.net/p/mesa/code/trunk mesa
>
>
> and moved that directory to a better place (
> /home/nwinsor/MESA/mesasdk/mesa).
>
>
> When I go to that directory in terminal, and enter ./install, this is the
> error I get:
>
>
> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>
> /home/nwinsor/MESA/mesasdk/mesa/const
> building const package.
>
> gfortran -fopenmp -o ../tester test_const.o -L../../make -lconst
> export
> done
>
> mesa/const has been built, tested, and exported.
>
> ************************************************
>
> /home/nwinsor/MESA/mesasdk/mesa/utils
> building utils package.
>
> gfortran -fno-range-check -fmax-errors=7  -fprotect-parens -fno-sign-zero
> -fbacktrace -ggdb -finit-real=snan -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
> ../private/utils_nan_qp.f90
> ../private/utils_nan_qp.f90:584.27:
>
>     call C_F_POINTER(C_LOC(x), ix, [2,SHAPE(x)])
>                            1
> Error: Assumed-shape array 'x' at (1) cannot be an argument to the
> procedure 'c_loc' because it is not C interoperable
> ../private/utils_nan_qp.f90:552.27:
>
>     call C_F_POINTER(C_LOC(x), ix, [2,SHAPE(x)])
>                            1
> Error: Assumed-shape array 'x' at (1) cannot be an argument to the
> procedure 'c_loc' because it is not C interoperable
> ../private/utils_nan_qp.f90:520.27:
>
>     call C_F_POINTER(C_LOC(x), ix, [1,SHAPE(x)])
>                            1
> Error: Assumed-shape array 'x' at (1) cannot be an argument to the
> procedure 'c_loc' because it is not C interoperable
> ../private/utils_nan_qp.f90:488.27:
>
>     call C_F_POINTER(C_LOC(x), ix, [2,SHAPE(x)])
>                            1
> Error: Assumed-shape array 'x' at (1) cannot be an argument to the
> procedure 'c_loc' because it is not C interoperable
> make: *** [utils_nan_qp.o] Error 1
>
> /home/nwinsor/MESA/mesasdk/mesa/utils/make
> FAILED
>
>
> /home/nwinsor/MESA/mesasdk/mesa/utils
> ./build_and_test FAILED
>
>
> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> I have tried to trouble shoot this, and I think it has something to do
> with my gfortran? No luck changing the shell start up file in various ways.
>
> I'm running Ubuntu 14.04, and when I enter    echo $MESASDK_ROOT    it
> gives me a blank.
>
> Also:
> nwinsor at Nathan-HP:~/MESA/mesasdk/mesa$ uname -a
> Linux Nathan-HP 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:26 UTC
> 2016 x86_64 x86_64 x86_64 GNU/Linux
>
> and:
> nwinsor at Nathan-HP:~/MESA/mesasdk/mesa$ gfortran -v
> Using built-in specs.
> COLLECT_GCC=gfortran
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu
> 4.8.4-2ubuntu1~14.04.3'
> --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
> --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
> --program-suffix=-4.8 --enable-shared --enable-linker-build-id
> --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
> --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
> --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
> --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
> --enable-plugin --with-system-zlib --disable-browser-plugin
> --enable-java-awt=gtk --enable-gtk-cairo
> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre
> --enable-java-home
> --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
> --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
> --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
> --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
> --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic
> --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
> --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
>
>
>
>
> Thanks in advanced for any help you can provide!
>
> Regards,
> Nathan
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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/20160727/546a2389/attachment.html>


More information about the Mesa-users mailing list