From f55e180d86e464b6e0648c636854810b060c97cb Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Mon, 22 Aug 2022 10:08:52 +0200 Subject: [PATCH] Fix build problem with simgrid: coreblas objects must not be referenced if in simulation mode. By the way, the lapack api is not meant to be used in simulation mode. --- testing/testing_zlauum.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/testing_zlauum.c b/testing/testing_zlauum.c index 8150747b5..4437b01f4 100644 --- a/testing/testing_zlauum.c +++ b/testing/testing_zlauum.c @@ -21,7 +21,9 @@ #include "testings.h" #include "testing_zcheck.h" #include <chameleon/flops.h> +#if !defined(CHAMELEON_SIMULATION) #include <coreblas.h> +#endif static cham_fixdbl_t flops_zlauum( int N ) @@ -116,9 +118,11 @@ testing_zlauum_std( run_arg_list_t *args, int check ) case 1: hres = CHAMELEON_zlauum( uplo, N, A, LDA ); break; +#if !defined(CHAMELEON_SIMULATION) case 2: CHAMELEON_lapacke_zlauum( CblasColMajor, chameleon_lapack_const(uplo), N, A, LDA ); break; +#endif default: if ( CHAMELEON_Comm_rank() == 0 ) { fprintf( stderr, -- GitLab