[mesa-users] MESA compilation on BG/P with XL compilers

Bill Paxton paxton at kitp.ucsb.edu
Tue Oct 29 15:26:01 EDT 2013


> Is there a way to compile MESA without executing any tests during compilation?

Hi Sean,

Interesting!  

The compile-time tests are done by scripts called "ck" that live in the test directories.
For example, mesa/mlt/test/ck is a one-liner:
./../../utils/test/ck4

All of the ck scripts are like this -- they just run a script from utils.

If you open mesa/utils/test/ck4 for example, you'll find that it runs the test and then checks the result using ndiff.

I think the best option for you is to edit the ck scripts in utils/test so that they do nothing.


> I think I have figured it out, but hopefully someone can vet me.  I have commented out all of the calls to ‘check_okay’ in the install* scripts.  Seems to work…  Any reason I should expect trouble?


Don't comment out the "check_okay" in the install scripts since that will fail to catch compilation errors.
You are better off keeping the tests for compilation problems and only turning off running the checks.

Good luck,
Bill




On Oct 29, 2013, at 12:15 PM, Sean Couch wrote:

> Hi mesa-users,
> 
> I am trying to compile MESA on Intrepid, a BG/P at Argonne.  For this system, the head nodes have a different architecture than the compute nodes.  I am hitting a stumbling block when the MESA compilation script attempts to run the post-build tests for the const module because, naturally, the head node cannot execute the binary which has been built for the compute nodes.
> 
> Is there a way to compile MESA without executing any tests during compilation?
> 
> Thanks!
> Sean
> 
> 
> --------------------------------------------------------
> Sean M. Couch, Ph.D.
> Hubble Fellow
> Flash Center for Computational Science
> Department of Astronomy & Astrophysics
> The University of Chicago
> 5747 S Ellis Ave, Jo 315
> Chicago, IL  60637
> (773) 702-3899
> www.flash.uchicago.edu/~smc
> 
> 
> 
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk_______________________________________________
> 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/20131029/17d5e6b3/attachment.html>


More information about the Mesa-users mailing list