20387, "zhihuidu", "Function '_write_one_internal' has been instantiated too many times", "2022-08-04T22:23:39Z"
opened 10:23PM - 04 Aug 22 UTC
### Summary of Problem
<!--
When we modified our Arkouda's graph extension cod… e to include more components of a graph, we met this compiling problem.
If we remove all the modules in Arkouda's ServerModules.cfg file, this error will disappear. So, my conclusion is that this error will be triggered when more modules have to be compiled. I guess our extension modules and the Arkouda modules will cause _write_one_internal to be called too many times.
This error can be solved by increasing the instantiate number. For our current code, including --instantiate-max=512 as a compiling flag can solve the problem.
-->
### Steps to Reproduce
compile arkouda-njit (https://github.com/Bears-R-Us/arkouda-njit) based on the master arkouda will reproduce the error.
### Configuration Information
- Output of `chpl --version`:
chpl version 1.28.0 pre-release (c9da0d794b)
built with LLVM version 14.0.0
Copyright 2020-2022 Hewlett Packard Enterprise Development LP
Copyright 2004-2019 Cray Inc.
(See LICENSE file for more details)
- Output of `$CHPL_HOME/util/printchplenv --anonymize`:
CHPL_TARGET_PLATFORM: linux64
CHPL_TARGET_COMPILER: llvm
CHPL_TARGET_ARCH: x86_64
CHPL_TARGET_CPU: native *
CHPL_LOCALE_MODEL: flat
CHPL_COMM: gasnet *
CHPL_COMM_SUBSTRATE: udp *
CHPL_GASNET_SEGMENT: everything
CHPL_TASKS: qthreads
CHPL_LAUNCHER: amudprun
CHPL_TIMERS: generic
CHPL_UNWIND: none
CHPL_MEM: jemalloc
CHPL_ATOMICS: cstdlib
CHPL_NETWORK_ATOMICS: none
CHPL_GMP: bundled
CHPL_HWLOC: bundled
CHPL_RE2: bundled *
CHPL_LLVM: bundled *
CHPL_AUX_FILESYS: none
- Back-end compiler and version, e.g. `gcc --version` or `clang --version`:
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Summary of Problem
Steps to Reproduce
compile arkouda-njit (GitHub - Bears-R-Us/arkouda-njit ) based on the master arkouda will reproduce the error.
Configuration Information
Output of chpl --version
:
chpl version 1.28.0 pre-release (c9da0d794b)
built with LLVM version 14.0.0
Copyright 2020-2022 Hewlett Packard Enterprise Development LP
Copyright 2004-2019 Cray Inc.
(See LICENSE file for more details)
Output of $CHPL_HOME/util/printchplenv --anonymize
:
CHPL_TARGET_PLATFORM: linux64
CHPL_TARGET_COMPILER: llvm
CHPL_TARGET_ARCH: x86_64
CHPL_TARGET_CPU: native *
CHPL_LOCALE_MODEL: flat
CHPL_COMM: gasnet *
CHPL_COMM_SUBSTRATE: udp *
CHPL_GASNET_SEGMENT: everything
CHPL_TASKS: qthreads
CHPL_LAUNCHER: amudprun
CHPL_TIMERS: generic
CHPL_UNWIND: none
CHPL_MEM: jemalloc
CHPL_ATOMICS: cstdlib
CHPL_NETWORK_ATOMICS: none
CHPL_GMP: bundled
CHPL_HWLOC: bundled
CHPL_RE2: bundled *
CHPL_LLVM: bundled *
CHPL_AUX_FILESYS: none
Back-end compiler and version, e.g. gcc --version
or clang --version
:
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.