[mesa-users] More basic questions

Pam Rowden pam_rowden at yahoo.com
Wed Mar 20 13:21:13 EDT 2013


Hi Rob

Thanks for this tip! :-)

Pam


________________________________
 From: Rob.Farmer <Rob.Farmer at open.ac.uk>
To: Pam Rowden <pam_rowden at yahoo.com> 
Cc: "mesa-users at lists.sourceforge.net" <mesa-users at lists.sourceforge.net> 
Sent: Wednesday, 20 March 2013, 16:33
Subject: RE: [mesa-users] More basic questions
 
Hi
Also you'll need to cd to the directory (/Users/pamrowden/Documents/mesa/teststar) then run ./mk as the mk script uses relative paths, otherwise the mk script will try to cd to a directory call make in your current working directory.

Rob
________________________________________
From: Richard Townsend [townsend at astro.wisc.edu]
Sent: 20 March 2013 16:19
To: Pam Rowden
Cc: mesa-users at lists.sourceforge.net
Subject: Re: [mesa-users] More basic questions

Hi Pam --

Have you installed the Xcode developer tools? These are needed to provide the 'make' program (and many other programs).

cheers,

Rich

On Mar 20, 2013, at 11:14 AM, Pam Rowden wrote:

> Hi Mesa-Users
>
> Some more extremely basic questions!
>
> 1. Working through the Sample exercise, I can edit the make/makefile to set MESA_DIR the path to my Mesa directory OK: in the second part, edit src/sample.f to set 'data_dir' to be the path to the mesa data directory, which part of sample.f am I supposed to be changing?
>
> 2. In any of the examples, running the "mk" script results in the following:
> --------------------------------------------------------------------------------------------------------------
> pam-rowdens-imac:~ pamrowden$ /Users/pamrowden/Documents/mesa/teststar/mk ; exit;
> /Users/pamrowden/Documents/mesa/teststar/mk: line 13: cd: make: No such file or directory
> /Users/pamrowden/Documents/mesa/teststar/mk: line 13: make: command not found
>
> FAILED
>
> logout
>
> [Process completed]
> ----------------------------------------------------------------------------------------------------------------
> Now, I can see the folder "make" sitting there in each case: how do I get round this problem?
>
> Thank you in advance for any assistance you can give.
>
> Pam
>
> (Mac OS X, version 10.5.8)
>
>
>
> From: Matteo Cantiello <cantiel at kitp.ucsb.edu>
> To: Pam Rowden <pam_rowden at yahoo.com>
> Cc: "mesa-users at lists.sourceforge.net" <mesa-users at lists.sourceforge.net>
> Sent: Wednesday, 20 March 2013, 12:36
> Subject: Re: [mesa-users] Problems setting up MESA
>
> Hi Pam,
> as you can see in Rich's MESA SDK page http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk
> setting the environmental variables requires a different syntax depending on the type of terminal shell installed on your computer.
> The default for most of OS installations is the BASH shell. So the commands that work for you are:
>
> export MESASDK_ROOT=/Applications/mesasdk
> source $MESASDK_ROOT/bin/mesasdk_init.sh
>
> Now, as Rich explains to avoid repeating these commands everytime a session is started, you want to add those two lines
> to a bash startup file. For example you can edit the file:
>
> ~/.bash_profile
>
> and add those two lines there.
>
> Cheers,
> Matteo
>
>
>
> On Mar 20, 2013, at 12:48 PM, Pam Rowden wrote:
>
>> Dear Mesa-Users
>>
>> I am using Mac OS 10.5.8 and this will probably appear to be a very silly question.
>>
>> MESA appears to have downloaded and installed itself correctly.
>>
>> The mesasdk appropriate for my system has been downloaded.
>>
>> During the process for installing mesa sdk as described on Rick Townsend's page, here is what I type and here is what I get out:
>>
>> pam-rowdens-imac:~ pamrowden$ setenv MESASDK_ROOT /Applications/mesasdk
>> -bash: setenv: command not found
>> pam-rowdens-imac:~ pamrowden$ export MESASDK_ROOT=/Applications/mesasdk
>> pam-rowdens-imac:~ pamrowden$ source $MESASDK_ROOT/bin/mesasdk_init.csh
>> -bash: /Applications/mesasdk/bin/mesasdk_init.csh: line 26: syntax error: unexpected end of file
>> pam-rowdens-imac:~ pamrowden$ source $MESASDK_ROOT/bin/mesasdk_init.sh
>> pam-rowdens-imac:~ pamrowden$
>>
>> This was typed into Terminal.
>>
>> Any assistance would be appreciated.
>>
>> Pam
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_mar_______________________________________________
>> mesa-users mailing list
>> mesa-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
> Dr. Matteo Cantiello ------------------------
> Kavli Institute for Theoretical Physics
> Room 1226 Kohn Hall CA 93106-4030
> University of California, Santa Barbara
> ---------------- http://matteocantiello.com/
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar_______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
mesa-users mailing list
mesa-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa-users

-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20130320/47e1fdc1/attachment.html>


More information about the Mesa-users mailing list