mesa-users] Problem when installing MESA with pgstar
Alessandro Patruno
ale.patruno at gmail.com
Sat Oct 30 20:37:19 EDT 2010
It works and the interface looks superb, thanks a lot !
For the records: I am not sure anymore I was using the latest gfortran...
I found out that when using the Ubuntu command:
" sudo apt-get install gfortran "
the version installed is still the 4.4.
Probably this was the reason of the wrong compiling, now I'll try with
gfortran 4.5 or 4.6 and see whether
it works without changing the star_lib.f file.
So: Ubuntu users beware of this problem !
Thanks again to Bill !
Cheers,
Ale
On Sun, Oct 31, 2010 at 1:57 AM, Bill Paxton <paxton at kitp.ucsb.edu> wrote:
> Hi Ale,
>
> Please try a quick patch and let me know if it fixes the problem.
> In mesa/star/public/star_lib.f, in the read_pgstar_inlist routine,
> please replace
>
> use mod_pgstar
>
> by
>
> use mod_pgstar, only: do_read_pgstar_controls
>
> There is in fact another routine named read_pgstar_inlist in different
> module, and the version of gfortran you are using is perhaps
> complaining about it although the other gfortran's don't seem to care.
>
> Thanks.
> Bill
>
>
>
> On Oct 30, 2010, at 4:46 PM, Alessandro Patruno wrote:
>
> > Hi everyone,
> >
> > I've tried to install MESA on Ubuntu 9.10 (64 bit) with the pgstar option
> switched off and everything seem to work
> > perfectly (btw, great job, I'm really amazed at what you did !).
> >
> > I then wanted to try pgstar, so I switched on the pgstar option in
> ~/mesa/utils/makefile_header
> > (I'm using gfortran, latest version, on Ubuntu 9.10):
> >
> > USE_PGSTAR = YES
> > LOAD_PGPLOT = -L/usr/local/pgplot/ -lpgplot -lX11 -lxcb -lXau -lXdmcp
> -lXext -lpng -lz
> >
> > Then I went to the main MESA dir (~/mesa) and I typed: "./clean" and then
> again "./install".
> > However, this time the code won't compile and at some point it gives the
> error message:
> >
> >
> **************************************************************************************************************
> > /home/apatruno/mesa/star
> > building star package.
> >
> > gfortran -fno-range-check -fopenmp -I../public -I../private
> -I../../include -Wunused-value -Werror -W -fimplicit-none -O2 -c
> -ffree-form ../public/star_lib.f
> > ../public/star_lib.f:1419.39:
> >
> > end subroutine read_pgstar_inlist
> > 1
> > Error: Name 'read_pgstar_inlist' at (1) is an ambiguous reference to
> 'read_pgstar_inlist' from current program unit
> > make: *** [star_lib.o] Error 1
> >
> > /home/apatruno/mesa/star/make
> > FAILED
> >
> *************************************************************************************************************
> >
> >
> > I'll keep trying to see whether I find a solution. In the meanwhile...do
> you have any suggestion on
> > how to solve this problem ?
> >
> > Many thanks !
> >
> > Cheers,
> >
> > Ale
> >
> >
> ------------------------------------------------------------------------------
> > Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> > Create new apps & games for the Nokia N8 for consumers in U.S. and
> Canada
> > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> >
> http://p.sf.net/sfu/nokia-dev2dev_______________________________________________
> > 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/20101031/1b35d6c3/attachment.html>
More information about the Mesa-users
mailing list