[codes-ross-users] make for codes-base is failing at src/util/codes_mapping.c:483:51

Sughosh Divanji sdivanji at hawk.iit.edu
Mon Feb 23 08:32:41 CST 2015


Hi Jonathan,

Thanks a lot for your help. Codes installation works fine with recent
revision from codes repository.

Thanks,
Sughosh
On Feb 23, 2015 8:16 AM, "Jenkins, Jonathan P." <jenkins at mcs.anl.gov> wrote:

>  Hi Sugosh,
>
>  Sounds like you are using a more recent revision of ROSS, which removed
> the variable in question. You can either checkout the version of ROSS shown
> in the codes-base INSTALL document, or you can use recent revisions of the
> codes-* repositories.
>
>  John
>
>   From: Sughosh Divanji <sdivanji at hawk.iit.edu>
> Date: Friday, February 20, 2015 at 11:02 PM
> To: "codes-ross-users at lists.mcs.anl.gov" <
> codes-ross-users at lists.mcs.anl.gov>
> Cc: Raghav Kapoor <rkapoor7 at hawk.iit.edu>, Ke Wang <kwang22 at hawk.iit.edu>
> Subject: [codes-ross-users] make for codes-base is failing at
> src/util/codes_mapping.c:483:51
>
>   Hi,
>
>  I am trying to install codes-base-0.3.0. Make is failing with the
> following error,
>
>  sughosh at sughosh-Lenovo-G50-45:~/Desktop/IITC/CS597/codes-base-0.3.0/build$
> make
> make  all-am
> make[1]: Entering directory
> `/home/sughosh/Desktop/IITC/CS597/codes-base-0.3.0/build'
>   CC       src/util/codes_mapping.o
> ../src/util/codes_mapping.c: In function ‘codes_mapping_init’:
> ../src/util/codes_mapping.c:422:3: warning: passing argument 2 of
> ‘tw_lp_settype’ discards ‘const’ qualifier from pointer target type
> [enabled by default]
>    tw_lp_settype(ross_lid, lp_type_lookup(lp_type_name));
>    ^
> In file included from
> /home/sughosh/Desktop/IITC/CS597/ROSS/install/include/ross.h:195:0,
>                  from ../codes/codes.h:11,
>                  from ../codes/codes_mapping.h:11,
>                  from ../src/util/codes_mapping.c:10:
> /home/sughosh/Desktop/IITC/CS597/ROSS/install/include/ross-extern.h:97:15:
> note: expected ‘struct tw_lptype *’ but argument is of type ‘const struct
> tw_lptype *’
>  extern void   tw_lp_settype(tw_lpid lp, tw_lptype * type);
>                ^
> ../src/util/codes_mapping.c: In function
> ‘codes_mapping_setup_with_seed_offset’:
> ../src/util/codes_mapping.c:483:51: error: ‘g_tw_rng_max’ undeclared
> (first use in this function)
>                            global_nlps * offset) * g_tw_rng_max + i);
>                                                    ^
> ../src/util/codes_mapping.c:483:51: note: each undeclared identifier is
> reported only once for each function it appears in
> make[1]: *** [src/util/codes_mapping.o] Error 1
> make[1]: Leaving directory
> `/home/sughosh/Desktop/IITC/CS597/codes-base-0.3.0/build'
> make: *** [all] Error 2
>
>
>  Please let me know how to fix this.
>
>  Thanks,
> Sughosh
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/codes-ross-users/attachments/20150223/f30b6e8e/attachment.html>


More information about the codes-ross-users mailing list