Issue with the given example

General discussion of all things GYRE-related (e.g., results, talks, ideas, tips)
User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: Issue with the given example

Post by rhtownsend » Thu Feb 16, 2017 9:22 am

richakundu wrote:hello rich
i am again having an issue with new version. I want my output frequencies in per day unit.
I tried t add
freq_units='PER_DAY'
in the summery file but its not accepting this unit. If i give
freq_units='HZ'
the program runs perfectly fine but omega that i get is still dimensionless frequency.
plz help...
Richa Kundu
Hi Richa --

You should be using 'CYC_PER_DAY', not 'PER_DAY'.

Also, 'omega' Is always the dimensionless frequency. For the dimensioned frequency, you need 'freq'.

cheers,

Rich

higuera
Posts: 5
Joined: Thu Mar 29, 2018 2:19 pm

Re: Issue with the given example

Post by higuera » Sun Apr 01, 2018 8:00 pm

Hi Rich, I recently installed gyre-5.0rc6 and while the installation went ok, trying to run the given example I ran into the same problem:

Enterprise:work higuera$ ../bin/gyre gyre.in
gyre [5.0]
----------

OpenMP Threads : 4
Input filename : gyre.in

ASSERT 'n_ot_p == 1' failed at line 110 <gyre_out_par:read_out_par>:
Input file should contain exactly one &ad_output and one &nad_output namelist
Enterprise:work higuera$

looking through the forum I found this thread which I think it's the same one, and I saw on one of your replies that you sent a file that corrected this, can you send it to me please? if this is not the same issue please help me with it.

Cheers,
Jesus

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

Re: Issue with the given example

Post by rhtownsend » Sun Apr 01, 2018 9:00 pm

Hi Jesus --

As was the case with Richa, it sound like you are trying to use GYRE 5.0 with an input file for GYRE 4.x. Have you tried looking through your input file and seeing what namelist group names have changed between 4.x and 5.0?

cheers,

Rich

higuera
Posts: 5
Joined: Thu Mar 29, 2018 2:19 pm

Re: Issue with the given example

Post by higuera » Tue Apr 03, 2018 7:03 am

Hi Rich

Thanks for your reply, I'm actually using the namelist posted in the Creating a Namelist File section of the Running Gyre part of the tutorial:

&constants
/

&model
model_type = 'EVOL' ! Obtain stellar structure from an evolutionary model
file = 'spb.mesa' ! File name of the evolutionary model
file_format = 'MESA' ! File format of the evolutionary model
/

&mode
l = 2 ! Harmonic degree
/

&osc
outer_bound = 'VACUUM' ! Use a zero-pressure outer mechanical boundary condition
/

&num
diff_scheme = 'COLLOC_GL4' ! 4th-order collocation scheme for difference equations
/

&scan
grid_type = 'INVERSE' ! Scan for modes using a uniform-in-period grid; best for g modes
freq_min = 0.5 ! Minimum frequency to scan from
freq_max = 1.0 ! Maximum frequency to scan to
n_freq = 250 ! Number of frequency points in scan
/

&grid
alpha_osc = 10 ! Ensure at least 10 points per wavelength in propagation regions
alpha_exp = 2 ! Ensure at least 2 points per scale length in evanescent regions
n_inner = 5 ! Ensure at least 5 points between center and inner turning point
/


&ad_output
summary_file = 'summary.txt' ! File name for summary file
summary_file_format = 'TXT' ! Format of summary file
summary_item_list = 'M_star,R_star,l,n_pg,omega,E_norm' ! Items to appear in summary file
mode_template = 'mode.%J.txt' ! File-name template for mode files
mode_file_format = 'TXT' ! Format of mode files
mode_item_list = 'l,n_pg,omega,x,xi_r,xi_h' ! Items to appear in mode files
/

&nad_output
/


I looked through the Namelist Input Files and didn't found any difference.

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

Re: Issue with the given example

Post by rhtownsend » Tue Apr 03, 2018 8:59 am

Hi Jesus --

Thanks for posting your inlist. It looks fine to me -- which makes me wonder whether the problem stems from you using an unofficial version of GYRE (5.0rc6 -- the 'rc' stands for release candidate, meaning that it is not an 'official' release). Can you try upgrading to GYRE 5.0 or (even better) 5.1?

cheers,

Rich

mcatelan
Posts: 7
Joined: Wed Apr 18, 2018 10:00 am

Re: Issue with the given example

Post by mcatelan » Fri Apr 27, 2018 11:38 am

Hi Rich,

On this same topic, I have also tried to run GYRE following the tutorial at https://bitbucket.org/rhdtownsend/gyre/ ... ing%20GYRE, with the exact same namelist file as posted on that page, but I obtain the same kind of error:

gyre [5.2]
----------

OpenMP Threads : 32
Input filename : gyre.in

ASSERT 'n_ot_p == 1' failed at line 110 <gyre_out_par:read_out_par>:
Input file should contain exactly one &ad_output and one &nad_output namelist

Any idea what the cause may be?

BTW, when I click on some of the links on the aforementioned web page, I get results like "Oops, it looks like that file doesn't exist; You can go back Home or create this wiki page." This happens specifically with the "Detailed information on the namelist groups expected in GYRE's input files", "see Non-adiabatic Calculations for more info", and "see the Output Files page for details" parts. Are those links broken, or perhaps being updated?

Thanks again, --M.C.

jgoldstein
Posts: 4
Joined: Wed Dec 06, 2017 1:39 pm

Re: Issue with the given example

Post by jgoldstein » Fri Apr 27, 2018 11:49 am

Regarding the error:
ASSERT 'n_ot_p == 1' failed at line 110 <gyre_out_par:read_out_par>:
Input file should contain exactly one &ad_output and one &nad_output namelist
Try adding a newline at the end gyre.in

Code: Select all

&nad_output
/

Sincerely,
Jacqueline

mcatelan
Posts: 7
Joined: Wed Apr 18, 2018 10:00 am

Re: Issue with the given example

Post by mcatelan » Fri Apr 27, 2018 12:04 pm

Thanks, Jaqueline. These two lines were already there, so I don't think this can be the reason. Best, --M.C.

jgoldstein
Posts: 4
Joined: Wed Dec 06, 2017 1:39 pm

Re: Issue with the given example

Post by jgoldstein » Fri Apr 27, 2018 12:23 pm

Try adding a newline *after* those two lines in gyre.in

Sincerely,
Jacqueline

mcatelan
Posts: 7
Joined: Wed Apr 18, 2018 10:00 am

Re: Issue with the given example

Post by mcatelan » Fri Apr 27, 2018 12:27 pm

I see! Wow, that actually does work!! Thanks a million!!! Cheers, --M.C.

Post Reply