[mesa-users] Exterior compilation issue
Josiah Schwab
jwschwab at berkeley.edu
Mon Oct 8 00:06:54 EDT 2012
You're not using the SDK version of gfortran. You probably forgot to run the MESA SDK initialization script in the shell you're trying to run ./mk in.
Try initializing the SDK (that's the command like "source $MESASDK_ROOT/bin/mesasdk_init.sh") and then double check that the command "gfortran --version" outputs something like "GNU Fortran (GCC) 4.7.2 20120710 (prerelease)"
Best,
Josiah
On Oct 7, 2012, at 8:45 PM, Julien Dorval wrote:
> To add a bit more info: I'm using version 4522 of MESA, which I compiled with sdk in the first place (latest version: mesasdk-x86_64-linux-20120809.tar.gz ). I made sure the makefile of the external work directory was pointing back to the star folder in the original mesa directory. It really seems to be a compiler issue but I don't know what's going on here.
>
> Thanks,
> Julien Dorval
>
> 2012/10/8 Julien Dorval <dorvaljulien at gmail.com>
> Hi,
>
> I downloaded MESA, compiled it, tried it, everything worked. However when I tried setting up a work directory outside the MESA directory, and compile it using ./mk I got this:
>
> make: Warning: File `makefile' has modification time 3.6e+03 s in the future
> gfortran -fno-range-check -fopenmp -fbounds-check -Wuninitialized -Warray-bounds -g -ffree-form -x f95-cpp-input -I/import/extend2/dorval/MESA/MESA_4522/mesa/include -I/include -c ../src/run_star_extras.f
> cc1: error: unrecognized command line option "-Warray-bounds"
> cc1: warning: -Wuninitialized is not supported without -O
> make: *** [run_star_extras.o] Error 1
>
> FAILED
>
> The modification time thing is probably due to daylight saving time issue, but what exactly caused the error, and how can I fix it ?
>
> Thanks,
> Julien Dorval
>
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-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