Skip to content

Instantly share code, notes, and snippets.

@QiangF
Created June 8, 2024 02:01
Show Gist options
  • Save QiangF/4ea5351e73a83e40b46bcc9d4c3b7728 to your computer and use it in GitHub Desktop.
Save QiangF/4ea5351e73a83e40b46bcc9d4c3b7728 to your computer and use it in GitHub Desktop.
q@mypc:calculix-build-pastix$ ./05_build_parsec.sh
patching file parsec/bindthread.c
-- The C compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc13 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The Fortran compiler identification is GNU 13.3.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/bin/gfortran13 - skipped
-- The CXX compiler identification is GNU 13.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++13 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found BISON: /usr/bin/bison (found version "3.8.2")
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Building for target x86_64
-- Found target X86_64
-- Performing Test C_M32or64
-- Performing Test C_M32or64 - Success
-- Performing Test PARSEC_HAVE_STD_C1x
-- Performing Test PARSEC_HAVE_STD_C1x - Success
-- Performing Test PARSEC_HAVE_WALL
-- Performing Test PARSEC_HAVE_WALL - Success
-- Performing Test PARSEC_HAVE_WEXTRA
-- Performing Test PARSEC_HAVE_WEXTRA - Success
-- Performing Test PARSEC_HAVE_PAR_EQUALITY
-- Performing Test PARSEC_HAVE_PAR_EQUALITY - Success
-- Performing Test PARSEC_HAVE_G3
-- Performing Test PARSEC_HAVE_G3 - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128_t
-- Check size of __int128_t - done
-- Performing Test PARSEC_COMPILER_C11_COMPLIANT
-- Performing Test PARSEC_COMPILER_C11_COMPLIANT - Success
-- Performing Test PARSEC_STDC_HAVE_C11_ATOMICS
-- Performing Test PARSEC_STDC_HAVE_C11_ATOMICS - Success
-- Looking for include file stdatomic.h
-- Looking for include file stdatomic.h - found
-- Performing Test PARSEC_ATOMIC_USE_C11_32
-- Performing Test PARSEC_ATOMIC_USE_C11_32 - Success
-- Performing Test PARSEC_ATOMIC_USE_C11_64
-- Performing Test PARSEC_ATOMIC_USE_C11_64 - Success
-- Performing Test PARSEC_ATOMIC_USE_C11_128
-- Performing Test PARSEC_ATOMIC_USE_C11_128 - Failed
-- Performing Test PARSEC_ATOMIC_USE_C11_128
-- Performing Test PARSEC_ATOMIC_USE_C11_128 - Failed
-- Performing Test PARSEC_ATOMIC_USE_C11_128
-- Performing Test PARSEC_ATOMIC_USE_C11_128 - Success
-- support for 32 bits atomics - found
-- support for 64 bits atomics - found
-- support for 128 bits atomics - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for pthread_getspecific
-- Looking for pthread_getspecific - found
-- Looking for pthread_barrier_init
-- Looking for pthread_barrier_init - found
-- Looking for sched_setaffinity
-- Looking for sched_setaffinity - found
-- Performing Test PARSEC_HAVE_TIMESPEC_TV_NSEC
-- Performing Test PARSEC_HAVE_TIMESPEC_TV_NSEC - Success
-- Looking for clock_gettime in c
-- Looking for clock_gettime in c - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Performing Test PARSEC_HAVE_VA_COPY
-- Performing Test PARSEC_HAVE_VA_COPY - Success
-- Performing Test PARSEC_HAVE_ATTRIBUTE_FORMAT_PRINTF
-- Performing Test PARSEC_HAVE_ATTRIBUTE_FORMAT_PRINTF - Success
-- Performing Test PARSEC_HAVE_THREAD_LOCAL
-- Performing Test PARSEC_HAVE_THREAD_LOCAL - Success
-- Looking for asprintf
-- Looking for asprintf - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file getopt.h
-- Looking for include file getopt.h - found
-- Looking for getopt_long
-- Looking for getopt_long - found
-- Looking for include file errno.h
-- Looking for include file errno.h - found
-- Looking for include file stddef.h
-- Looking for include file stddef.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for include file ctype.h
-- Looking for include file ctype.h - found
-- Performing Test PARSEC_HAVE_BUILTIN_CPU
-- Performing Test PARSEC_HAVE_BUILTIN_CPU - Success
-- Performing Test PARSEC_HAVE_BUILTIN_CPU512
-- Performing Test PARSEC_HAVE_BUILTIN_CPU512 - Success
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for RUSAGE_THREAD
-- Looking for RUSAGE_THREAD - not found
-- Looking for RUSAGE_THREAD
-- Looking for RUSAGE_THREAD - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file libgen.h
-- Looking for include file libgen.h - found
-- Looking for include file complex.h
-- Looking for include file complex.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file syslog.h
-- Looking for include file syslog.h - found
-- Performing Test PARSEC_HAVE_ATTRIBUTE_ALWAYS_INLINE
-- Performing Test PARSEC_HAVE_ATTRIBUTE_ALWAYS_INLINE - Success
-- Performing Test PARSEC_HAVE_ATTRIBUTE_VISIBILITY
-- Performing Test PARSEC_HAVE_ATTRIBUTE_VISIBILITY - Success
-- Performing Test PARSEC_HAVE_BUILTIN_EXPECT
-- Performing Test PARSEC_HAVE_BUILTIN_EXPECT - Success
-- Looking for dlsym
-- Looking for dlsym - found
-- Found HWLOC: /tmp/my_cache/calculix-build-pastix/lib/libhwloc.a
-- Performing Test PARSEC_HAVE_HWLOC_PARENT_MEMBER
-- Performing Test PARSEC_HAVE_HWLOC_PARENT_MEMBER - Success
-- Performing Test PARSEC_HAVE_HWLOC_CACHE_ATTR
-- Performing Test PARSEC_HAVE_HWLOC_CACHE_ATTR - Success
-- Performing Test PARSEC_HAVE_HWLOC_OBJ_PU
-- Performing Test PARSEC_HAVE_HWLOC_OBJ_PU - Success
-- Looking for hwloc_bitmap_free in /tmp/my_cache/calculix-build-pastix/lib/libhwloc.a
-- Looking for hwloc_bitmap_free in /tmp/my_cache/calculix-build-pastix/lib/libhwloc.a - found
-- Fortran adds libraries path /usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0;/usr/lib;/lib
-- Fortran adds libraries gfortran;m;gcc_s;gcc;quadmath;m;c;gcc_s;gcc
-- LINK_DIRECTORIES = /lib;/lib32;/lib64;/usr/lib;/usr/lib32;/usr/lib64
-- INSTALL_PREFIX = /tmp/my_cache/calculix-build-pastix/lib
-- Could NOT find GTG (missing: GTG_LIBRARY GTG_INCLUDE_DIR)
-- Checking for module 'libgvc'
-- Package 'libgvc', required by 'virtual:world', not found
-- Could NOT find GRAPHVIZ (missing: GRAPHVIZ_LIBRARY GRAPHVIZ_INCLUDE_DIR)
-- Found PythonInterp: /usr/bin/python (found version "3.12.3")
-- Cython version 3.0.10 found
-- Found Cython: /usr/bin/cython (Required is at least version "0.21.2")
/usr/bin/2to3:3: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+
from lib2to3.main import main
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/h5totrace.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/paje.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/parsec_trace_tables.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/profile2h5.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/setup.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/examples/demo_ptt.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/examples/plot_counts_by_eventname.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/examples/plot_scatter_papi.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/examples/print_papi_L123_profile_stats.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/examples/print_trialset_trace_stats.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/common_utils.py
RefactoringTool: No changes to /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/mpl_prefs.py
RefactoringTool: No changes to /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/online_math.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/parsec_testing.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/print_profile_info.py
RefactoringTool: Refactored /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/ptt_utils.py
RefactoringTool: Files that were modified:
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/h5totrace.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/paje.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/parsec_trace_tables.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/profile2h5.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/setup.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/examples/demo_ptt.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/examples/plot_counts_by_eventname.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/examples/plot_scatter_papi.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/examples/print_papi_L123_profile_stats.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/examples/print_trialset_trace_stats.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/common_utils.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/mpl_prefs.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/online_math.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/parsec_testing.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/print_profile_info.py
RefactoringTool: /tmp/my_cache/calculix-build-pastix/source/parsec/build/tools/profiling/python/utilities/ptt_utils.py
-- PARSEC Modular Component Architecture (MCA) discovery:
-- -- Found Component `pins'
-- ---- Module `iterators_checker' is ON
-- The PAPI Library is found at PAPI_LIBRARY-NOTFOUND
-- Module papi not selectable: PARSEC_PROF_TRACE disabled.
-- ---- Module `print_steals' is ON
-- ---- Module `ptg_to_dtd' is ON
-- Module task_profiler not selectable: PARSEC_PROF_TRACE disabled.
-- Component pins sources: mca/pins/pins.c;mca/pins/pins_init.c
-- -- Found Component `sched'
-- ---- Module `ap' is ON
-- ---- Module `gd' is ON
-- ---- Module `ip' is ON
-- ---- Module `lfq' is ON
-- ---- Module `lhq' is ON
-- ---- Module `ll' is ON
-- ---- Module `ltq' is ON
-- ---- Module `pbq' is ON
-- ---- Module `rnd' is ON
-- ---- Module `spq' is ON
-- Component sched sources:
-- PARSEC Modular Component Architecture (MCA) discovery done.
-- Could NOT find Omega; Options depending on Omega will be disabled (missing: OMEGA_INCLUDE_DIR OMEGA_LIBRARY)
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Looking for PARSEC_ATOMIC_HAS_ATOMIC_CAS_INT128
-- Looking for PARSEC_ATOMIC_HAS_ATOMIC_CAS_INT128 - found
-- Internal PaRSEC uses CAS 128B. Reconfiguring parsec_options.h
Configuration flags:
CMAKE_C_FLAGS = -m64 -std=c1x
CMAKE_C_LDFLAGS = -m64
CMAKE_EXE_LINKER_FLAGS =
EXTRA_LIBS = -lexecinfo -lpciaccess;-latomic;/tmp/my_cache/calculix-build-pastix/lib/libhwloc.a;-L/usr/lib/gcc/x86_64-pc-linux-gnu/13.3.0;-L/usr/lib;-L/lib;gfortran;m;gcc_s;gcc;quadmath;m;c;gcc_s;gcc
-- Configuring done (8.0s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_INSTALL_LOCAL_ONLY
NO_CMAKE_SYSTEM_PATH
-- Build files have been written to: /tmp/my_cache/calculix-build-pastix/source/parsec/build
[ 1%] [FLEX][show_help_flex] Building scanner with flex 2.6.4
[ 1%] [FLEX][keyval_flex] Building scanner with flex 2.6.4
[ 1%] Building C object parsec/data_dist/CMakeFiles/parsec_data_dist.dir/hash_datadist.c.o
[ 2%] Generating contrib/build_with_parsec/common.c
[ 2%] Generating contrib/build_with_parsec/common.h
[ 2%] Generating contrib/build_with_parsec/common_timing.h
[ 3%] Generating contrib/build_with_parsec/dtd_test_allreduce.c
[ 3%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/class/parsec_dequeue.c.o
[ 3%] Generating contrib/build_with_parsec/flops.h
[ 3%] Generating contrib/build_with_parsec/testing_dpotrf_dtd_untied.c
[ 4%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/class/parsec_fifo.c.o
[ 5%] Generating contrib/build_with_parsec/write_check.jdf
[ 5%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/class/parsec_lifo.c.o
[ 5%] Built target build_with_parsec
[ 5%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/class/parsec_list.c.o
[ 6%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/class/parsec_object.c.o
[ 6%] Built target parsec_data_dist
[ 6%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/class/parsec_value_array.c.o
[ 6%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/class/parsec_hash_table.c.o
[ 7%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/class/parsec_rwlock.c.o
[ 7%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/argv.c.o
[ 7%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/cmd_line.c.o
[ 8%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/colors.c.o
/tmp/my_cache/calculix-build-pastix/source/parsec/parsec/utils/argv.c: In function ‘parsec_argv_join_range’:
/tmp/my_cache/calculix-build-pastix/source/parsec/parsec/utils/argv.c:362:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
362 | str[--str_len] = '\0';
| ~~~~~~~~~~~~~~~^~~~~~
/tmp/my_cache/calculix-build-pastix/source/parsec/parsec/utils/argv.c:357:32: note: at offset -1 into destination object of size 0 allocated by ‘malloc’
357 | if (NULL == (str = (char*) malloc(str_len)))
| ^~~~~~~~~~~~~~~
[ 8%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/parsec_environ.c.o
[ 8%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/installdirs.c.o
[ 8%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/keyval_parse.c.o
[ 9%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/mca_param.c.o
[ 9%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/mca_param_cmd_line.c.o
[ 9%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/mca_parse_paramfile.c.o
[ 10%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/os_path.c.o
[ 10%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/output.c.o
[ 10%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/show_help.c.o
[ 11%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/zone_malloc.c.o
[ 11%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/atomic_external.c.o
In function ‘syn_register’,
inlined from ‘parsec_mca_param_reg_syn_name’ at /tmp/my_cache/calculix-build-pastix/source/parsec/parsec/utils/mca_param.c:314:12:
/tmp/my_cache/calculix-build-pastix/source/parsec/parsec/utils/mca_param.c:1333:9: warning: ‘strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
1333 | strncat(si->si_full_name, syn_type_name, len-1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/my_cache/calculix-build-pastix/source/parsec/parsec/utils/mca_param.c:1316:16: note: length computed here
1316 | len += strlen(syn_type_name);
| ^~~~~~~~~~~~~~~~~~~~~
[ 11%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/utils/debug.c.o
[ 12%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/show_help_lex.l.c.o
[ 12%] Building C object parsec/CMakeFiles/parsec-base-obj.dir/keyval_lex.l.c.o
[ 12%] Built target parsec-base-obj
[ 12%] Linking C static library libparsec-base.a
[ 12%] Built target parsec-base
[ 12%] Building C object tools/profiling/CMakeFiles/dbp2xml.dir/dbp2xml.c.o
[ 12%] Generating pbt2ptt.c
[ 12%] Building C object tools/profiling/CMakeFiles/dbp2mem.dir/dbp2mem.c.o
[ 12%] Building C object tools/profiling/CMakeFiles/dbpinfos.dir/dbpinfos.c.o
[ 12%] Building C object tools/profiling/CMakeFiles/dbpinfos.dir/dbpreader.c.o
[ 13%] Building C object tools/profiling/CMakeFiles/dbp2xml.dir/dbpreader.c.o
[ 14%] Building C object tools/profiling/CMakeFiles/dbp2mem.dir/dbpreader.c.o
[ 15%] Linking C executable dbpinfos
[ 15%] Built target dbpinfos
[ 15%] Linking C executable dbp2mem
[ 15%] [BISON][parsec_yacc] Building parser with bison 3.8.2
parsec.y:225.1-14: warning: deprecated directive: ‘%error-verbose’, use ‘%define parse.error verbose’ [-Wdeprecated]
225 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
parsec.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
parsec.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
[ 15%] Linking C executable dbp2xml
Compiling /tmp/my_cache/calculix-build-pastix/source/parsec/tools/profiling/python/pbt2ptt.pyx because it changed.
[1/1] Cythonizing /tmp/my_cache/calculix-build-pastix/source/parsec/tools/profiling/python/pbt2ptt.pyx
[ 15%] Built target dbp2mem
[ 15%] [FLEX][parsec_flex] Building scanner with flex 2.6.4
[ 15%] Built target dbp2xml
parsec.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
[ 15%] Building C object parsec/interfaces/ptg/ptg-compiler/CMakeFiles/parsec_ptgpp.dir/jdf2c.c.o
[ 16%] Building C object parsec/interfaces/ptg/ptg-compiler/CMakeFiles/parsec_ptgpp.dir/jdf.c.o
[ 16%] Building C object parsec/interfaces/ptg/ptg-compiler/CMakeFiles/parsec_ptgpp.dir/jdf_unparse.c.o
/usr/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/my_cache/calculix-build-pastix/source/parsec/tools/profiling/python/pbt2ptt.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
[ 17%] Building C object parsec/interfaces/ptg/ptg-compiler/CMakeFiles/parsec_ptgpp.dir/parsec.y.c.o
/usr/lib/python3.12/site-packages/setuptools/dist.py:314: InformationOnly: Normalizing '' to '1'
self.metadata.version = self._normalize_version(self.metadata.version)
[ 17%] Building C object parsec/interfaces/ptg/ptg-compiler/CMakeFiles/parsec_ptgpp.dir/parsec.l.c.o
/tmp/my_cache/calculix-build-pastix/source/parsec/tools/profiling/python/../dbpreader.c: In function ‘dbp_reader_open_files’:
/tmp/my_cache/calculix-build-pastix/source/parsec/tools/profiling/python/../dbpreader.c:627:9: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
627 | strncpy(dbp->dico_keys[ dbp->dico_size - nb ].name, a->name, 64);
| ^
At top level:
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
[ 17%] Linking C executable parsec_ptgpp
[ 17%] Built target parsec_ptgpp
[ 17%] Generating diag_band_to_rect.h, diag_band_to_rect.c
[ 17%] Generating reduce_row.h, reduce_row.c
[ 17%] Generating reduce.h, reduce.c
Warning on /tmp/my_cache/calculix-build-pastix/source/parsec/parsec/data_dist/matrix/reduce_row.jdf:64: Function reduce_row runs on a node depending on data src((2 * index), column), but refers directly (as OUT) to data dest(column) (aligned with src(column)), if (level == depth) is true.
This is a potential direct remote memory reference.
To remove this warning, dest(column) should be syntaxically equal to src((2 * index), column), or marked as aligned to src((2 * index), column)
If this is not possible, and data are located on different nodes at runtime, this will result in a fault.
Warning on /tmp/my_cache/calculix-build-pastix/source/parsec/parsec/data_dist/matrix/reduce.jdf:34: Function reduce runs on a node depending on data descA(p, 0), but refers directly (as OUT) to data R(p, 0), if ((depth + 1) == l) is true.
This is a potential direct remote memory reference.
To remove this warning, R(p, 0) should be syntaxically equal to descA(p, 0), or marked as aligned to descA(p, 0)
If this is not possible, and data are located on different nodes at runtime, this will result in a fault.
Warning on /tmp/my_cache/calculix-build-pastix/source/parsec/parsec/data_dist/matrix/reduce.jdf:29: Function reduce runs on a node depending on data descA(p, 0), but refers directly (as IN) to data descA((2 * p), 0), if (1 == l) is true.
This is a potential direct remote memory reference.
To remove this warning, descA((2 * p), 0) should be syntaxically equal to descA(p, 0), or marked as aligned to descA(p, 0)
If this is not possible, and data are located on different nodes at runtime, this will result in a fault.
Warning on /tmp/my_cache/calculix-build-pastix/source/parsec/parsec/data_dist/matrix/reduce.jdf:31: Function reduce runs on a node depending on data descA(p, 0), but refers directly (as IN) to data descA(((2 * p) + 1), 0), if ((1 == l) && (((p * (1 << l)) + (1 << (l - 1))) < MT)) is true.
This is a potential direct remote memory reference.
To remove this warning, descA(((2 * p) + 1), 0) should be syntaxically equal to descA(p, 0), or marked as aligned to descA(p, 0)
If this is not possible, and data are located on different nodes at runtime, this will result in a fault.
[ 18%] Generating reduce_col.h, reduce_col.c
Warning on /tmp/my_cache/calculix-build-pastix/source/parsec/parsec/data_dist/matrix/reduce_col.jdf:64: Function reduce_col runs on a node depending on data src((2 * index), 0), but refers directly (as OUT) to data dest(col) (aligned with src(col)), if (level == depth) is true.
This is a potential direct remote memory reference.
To remove this warning, dest(col) should be syntaxically equal to src((2 * index), 0), or marked as aligned to src((2 * index), 0)
If this is not possible, and data are located on different nodes at runtime, this will result in a fault.
[ 18%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/matrixtypes.c.o
[ 19%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/matrix.c.o
[ 19%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/map_operator.c.o
[ 20%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/two_dim_tabular.c.o
[ 20%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/grid_2Dcyclic.c.o
[ 20%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/two_dim_rectangle_cyclic.c.o
[ 21%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/sym_two_dim_rectangle_cyclic.c.o
[ 21%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/vector_two_dim_cyclic.c.o
[ 21%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/reduce_wrapper.c.o
[ 22%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/subtile.c.o
[ 22%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/reduce_col.c.o
[ 23%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/reduce.c.o
[ 23%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/reduce_row.c.o
[ 23%] Building C object parsec/data_dist/matrix/CMakeFiles/parsec_data_matrix.dir/diag_band_to_rect.c.o
[ 23%] Built target parsec_data_matrix
[ 23%] Building C object parsec/CMakeFiles/parsec.dir/barrier.c.o
[ 24%] Building C object parsec/CMakeFiles/parsec.dir/arena.c.o
[ 24%] Building C object parsec/CMakeFiles/parsec.dir/bindthread.c.o
[ 25%] Building C object parsec/CMakeFiles/parsec.dir/parsec.c.o
[ 25%] Building C object parsec/CMakeFiles/parsec.dir/data.c.o
[ 25%] Building C object parsec/CMakeFiles/parsec.dir/data_distribution.c.o
[ 26%] Building C object parsec/CMakeFiles/parsec.dir/debug_marks.c.o
[ 26%] Building C object parsec/CMakeFiles/parsec.dir/devices/device.c.o
[ 26%] Building C object parsec/CMakeFiles/parsec.dir/mca/mca_repository.c.o
[ 27%] Building C object parsec/CMakeFiles/parsec.dir/mempool.c.o
[ 27%] Building C object parsec/CMakeFiles/parsec.dir/private_mempool.c.o
[ 27%] Building C object parsec/CMakeFiles/parsec.dir/profiling.c.o
[ 28%] Building C object parsec/CMakeFiles/parsec.dir/remote_dep.c.o
[ 28%] Building C object parsec/CMakeFiles/parsec.dir/scheduling.c.o
[ 28%] Building C object parsec/CMakeFiles/parsec.dir/vpmap.c.o
[ 28%] Building C object parsec/CMakeFiles/parsec.dir/maxheap.c.o
[ 29%] Building C object parsec/CMakeFiles/parsec.dir/hbbuffer.c.o
[ 29%] Building C object parsec/CMakeFiles/parsec.dir/datarepo.c.o
[ 29%] Building C object parsec/CMakeFiles/parsec.dir/interfaces/interface.c.o
[ 30%] Building C object parsec/CMakeFiles/parsec.dir/interfaces/superscalar/parsec_dtd_data_flush.c.o
[ 30%] Building C object parsec/CMakeFiles/parsec.dir/interfaces/superscalar/overlap_strategies.c.o
[ 30%] Building C object parsec/CMakeFiles/parsec.dir/interfaces/superscalar/insert_function.c.o
[ 31%] Building C object parsec/CMakeFiles/parsec.dir/mca/pins/pins.c.o
[ 31%] Building C object parsec/CMakeFiles/parsec.dir/mca/pins/pins_init.c.o
[ 31%] Building C object parsec/CMakeFiles/parsec.dir/mca/pins/iterators_checker/pins_iterators_checker_component.c.o
[ 32%] Building C object parsec/CMakeFiles/parsec.dir/mca/pins/iterators_checker/pins_iterators_checker_module.c.o
[ 32%] Building C object parsec/CMakeFiles/parsec.dir/mca/pins/print_steals/pins_print_steals_component.c.o
[ 32%] Building C object parsec/CMakeFiles/parsec.dir/mca/pins/print_steals/pins_print_steals_module.c.o
[ 33%] Building C object parsec/CMakeFiles/parsec.dir/mca/pins/ptg_to_dtd/pins_ptg_to_dtd_component.c.o
[ 33%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/ap/sched_ap_component.c.o
[ 33%] Building C object parsec/CMakeFiles/parsec.dir/mca/pins/ptg_to_dtd/pins_ptg_to_dtd_module.c.o
[ 34%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/ap/sched_ap_module.c.o
[ 34%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/gd/sched_gd_component.c.o
[ 34%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/gd/sched_gd_module.c.o
[ 34%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/ip/sched_ip_component.c.o
[ 35%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/ip/sched_ip_module.c.o
[ 35%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/lfq/sched_lfq_component.c.o
[ 35%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/lfq/sched_lfq_module.c.o
[ 36%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/lhq/sched_lhq_component.c.o
[ 36%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/lhq/sched_lhq_module.c.o
[ 36%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/ll/sched_ll_component.c.o
[ 37%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/ll/sched_ll_module.c.o
[ 37%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/ltq/sched_ltq_component.c.o
[ 37%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/ltq/sched_ltq_module.c.o
[ 38%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/pbq/sched_pbq_component.c.o
[ 38%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/pbq/sched_pbq_module.c.o
[ 38%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/rnd/sched_rnd_component.c.o
[ 39%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/rnd/sched_rnd_module.c.o
[ 39%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/spq/sched_spq_component.c.o
[ 39%] Building C object parsec/CMakeFiles/parsec.dir/mca/sched/spq/sched_spq_module.c.o
[ 39%] Building C object parsec/CMakeFiles/parsec.dir/datatype/datatype.c.o
[ 40%] Building C object parsec/CMakeFiles/parsec.dir/parsec_hwloc.c.o
[ 40%] Linking C static library libparsec.a
[ 40%] Built target parsec
[ 40%] Building Fortran object parsec/fortran/CMakeFiles/parsec_profilef.dir/parsec_profilef.F90.o
[ 41%] Building Fortran object parsec/fortran/CMakeFiles/parsecf.dir/parsecf.F90.o
[ 41%] Building C object tests/CMakeFiles/operator.dir/operator.c.o
[ 41%] Building C object parsec/fortran/CMakeFiles/parsecf.dir/parsecf.c.o
[ 41%] Linking C executable operator
[ 41%] Linking Fortran static library libparsecf.a
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/lib/libhwloc.a(topology-gl.o): in function `hwloc_gl_discover':
/tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-gl.c:52:(.text+0xbc): undefined reference to `XOpenDisplay'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-gl.c:57:(.text+0xe4): undefined reference to `XQueryExtension'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-gl.c:76:(.text+0x116): undefined reference to `XNVCTRLIsNvScreen'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-gl.c:81:(.text+0x13f): undefined reference to `XNVCTRLQueryTargetBinaryData'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-gl.c:93:(.text+0x174): undefined reference to `XNVCTRLQueryTargetAttribute'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-gl.c:101:(.text+0x195): undefined reference to `XNVCTRLQueryTargetAttribute'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-gl.c:106:(.text+0x1b6): undefined reference to `XNVCTRLQueryTargetAttribute'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-gl.c:111:(.text+0x1d7): undefined reference to `XNVCTRLQueryTargetAttribute'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-gl.c:141:(.text+0x1fe): undefined reference to `XCloseDisplay'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-gl.c:117:(.text+0x25f): undefined reference to `XNVCTRLQueryTargetStringAttribute'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/lib/libhwloc.a(topology-linux.o): in function `hwloc_linux_component_instantiate':
/tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-linux.c:7757:(.text+0x831): undefined reference to `udev_new'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/lib/libhwloc.a(topology-linux.o): in function `hwloc_linux_backend_disable':
/tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-linux.c:7678:(.text+0x876): undefined reference to `udev_unref'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/lib/libhwloc.a(topology-linux.o): in function `hwloc_linuxfs_block_class_fillinfos':
/tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-linux.c:6322:(.text+0x5136): undefined reference to `udev_device_new_from_subsystem_sysname'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-linux.c:6325:(.text+0x5151): undefined reference to `udev_device_get_property_value'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-linux.c:6330:(.text+0x517a): undefined reference to `udev_device_get_property_value'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-linux.c:6335:(.text+0x51a8): undefined reference to `udev_device_get_property_value'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-linux.c:6340:(.text+0x51d9): undefined reference to `udev_device_get_property_value'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-linux.c:6345:(.text+0x520a): undefined reference to `udev_device_get_property_value'
/usr/bin/ld: /tmp/my_cache/calculix-build-pastix/source/hwloc/hwloc/topology-linux.c:6351:(.text+0x522c): undefined reference to `udev_device_unref'
collect2: error: ld returned 1 exit status
gmake[2]: *** [tests/CMakeFiles/operator.dir/build.make:99: tests/operator] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1783: tests/CMakeFiles/operator.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 42%] Building C object parsec/fortran/CMakeFiles/parsec_profilef.dir/parsec_profilef.c.o
[ 42%] Built target parsecf
[ 42%] Linking Fortran static library libparsec_profilef.a
[ 42%] Built target parsec_profilef
('Installed Python Trace Tables module to', 'lib.linux-x86_64-3.12')
[ 42%] Built target target
gmake: *** [Makefile:166: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment