[mesa-users] MESA SDK installation problem

Richard Townsend townsend at astro.wisc.edu
Sun Mar 10 15:07:04 EDT 2013


Hi Nadine --

Thanks for the detailed report.

On Mar 10, 2013, at 1:38 PM, Nadine Nettelmann wrote:

> Hi, 
> we are trying to install MESA both with and without the SDK. Without the sdk, all modules but nse and adipls could be installed properly.
> However, with the SDK we run into apparently SDK relatied problems, please see below the report of our admin (Hart):
> 
> Firstly, about the machine;
> 
> [nadinen at umbriel a]$ uname -a
> Linux umbriel.ucolick.org 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6 03:10:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> 
> [nadinen at umbriel a]$ echo $PATH
> /a/mesasdk/bin:/u/nadinen/bin:/a/gcc/bin:/usr/bin:/usr/sbin: /bin:/sbin:/opt/bin:/opt/share/bin:/usr/X11R6/bin
> 
> [nadinen at umbriel a]$ pwd
> /a
> [nadinen at umbriel a]$ tar xfBpz mesasdk-x86_64-linux-20120809.tar.gz
> [nadinen at umbriel a]$ export MESASDK_ROOT=/a/mesasdk
> [nadinen at umbriel a]$ source $MESASDK_ROOT/bin/mesasdk_init.sh
> 
> Following the instruction here:
> 
> http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk #Installation
> 
> I run:
> 
> [nadinen at umbriel a]$ gfortran --version
> 
> Where it hangs.
> 
> I ran a stack trace against gfortran:
> 
> [nadinen at umbriel a]$ which gfortran
> /a/mesasdk/bin/gfortran
> [nadinen at umbriel a]$ strace gfortran --version
> 
> and I see:
> 
> execve("/a/mesasdk/bin/gfortran.exec", ["/a/mesasdk/bin/gfortran.exec", "--version"], [/* 27 vars */]) = 0
> brk(0)                                  = 0x1070000
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f87a72f9000
> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
> open("/home/townsend/mesasdk/lib64/tls/x86_64/libm.so.6 ", O_RDONLY) = -1 ENOENT (No such file or directory)
> stat("/home/townsend/mesasdk/lib64/tls/x86_64", 0x7fff3113d750) = -1 ENOENT (No such file or directory)
> open("/home/townsend/mesasdk/lib64/tls/libm.so.6", O_RDONLY = -1 ENOENT (No such file or directory)
> stat("/home/townsend/mesasdk/lib64/tls", 0x7fff3113d750) = -1 ENOENT (No such file or directory)
> open("/home/townsend/mesasdk/lib64/x86_64/libm.so.6 ", O_RDONLY
> 
> it goes on and on with calls to /home/townsend/mesasdk, which doesn't exist.  Why is it making calls to /home/townsend?  Any help would be appreciated.
> 

It's trying to access this directory because that's where mesasdk was installed when I built the SDK.  However, these references to /home/townsend/mesasdk shouldn't matter, because the SDK installs a wrapper script which overrides these library paths -- see $MESASDK_ROOT/bin/gcc.wrapper.

In any case, the problem is fundamentally that the gfortran executable (gfortran.exec) can't find the standard math library (libm.so) installed on your system. To track this library down, can you send me the output of 'ls -l /lib64'

Many thanks,

Rich

> -Hart
> 
> Many thanks for help,
> Nadine
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
> endpoint security space. For insight on selecting the right partner to 
> tackle endpoint security challenges, access the full report. 
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users





More information about the Mesa-users mailing list