NVIDIA/AMGX

Warnings with xlC compiler

Open

#93 opened on Apr 2, 2020

 (3 comments) (0 reactions) (0 assignees)Cuda (186 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (679 stars)
PR merge metrics
 (PR metrics pending)

Description

Hi all,

I recently built AMGX using xlC (Version: 16) as my host compiler, while building the code I hit a number of warnings:

warning: 1540-5200 The option "-dynamic" is not supported.

1500-036: (I) The NOSTRICT option (default at OPT(3)) has the potential to alter the semantics of a program. Please refer to documentation on the STRICT/NOSTRICT option for more information.

And it looks like delete is being applied to pointers allocated with new[] in a number of places. For example: AMGX/core/src/matrix_coloring/serial_greedy_bfs.cu:752:1: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete A_col_indices;

Contributor guide