From: Mike Z. <mzi...@sc...> - 2011-02-24 20:40:28
|
Hi Bill/Maxine, I am also having trouble compiling the latest MESA with pgstar. I am using gfortran 4.5.1 on Fedora 14, and I get past the pgstar_ctrls_io.f compilation, but die a bit later with: gfortran -fno-range-check -fopenmp -I../public -I../private -I../../include -Wunused-value -Werror -W -fimplicit-none -O2 -c -ffree-form ../private/pgstar_trho_profile.f ../private/pgstar_trho_profile.f:698.49: has_convection = show_convective_section() 1 Error: Unexpected use of subroutine name 'show_convective_section' at (1) ../private/pgstar_trho_profile.f:699.47: has_overshoot = show_overshoot_section() 1 Error: Unexpected use of subroutine name 'show_overshoot_section' at (1) ../private/pgstar_trho_profile.f:700.57: has_semiconvection = show_semiconvective_section() 1 Error: Unexpected use of subroutine name 'show_semiconvective_section' at (1) ../private/pgstar_trho_profile.f:701.55: has_thermo_haline = show_thermo_haline_section() 1 Error: Unexpected use of subroutine name 'show_thermo_haline_section' at (1) ../private/pgstar_trho_profile.f:763.57: show_convective_section = show_mixing_section(convective_mixing, cl 1 Error: Unexpected use of subroutine name 'show_mixing_section' at (1) ../private/pgstar_trho_profile.f:769.61: show_semiconvective_section = show_mixing_section(semiconvective_mi 1 Error: Unexpected use of subroutine name 'show_mixing_section' at (1) ../private/pgstar_trho_profile.f:775.60: show_thermo_haline_section = show_mixing_section(thermo_haline_mixi 1 Error: Unexpected use of subroutine name 'show_mixing_section' at (1) ../private/pgstar_trho_profile.f:781.56: show_overshoot_section = show_mixing_section(overshoot_mixing, clr_ 1 Error: Unexpected use of subroutine name 'show_mixing_section' at (1) make: *** [pgstar_trho_profile.o] Error 1 /home/zingale/development/mesa/star/make FAILED On Thu, 24 Feb 2011, Bill Paxton wrote: > Hi Maxime, > > I suggest upgrading to 4.5.1 -- you can do that easily at this website: > > http://gcc.gnu.org/wiki/GFortranBinaries > > Good luck! > > -Bill > > > > > On Feb 24, 2011, at 10:29 AM, Maxime Viallet wrote: > >> >> Hello Mesa-people, >> >> I have successfully compiled and run mesa (rev. 2987) using gfortran 4.5.0 on mac os X 10.6.6 >> Now I am trying to get the PGPLOT interface working and I am running into this puzzling error while compiling the "star" module: >> >> gfortran -fno-range-check -fopenmp -I../public -I../private -I../../include -Wunused-value -Werror -W -fimplicit-none -O2 -c -ffree-form ../private/pgstar_ctrls_io.f >> pgstar_controls.dek:5.74: >> Included at ../private/pgstar_ctrls_io.f:33: >> >> type (pgstar_win_file_data) :: pgstar_win_file_ptr(num_pgstar_plots) >> 1 >> Error: Object 'pgstar_win_file_ptr' at (1) must have the SAVE attribute for default initialization of a component >> make: *** [pgstar_ctrls_io.o] Error 1 >> >> /Users/viallet/postdoc/mesa/star/make >> FAILED >> >> >> Of course I naively tried to add by hand the "save" statement but then the file star/public/star_def.f would not compile anymore. >> >> Has somebody already encountered this problem ? >> >> Thanks ! >> Maxime >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT data >> generated by your applications, servers and devices whether physical, virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> mesa-users mailing list >> mes...@li... >> https://lists.sourceforge.net/lists/listinfo/mesa-users > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > mesa-users mailing list > mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa-users > ---------------------------------------------------------------------------- Michael Zingale (mzi...@ma...) Assistant Professor Dept. of Physics and Astronomy office: ESS 440 Stony Brook University phone: 631-632-8225 Stony Brook, NY 11794-3800 web: http://www.astro.sunysb.edu/mzingale ---------------------------------------------------------------------------- |