Problem compiling an old IMP version cloned from GIT
Hi all,
I was trying to install an old version of IMP (12787) on my machine to do some tests. I tried downloading it using git (this should be the 12787 version): > git clone https://github.com/salilab/imp > cd imp > git reset --hard 847e65d44da7d06718bcad366b09264c818752d5
By doing so, the compilation fails with an error related to the dope_score.lib file:
> Errors building: > build/data/atom/dope_score.lib
It seems that the error arises because the two files dope_score.lib and dope_scorehr.lib are not anymore in the modules/atom/data dir. If I copy them from an old IMP directory, the compilation end with no problems.
Everything works fine also using svn:
> $ svn co http://svn.salilab.org/imp/trunk imp-r12787 -r 12787
where the dope_score files are still present:
> imp-r12787/modules/atom/data$ ls -1 > SConscript > dope_score.lib > dope_scorehr.lib > par.lib > protein_ligand_pose_score.lib > protein_ligand_rank_score.lib > radii.lib > top.lib > top_heav.lib
Have the dope_score files been removed in the new IMP versions?
Thanks and best regards, Davide
Indeed they appear to be missing. Odd. Thanks.
On Jul 4, 2013, at 7:44 AM, Davide Baù davide.bau@gmail.com wrote:
> Hi all, > > I was trying to install an old version of IMP (12787) on my machine to do some tests. I tried downloading it using git (this should be the 12787 version): >> git clone https://github.com/salilab/imp >> cd imp >> git reset --hard 847e65d44da7d06718bcad366b09264c818752d5 > > By doing so, the compilation fails with an error related to the dope_score.lib file: > >> Errors building: >> build/data/atom/dope_score.lib > > It seems that the error arises because the two files dope_score.lib and dope_scorehr.lib are not anymore in the modules/atom/data dir. If I copy them from an old IMP directory, the compilation end with no problems. > > Everything works fine also using svn: > >> $ svn co http://svn.salilab.org/imp/trunk imp-r12787 -r 12787 > > > where the dope_score files are still present: > >> imp-r12787/modules/atom/data$ ls -1 >> SConscript >> dope_score.lib >> dope_scorehr.lib >> par.lib >> protein_ligand_pose_score.lib >> protein_ligand_rank_score.lib >> radii.lib >> top.lib >> top_heav.lib > > Have the dope_score files been removed in the new IMP versions? > > Thanks and best regards, > Davide > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
To answer further, the dope data files moved to score_functor (since they are used in there and score_functor is a dependency for atom).
The bigger issue, is that you moved across the boundary back to where IMP used scons for building. As a result, the old cmake-generated make files were left in place, referencing all sorts of files that no longer exist. If you want to build that version, you need to use scons.
On Jul 4, 2013, at 7:44 AM, Davide Baù davide.bau@gmail.com wrote:
> Hi all, > > I was trying to install an old version of IMP (12787) on my machine to do some tests. I tried downloading it using git (this should be the 12787 version): >> git clone https://github.com/salilab/imp >> cd imp >> git reset --hard 847e65d44da7d06718bcad366b09264c818752d5 > > By doing so, the compilation fails with an error related to the dope_score.lib file: > >> Errors building: >> build/data/atom/dope_score.lib > > It seems that the error arises because the two files dope_score.lib and dope_scorehr.lib are not anymore in the modules/atom/data dir. If I copy them from an old IMP directory, the compilation end with no problems. > > Everything works fine also using svn: > >> $ svn co http://svn.salilab.org/imp/trunk imp-r12787 -r 12787 > > > where the dope_score files are still present: > >> imp-r12787/modules/atom/data$ ls -1 >> SConscript >> dope_score.lib >> dope_scorehr.lib >> par.lib >> protein_ligand_pose_score.lib >> protein_ligand_rank_score.lib >> radii.lib >> top.lib >> top_heav.lib > > Have the dope_score files been removed in the new IMP versions? > > Thanks and best regards, > Davide > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
Thanks Daniel!
I actually used scons to build that version; I got the error only using the git repository. Do you plan to remove the svn version anytime soon?
Davide
Inviato da Davide. Il giorno 04/lug/2013 21:22, "Daniel Russel" drussel@gmail.com ha scritto:
> To answer further, the dope data files moved to score_functor (since they > are used in there and score_functor is a dependency for atom). > > The bigger issue, is that you moved across the boundary back to where IMP > used scons for building. As a result, the old cmake-generated make files > were left in place, referencing all sorts of files that no longer exist. If > you want to build that version, you need to use scons. > > On Jul 4, 2013, at 7:44 AM, Davide Baù davide.bau@gmail.com wrote: > > Hi all, > > I was trying to install an old version of IMP (12787) on my machine to do > some tests. I tried downloading it using git (this should be the 12787 > version): > > git clone https://github.com/salilab/imp > cd imp > git reset --hard 847e65d44da7d06718bcad366b09264c818752d5 > > > By doing so, the compilation fails with an error related to the > dope_score.lib file: > > > Errors building: > build/data/atom/dope_score.lib > > > It seems that the error arises because the two files dope_score.lib > and dope_scorehr.lib are not anymore in the modules/atom/data dir. If I > copy them from an old IMP directory, the compilation end with no problems. > > Everything works fine also using svn: > > $ svn co http://svn.salilab.org/imp/trunk imp-r12787 -r 12787 > > > where the dope_score files are still present: > > imp-r12787/modules/atom/data$ ls -1 > SConscript > dope_score.lib > dope_scorehr.lib > par.lib > protein_ligand_pose_score.lib > protein_ligand_rank_score.lib > radii.lib > top.lib > top_heav.lib > > > Have the dope_score files been removed in the new IMP versions? > > Thanks and best regards, > Davide > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev > > > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev > >
I'm not entirely clear what the question means. Eventually the svn repository will go away (but you can extract svn versions from the git repo). I think the key thing you are seeing below is a clean checkout/build vs a checkout/build where there are files left in the directory. Not entirely sure. But you should make sure you do a clean checkout/build if you run into weird problems.
On Jul 5, 2013, at 12:21 AM, Davide Baù davide.bau@gmail.com wrote:
> Thanks Daniel! > > I actually used scons to build that version; I got the error only using the git repository. Do you plan to remove the svn version anytime soon? > > Davide > > Inviato da Davide. > > Il giorno 04/lug/2013 21:22, "Daniel Russel" drussel@gmail.com ha scritto: > To answer further, the dope data files moved to score_functor (since they are used in there and score_functor is a dependency for atom). > > The bigger issue, is that you moved across the boundary back to where IMP used scons for building. As a result, the old cmake-generated make files were left in place, referencing all sorts of files that no longer exist. If you want to build that version, you need to use scons. > > On Jul 4, 2013, at 7:44 AM, Davide Baù davide.bau@gmail.com wrote: > >> Hi all, >> >> I was trying to install an old version of IMP (12787) on my machine to do some tests. I tried downloading it using git (this should be the 12787 version): >>> git clone https://github.com/salilab/imp >>> cd imp >>> git reset --hard 847e65d44da7d06718bcad366b09264c818752d5 >> >> By doing so, the compilation fails with an error related to the dope_score.lib file: >> >>> Errors building: >>> build/data/atom/dope_score.lib >> >> It seems that the error arises because the two files dope_score.lib and dope_scorehr.lib are not anymore in the modules/atom/data dir. If I copy them from an old IMP directory, the compilation end with no problems. >> >> Everything works fine also using svn: >> >>> $ svn co http://svn.salilab.org/imp/trunk imp-r12787 -r 12787 >> >> >> where the dope_score files are still present: >> >>> imp-r12787/modules/atom/data$ ls -1 >>> SConscript >>> dope_score.lib >>> dope_scorehr.lib >>> par.lib >>> protein_ligand_pose_score.lib >>> protein_ligand_rank_score.lib >>> radii.lib >>> top.lib >>> top_heav.lib >> >> Have the dope_score files been removed in the new IMP versions? >> >> Thanks and best regards, >> Davide >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
Thanks Daniel, I will try again. I asked about the svn repository because I got the problem of the missing files by trying to extract an svn version from git.
Davide
Inviato da Davide. Il giorno 06/lug/2013 01:36, "Daniel Russel" drussel@gmail.com ha scritto:
> I'm not entirely clear what the question means. Eventually the svn > repository will go away (but you can extract svn versions from the git > repo). I think the key thing you are seeing below is a clean checkout/build > vs a checkout/build where there are files left in the directory. Not > entirely sure. But you should make sure you do a clean checkout/build if > you run into weird problems. > > On Jul 5, 2013, at 12:21 AM, Davide Baù davide.bau@gmail.com wrote: > > Thanks Daniel! > > I actually used scons to build that version; I got the error only using > the git repository. Do you plan to remove the svn version anytime soon? > > Davide > > Inviato da Davide. > Il giorno 04/lug/2013 21:22, "Daniel Russel" drussel@gmail.com ha > scritto: > >> To answer further, the dope data files moved to score_functor (since they >> are used in there and score_functor is a dependency for atom). >> >> The bigger issue, is that you moved across the boundary back to where IMP >> used scons for building. As a result, the old cmake-generated make files >> were left in place, referencing all sorts of files that no longer exist. If >> you want to build that version, you need to use scons. >> >> On Jul 4, 2013, at 7:44 AM, Davide Baù davide.bau@gmail.com wrote: >> >> Hi all, >> >> I was trying to install an old version of IMP (12787) on my machine to do >> some tests. I tried downloading it using git (this should be the 12787 >> version): >> >> git clone https://github.com/salilab/imp >> cd imp >> git reset --hard 847e65d44da7d06718bcad366b09264c818752d5 >> >> >> By doing so, the compilation fails with an error related to the >> dope_score.lib file: >> >> >> Errors building: >> build/data/atom/dope_score.lib >> >> >> It seems that the error arises because the two files dope_score.lib >> and dope_scorehr.lib are not anymore in the modules/atom/data dir. If I >> copy them from an old IMP directory, the compilation end with no problems. >> >> Everything works fine also using svn: >> >> $ svn co http://svn.salilab.org/imp/trunk imp-r12787 -r 12787 >> >> >> where the dope_score files are still present: >> >> imp-r12787/modules/atom/data$ ls -1 >> SConscript >> dope_score.lib >> dope_scorehr.lib >> par.lib >> protein_ligand_pose_score.lib >> protein_ligand_rank_score.lib >> radii.lib >> top.lib >> top_heav.lib >> >> >> Have the dope_score files been removed in the new IMP versions? >> >> Thanks and best regards, >> Davide >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev >> >> >> >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev >> >> _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev > > > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev > >
participants (2)
-
Daniel Russel
-
Davide Baù