[codes-ross-users] Cmake fails with reason "include could not find load file:GetGitRevisionDescription"

Justin M. LaPre jlapre at gmail.com
Fri Jan 30 16:22:10 CST 2015


It was just a mis-typed variable name.  It has been corrected and everything should compile now.

--  
Justin M. LaPre
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Friday, January 30, 2015 at 5:04 PM, Sughosh Divanji wrote:

> Hi Elsa,
>  
> Thanks a lot for your help. I tried the installation as suggested by you.  Now cmake is failing with the following error,
>  
> sughosh at sughosh-Lenovo-G50-45:~/Desktop/IITC/CS597/ross-build/ROSS-build$ cmake ~/Desktop/IITC/CS597/ROSS/
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/sughosh/Desktop/IITC/CS597/ross-build/ROSS-build
> sughosh at sughosh-Lenovo-G50-45:~/Desktop/IITC/CS597/ross-build/ROSS-build$ make
> Scanning dependencies of target ROSS
> [  4%] Building C object core/CMakeFiles/ROSS.dir/queue/splay.c.o
> [  8%] Building C object core/CMakeFiles/ROSS.dir/ross-random.c.o
> [ 13%] Building C object core/CMakeFiles/ROSS.dir/rand-clcg4.c.o
> [ 17%] Building C object core/CMakeFiles/ROSS.dir/clock/amd64.c.o
> [ 21%] Building C object core/CMakeFiles/ROSS.dir/gvt/mpi_allreduce.c.o
> [ 26%] Building C object core/CMakeFiles/ROSS.dir/network-mpi.c.o
> [ 30%] Building C object core/CMakeFiles/ROSS.dir/hash-quadratic.c.o
> /home/sughosh/Desktop/IITC/CS597/ROSS/core/hash-quadratic.c: In function ‘tw_hash_create’:
> /home/sughosh/Desktop/IITC/CS597/ROSS/core/hash-quadratic.c:36:3: error: ‘g_avl_node_count’ undeclared (first use in this function)
>    g_avl_node_count = 1 << g_tw_avl_node_count;
>    ^
> /home/sughosh/Desktop/IITC/CS597/ROSS/core/hash-quadratic.c:36:3: note: each undeclared identifier is reported only once for each function it appears in
> make[2]: *** [core/CMakeFiles/ROSS.dir/hash-quadratic.c.o] Error 1
> make[1]: *** [core/CMakeFiles/ROSS.dir/all] Error 2
> make: *** [all] Error 2
>  
>  
> Please suggest how to fix this error.
>  
> Thanks,
> Sughosh
>>  
>  
> On Thu, Jan 29, 2015 at 10:34 PM, Elsa Gonsiorowski <gonsie at rpi.edu (mailto:gonsie at rpi.edu)> wrote:
> > Once you download the ROSS repo run these two commands:
> >  
> > git submodule init
> > git submodule update
> >  
> >  
> > Then clear out your build directory and try CMake again.  
> >  
> > Please let me know if that doesn't work!
> > Elsa Gonsiorowski
> >  
> > On 2015/01/29, at 18:57, Sughosh Divanji <sdivanji at hawk.iit.edu (mailto:sdivanji at hawk.iit.edu)> wrote:
> >  
> > > Hi all,
> > >  
> > > I am trying to install ROSS and I am following the instructions on "https://github.com/carothersc/ROSS/wiki/Installation".  
> > >  
> > > git clone is successful. But cmake fails with following reason:
> > >   
> > > CMake Error at core/CMakeLists.txt:67 (INCLUDE):
> > >   include could not find load file:
> > >  
> > >     GetGitRevisionDescription
> > >  
> > >  
> > > CMake Error at core/CMakeLists.txt:68 (GET_GIT_HEAD_REVISION):
> > >   Unknown CMake command "GET_GIT_HEAD_REVISION".
> > >  
> > >  
> > > -- Configuring incomplete, errors occurred!
> > >  
> > > At first I tried compiling without DROSS_BUILD_MODELS option because the recent changes are yet to be re-integrated in code base. And also, I am getting the same error with DROSS_BUILD_MODELS option as well.
> > >  
> > > Please let me know how to fix this.
> > >  
> > > Thanks,
> > > Sughosh
> > > ᐧ
> > >  
> > >  
> >  
> >  
> >  
> > > _______________________________________________
> > > codes-ross-users mailing list
> > > codes-ross-users at lists.mcs.anl.gov (mailto:codes-ross-users at lists.mcs.anl.gov)
> > > https://lists.mcs.anl.gov/mailman/listinfo/codes-ross-users
>  
> _______________________________________________
> codes-ross-users mailing list
> codes-ross-users at lists.mcs.anl.gov (mailto:codes-ross-users at lists.mcs.anl.gov)
> https://lists.mcs.anl.gov/mailman/listinfo/codes-ross-users
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/codes-ross-users/attachments/20150130/1677dc93/attachment.html>


More information about the codes-ross-users mailing list