bug in reading B3?
Posted: Fri Apr 12, 2013 4:20 am
Hi Rich,
when I try:
$:> gyre_ad < gyre_nad.in
(yes, I use gyre_ad but call my input file gyre_nad, sorry about that)
I get the following output:
gyre_ad [hg]
OpenMP Threads : 4
MPI Processors : 1
Initialization
==============
At line 164 of file gyre_b3_file.f90
Fortran runtime error: Array bound mismatch for dimension 1 of array 'delta' (0/857)
Could it be that the 'delta' array is simply not initialized? I don't see it being read from the data, and it is also not computed before use. In "gyre_mesa_file.f90", I see that the `delta` array is first computed from the input, and then used to compute nable_ad.
Attached the model and input file I used. I still see on the website that the B3 format will be superseded/removed. Should I simply switch to GSM? In the file format description, I see that delta is included.
Setup:
- Kubuntu 12.10
- Latest MADSDK with gfortran 4.9
- latest GYRE version
- test examples passed
Cheers,
Pieter
when I try:
$:> gyre_ad < gyre_nad.in
(yes, I use gyre_ad but call my input file gyre_nad, sorry about that)
I get the following output:
gyre_ad [hg]
OpenMP Threads : 4
MPI Processors : 1
Initialization
==============
At line 164 of file gyre_b3_file.f90
Fortran runtime error: Array bound mismatch for dimension 1 of array 'delta' (0/857)
Could it be that the 'delta' array is simply not initialized? I don't see it being read from the data, and it is also not computed before use. In "gyre_mesa_file.f90", I see that the `delta` array is first computed from the input, and then used to compute nable_ad.
Attached the model and input file I used. I still see on the website that the B3 format will be superseded/removed. Should I simply switch to GSM? In the file format description, I see that delta is included.
Setup:
- Kubuntu 12.10
- Latest MADSDK with gfortran 4.9
- latest GYRE version
- test examples passed
Cheers,
Pieter