mesa-users] Problem when installing MESA with pgstar

Bill Paxton paxton at kitp.ucsb.edu
Sat Oct 30 19:57:52 EDT 2010


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





More information about the Mesa-users mailing list