stash_internal_unit(): Stack Size Exceeded

Bug/problem reports for any of the GYRE executables (gyre_ad, gyre_nad, etc)
Post Reply
mcatelan
Posts: 7
Joined: Wed Apr 18, 2018 10:00 am

stash_internal_unit(): Stack Size Exceeded

Post by mcatelan » Wed Apr 18, 2018 12:43 pm

Hi,

I'm getting a "stash_internal_unit(): Stack Size Exceeded" error when I run make test, at the "rotation" step (all previous steps run ok). Any suggestions?

More in detail:

---
TEST numerics (OpenMP)...
...succeeded
TEST numerics (band matrix)...
...succeeded
TEST numerics (*_DELTA frequency units)...
...succeeded
TEST numerics (rotation, Doppler shift)...
...succeeded
TEST numerics (rotation, traditional approximation)...
At line 134 of file gyre_r_tar_rot.f90
Internal Error: stash_internal_unit(): Stack Size Exceeded

Error termination. Backtrace:
#0 0x447512 in ???
#1 0x448f84 in ???
#2 0x51345d in ???
#3 0x46d830 in ???
#4 0x7f41ef1558dd in gomp_thread_start
at /root/mesasdk-src/gcc/libgomp/team.c:120
#5 0x7f41eead26b9 in ???
#6 0x7f41ee80841c in ???
#7 0xffffffffffffffff in ???
HDF5-DIAG: Error detected in HDF5 (1.8.17) thread 0:
#000: H5G.c line 812 in H5Gclose(): not a group
major: Invalid arguments to routine
minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.8.17) thread 0:
#000: H5G.c line 812 in H5Gclose(): not a group
major: Invalid arguments to routine
minor: Inappropriate type
^CMakefile:7: recipe for target 'test' failed
make[4]: *** [test] Interrupt
Makefile:11: recipe for target 'test' failed
make[3]: *** [test] Interrupt
Makefile:11: recipe for target 'test' failed
make[2]: *** [test] Interrupt
Makefile:11: recipe for target 'test' failed
make[1]: *** [test] Interrupt
Makefile:16: recipe for target 'test' failed
make: *** [test] Interrupt
---

Some additional info...

uname -a gives:
Linux esmeralda-mint 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

mesasdk_version.sh gives:
x86_64-linux-20180127

gfortran -v gives:
Using built-in specs.
COLLECT_GCC=/disk1/MESA/mesasdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/disk1/MESA/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /root/mesasdk-src/gcc/configure CC=gcc --build=x86_64-pc-linux-gnu --prefix=/root/mesasdk --with-gmp=/root/mesasdk --with-mpfr=/root/mesasdk --with-mpc=/root/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --enable-clocale=generic
Thread model: posix
gcc version 7.2.0 (GCC)


Thanks in advance, --M.C.

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

Re: stash_internal_unit(): Stack Size Exceeded

Post by rhtownsend » Wed Apr 18, 2018 1:22 pm

Hi MC --

I think I've got an idea about what's going wrong. But let me first ask, what version of GYRE are you using? Also, how many cores in your Linux machine?

cheers,

Rich

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

Re: stash_internal_unit(): Stack Size Exceeded

Post by mcatelan » Wed Apr 18, 2018 1:57 pm

Hi Rich,

Thanks for your prompt response. Here are the answers to your questions:

GYRE version: 5.1

Number of cores (as returned by nproc): 32

Best, --M.C.

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

Re: stash_internal_unit(): Stack Size Exceeded

Post by rhtownsend » Thu Apr 19, 2018 7:44 am

mcatelan wrote:Hi Rich,

Thanks for your prompt response. Here are the answers to your questions:

GYRE version: 5.1

Number of cores (as returned by nproc): 32

Best, --M.C.
Hi MC --

Sounds like you're encountering a known problem when running on many-core machines. This issue is fixed in the development version of GYRE, and I'm planning to make a new release in the next couple of days, to make the fix available to the wider community. So, keep an eye open for the release!

Best wishes,

Rich

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

Re: stash_internal_unit(): Stack Size Exceeded

Post by mcatelan » Thu Apr 19, 2018 4:05 pm

I'm looking forward to that, Rich -- thanks a lot! Cheers, --M.C.

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

Re: stash_internal_unit(): Stack Size Exceeded

Post by rhtownsend » Fri Apr 20, 2018 9:34 am

mcatelan wrote:I'm looking forward to that, Rich -- thanks a lot! Cheers, --M.C.
I released 5.2 today -- give it a shot!

cheers,

Rich

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

Re: stash_internal_unit(): Stack Size Exceeded

Post by mcatelan » Fri Apr 20, 2018 8:39 pm

That worked like a charm! Many thanks indeed, Rich! Cheers, --M.C.

Post Reply