Index mismatch

Bug/problem reports for any of the GYRE executables (gyre_ad, gyre_nad, etc)
Post Reply
ArthurL
Posts: 3
Joined: Tue May 30, 2017 7:37 am

Index mismatch

Post by ArthurL » Tue May 30, 2017 1:34 pm

Hello,
I was trying to run GYRE 4.4 with an output from MESA that I made using the following command :

write_pulse_data_with_profile = .true.
pulse_data_format = 'GYRE'

It's a 1 stellar mass evolution. Then I took the "profileXX.data.GYRE" file, rename it and then adapt my input file in GYRE to use the MESA file.
But when I tried to run GYRE i got this error :

Initialization
==============

Reading from MESA file solar.mesa
Detected new-variant file
ASSERT 'k == k_chk' failed at line 303 <gyre_mesa_file:read_mesa_data:read_mesa_data_new_>:
Index mismatch


I know GYRE works on my computer because I could run the models files given with GYRE.

Thanks for your help.
Arthur

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: Index mismatch

Post by rhtownsend » Tue May 30, 2017 2:47 pm

ArthurL wrote:Hello,
I was trying to run GYRE 4.4 with an output from MESA that I made using the following command :

write_pulse_data_with_profile = .true.
pulse_data_format = 'GYRE'

It's a 1 stellar mass evolution. Then I took the "profileXX.data.GYRE" file, rename it and then adapt my input file in GYRE to use the MESA file.
But when I tried to run GYRE i got this error :

Initialization
==============

Reading from MESA file solar.mesa
Detected new-variant file
ASSERT 'k == k_chk' failed at line 303 <gyre_mesa_file:read_mesa_data:read_mesa_data_new_>:
Index mismatch


I know GYRE works on my computer because I could run the models files given with GYRE.

Thanks for your help.
Arthur
Hi Arthur --

Can you post the first line of the profileXX.data.GYRE file -- this will tell me the file format, and I can then (hopefully) diagnose your problem.

cheers,

Rich

ArthurL
Posts: 3
Joined: Tue May 30, 2017 7:37 am

Re: Index mismatch

Post by ArthurL » Tue May 30, 2017 4:27 pm

Hi,

This is the first line :

738 1.9891999999999999E+33 7.0562932724702957E+10 3.9758064447522174E+33 100

Cheers,

Arthur

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: Index mismatch

Post by rhtownsend » Tue May 30, 2017 4:33 pm

ArthurL wrote:Hi,

This is the first line :

738 1.9891999999999999E+33 7.0562932724702957E+10 3.9758064447522174E+33 100

Cheers,

Arthur
OK, that model file is in format v1.00. You'll need to upgrade to GYRE 5.0 to read this model -- it won't work with GYRE 4.4.

cheers,

Rich

ArthurL
Posts: 3
Joined: Tue May 30, 2017 7:37 am

Re: Index mismatch

Post by ArthurL » Tue May 30, 2017 4:42 pm

Ok thank you Rich it's working with GYRE 5.0.

Do you have a kind of Namelist Inputs File for GYRE 5.0 ? It seems that there is only one for GYRE 4.4 on your website.

Thanks for you help.

Cheers,

Arthur

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: Index mismatch

Post by rhtownsend » Tue May 30, 2017 4:45 pm

ArthurL wrote:Ok thank you Rich it's working with GYRE 5.0.

Do you have a kind of Namelist Inputs File for GYRE 5.0 ? It seems that there is only one for GYRE 4.4 on your website.

Thanks for you help.

Cheers,

Arthur
Not yet, I'm afraid -- but look through the 'test' subdirectory to see some examples.

cheers,

Rich

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: Index mismatch

Post by rhtownsend » Wed May 31, 2017 2:06 pm

rhtownsend wrote:
ArthurL wrote:Ok thank you Rich it's working with GYRE 5.0.

Do you have a kind of Namelist Inputs File for GYRE 5.0 ? It seems that there is only one for GYRE 4.4 on your website.

Thanks for you help.

Cheers,

Arthur
Not yet, I'm afraid -- but look through the 'test' subdirectory to see some examples.

cheers,

Rich
Hi Arthur --

Tomorrow I'm planning on making the official release of version 5.0. As such, I've updated the documentation on the Wiki to cover this new release -- so, you should look there for the information you need.

cheers,

Rich

Post Reply