Dear, My code used to compile with gsl 2.5 which was totally fine. But after I updated to gsl-v2.6, I got this error. Any suggestions on what function should I update will be much appreciated. ------------------------------------------------------------------------------------ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(452): error: expected a ")" const float beta, float *C, const int ldc); ^
In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(457): error: expected a ")" float *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(461): error: expected a ")" const float beta, float *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(466): error: expected a ")" float *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(482): error: expected a ")" const double beta, double *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(487): error: expected a ")" double *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(491): error: expected a ")" const double beta, double *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(496): error: expected a ")" double *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(512): error: expected a ")" const void *beta, void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(517): error: expected a ")" void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(521): error: expected a ")" const void *beta, void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(526): error: expected a ")" void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(542): error: expected a ")" const void *beta, void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(547): error: expected a ")" void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(551): error: expected a ")" const void *beta, void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(556): error: expected a ")" void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(576): error: expected a ")" void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(580): error: expected a ")" const float beta, void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(585): error: expected a ")" void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(591): error: expected a ")" void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(595): error: expected a ")" const double beta, void *C, const int ldc); ^ In file included from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_blas_types.h(28), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix_complex_long_double.h(29), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_matrix.h(4), from /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_randist.h(24), from structure/fof.c(15): /opt/gsl/2.6/hpcx/hpcx-intel-2019.update5/include/gsl/gsl_cblas.h(600): error: expected a ")" void *C, const int ldc); ^ Best, Weiguang ------------------------------------------- https://weiguangcui.github.io/