[Mesa-users] compiling errors
Warrick Ball
W.H.Ball at bham.ac.uk
Wed May 18 12:35:42 UTC 2022
Hi Abdel,
What version of MESA are you using, and does it correspond to the version associated with Schwab (2021)?
My guess is that the interface for the `other_mlt` hook has changed since the code in the Zenodo entry was written.
If you want the extra code to work with the MESA release you're using, check that the hooks use the interfaces defined in the `star/other/other_*.f90` routines.
Cheers,
Warrick
____________
Warrick Ball
Postdoc, School of Physics and Astronomy
University of Birmingham, Edgbaston, Birmingham B15 2TT
W.H.Ball at bham.ac.uk
+44 (0)121 414 4552
On Tue, 17 May 2022, mesa-users at lists.mesastar.org wrote:
> Good afternoon,
>
> I have downloaded a zip file to build a massive WD from https://zenodo.org/record/5047378#.YoQYAHXMJ-0
> Cooling Models for the Most Massive White Dwarfs | Zenodo
> Input and output files associated with Schwab (2021). See README in zipfile. Version 2 is after peer review and first proofs, reflecting some changes in the plots due to revisions in the quoted properties of
> ZTF J190132.9+145808.7. (The MESA models remain unchanged from version 1.)
> zenodo.org
>
>
> I've tried to compile and checked the necessary flags, but still having the errors below. Not only that, but I was not able to solve the problem, any advice?
>
> Thanks in advance for your help!
> Abdel
>
>
> (base) abdel at pop-os:~/PHD/NOVAE/wd_builder_models$ ./clean (base) abdel at pop-os:~/PHD/NOVAE/wd_builder_models$ ./mk
> gfortran -Wno-uninitialized -fno-range-check -fmax-errors=7 -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan -fopenmp -fbounds-check -Wuninitialized -Warray-bounds -ggdb -ffree-form
> -ffree-line-length-none -x f95-cpp-input -I/home/abdel/mesa-r15140/include -I../src -c ../src/run_star_extras.f90
> wd_builder.inc:257:37:
>
> Error: Symbol 'num_kap_fracs' at (1) has no IMPLICIT type; did you mean 'kap_fracs'?
> ../src/run_star_extras.f90:597:57:
>
> 597 | mixing_type, mlt_basics, mlt_partials1, ierr)
> | 1
> Error: Type mismatch in argument 'dt' at (1); passed LOGICAL(4) to REAL(8)
> ../src/run_star_extras.f90:243:25:
>
> 243 | s% other_mlt => my_other_mlt
> | 1
> Error: Interface mismatch in procedure pointer assignment at (1): Type mismatch in argument 'dt' (REAL(8)/LOGICAL(4))
> wd_builder.inc:685:52:
>
> Error: Type mismatch in argument 'dt' at (1); passed LOGICAL(4) to REAL(8)
> wd_builder.inc:331:17:
>
> Error: Rank mismatch in argument 'z' at (1) (scalar and rank-1)
> wd_builder.inc:350:70:
>
> Error: Type mismatch in argument 'zbar' at (1); passed INTEGER(4) to REAL(8)
> wd_builder.inc:447:82:
>
> Error: Type mismatch in argument 'zbar' at (1); passed INTEGER(4) to REAL(8)
> compilation terminated due to -fmax-errors=7.
> make: *** [/home/abdel/mesa-r15140/star/work_standard_makefile:39: run_star_extras.o] Error 1
>
> FAILED
>
> (base) abdel at pop-os:~/PHD/NOVAE/wd_builder_models$
>
>
>
>
More information about the Mesa-users
mailing list