GYRE2.1:Floating-point exception

Bug/problem reports for any of the GYRE executables (gyre_ad, gyre_nad, etc)
Post Reply
ajendreieck
Posts: 3
Joined: Wed Sep 18, 2013 9:18 am

GYRE2.1:Floating-point exception

Post by ajendreieck » Wed Sep 18, 2013 10:59 am

Hi Rich,

I've just installed the code and managed to do the examples with no problem. However, I am trying to run GYRE with some GARSTEC fgong models and they all seem to stop with the same error.

Code: Select all

gyre_ad [2.1]
=============

Compiler         : GCC version 4.9.0 20130408 (experimental)
Compiler options : -I /afs/mpa/home/andressa/mesasdk/include -march=corei7-avx -mcx16 -msahf -mno-movbe -mno-aes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=corei7-avx -mno-avx -mno-bmi2 -O2 -std=f2008 -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fopenmp
OpenMP Threads   : 1
MPI Processors   : 1

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

Reading from FGONG file m10.fgong
  Initial points : 1572
  File version   : 250
  Adding central point

Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.

Backtrace for this error:
#0  0x7FC9A93EC4C7
#1  0x7FC9A93ECACE
#2  0x7FC9A858094F
#3  0x40F112 in __gyre_coeffs_evol_MOD_init_mech
#4  0x41066A in __gyre_coeffs_evol_MOD_init_mech
#5  0x431982 in __gyre_fgong_file_MOD_read_fgong_file
#6  0x429300 in __gyre_input_MOD_read_coeffs
#7  0x4054D2 in MAIN__ at gyre_ad.f90:0
Floating exception
Would you know what might be the problem and how can I make it work?

I attached a model just in case you need.

Thanks!

Andressa
Attachments
m10.fgong
(746.45 KiB) Downloaded 254 times

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

Re: GYRE2.1:Floating-point exception

Post by rhtownsend » Wed Sep 18, 2013 2:50 pm

ajendreieck wrote:Hi Rich,

I've just installed the code and managed to do the examples with no problem. However, I am trying to run GYRE with some GARSTEC fgong models and they all seem to stop with the same error.

Code: Select all

gyre_ad [2.1]
=============

Compiler         : GCC version 4.9.0 20130408 (experimental)
Compiler options : -I /afs/mpa/home/andressa/mesasdk/include -march=corei7-avx -mcx16 -msahf -mno-movbe -mno-aes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=corei7-avx -mno-avx -mno-bmi2 -O2 -std=f2008 -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fopenmp
OpenMP Threads   : 1
MPI Processors   : 1

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

Reading from FGONG file m10.fgong
  Initial points : 1572
  File version   : 250
  Adding central point

Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.

Backtrace for this error:
#0  0x7FC9A93EC4C7
#1  0x7FC9A93ECACE
#2  0x7FC9A858094F
#3  0x40F112 in __gyre_coeffs_evol_MOD_init_mech
#4  0x41066A in __gyre_coeffs_evol_MOD_init_mech
#5  0x431982 in __gyre_fgong_file_MOD_read_fgong_file
#6  0x429300 in __gyre_input_MOD_read_coeffs
#7  0x4054D2 in MAIN__ at gyre_ad.f90:0
Floating exception
Would you know what might be the problem and how can I make it work?

I attached a model just in case you need.

Thanks!

Andressa
Hi Andressa --

Thanks for the bug report. Could you post a copy of your inlist file as well, please?

Many thanks,

Rich

ajendreieck
Posts: 3
Joined: Wed Sep 18, 2013 9:18 am

Re: GYRE2.1:Floating-point exception

Post by ajendreieck » Thu Sep 19, 2013 2:08 am

Hi Rich,

Here is the inlist file for the m10 model. I also tried to run for a solar model and had the same kind of error. I will attach this model with its inlist file also.

Thanks a lot!

Andressa
Attachments
sol.gyre.in.txt
(1.93 KiB) Downloaded 198 times
sol.fgong
(908.29 KiB) Downloaded 230 times
gyre_ad.in.txt
(1.91 KiB) Downloaded 190 times

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

Re: GYRE2.1:Floating-point exception

Post by rhtownsend » Thu Sep 19, 2013 10:57 am

ajendreieck wrote:Hi Rich,

Here is the inlist file for the m10 model. I also tried to run for a solar model and had the same kind of error. I will attach this model with its inlist file also.

Thanks a lot!

Andressa
Hi Andressa --

I've just released v. 2.1.1 of the code, which should fix the errors you've been encountering. Let me know how you get on.

Best wishes,

Rich

ajendreieck
Posts: 3
Joined: Wed Sep 18, 2013 9:18 am

Re: GYRE2.1:Floating-point exception

Post by ajendreieck » Thu Sep 19, 2013 2:18 pm

Hi Rich,

Thank you very much!

Yes it works. Now I just need to learn how to use it =)

Best wishes,
Andressa

Post Reply