diff --git a/lib/spack/spack/cmd/mirror.py b/lib/spack/spack/cmd/mirror.py index 098b1c3bf8ec275f0670751fb7168069edebe06c..91fe38fe677cc1e15398d76143145e852d34d25b 100644 --- a/lib/spack/spack/cmd/mirror.py +++ b/lib/spack/spack/cmd/mirror.py @@ -84,6 +84,9 @@ def mirror(parser, args): shutil.move(stage.archive_file, final_dst) tty.msg("Added %s to mirror" % final_dst) + except Exception, e: + tty.warn("Error while fetching %s. Skipping." % url, e.message) + finally: stage.destroy() diff --git a/lib/spack/spack/globals.py b/lib/spack/spack/globals.py index 990a2ff417d389c3efd66d8963f033b61e9e0e65..2cf2761362105d7f9e91a021f13cc51a16d71084 100644 --- a/lib/spack/spack/globals.py +++ b/lib/spack/spack/globals.py @@ -117,7 +117,7 @@ # For no mirrors: # mirrors = [] # -mirrors = ['file:///Users/gamblin2/mirror'] +mirrors = [] # Important environment variables SPACK_NO_PARALLEL_MAKE = 'SPACK_NO_PARALLEL_MAKE' diff --git a/lib/spack/spack/packages/mrnet.py b/lib/spack/spack/packages/mrnet.py index 0fcbe68ee3ae824422f2a3d69b598e17e3bd373d..15d851f83e0b61e46c96efed15ad7dfad2db58ab 100644 --- a/lib/spack/spack/packages/mrnet.py +++ b/lib/spack/spack/packages/mrnet.py @@ -6,9 +6,10 @@ class Mrnet(Package): url = "ftp://ftp.cs.wisc.edu/paradyn/mrnet/mrnet_4.0.0.tar.gz" versions = { '4.0.0' : 'd00301c078cba57ef68613be32ceea2f', } + parallel = False def install(self, spec, prefix): configure("--prefix=%s" %prefix, "--enable-shared") - make(parallel=False) - make("install", parallel=False) + make() + make("install") diff --git a/lib/spack/spack/packages/pmgr_collective.py b/lib/spack/spack/packages/pmgr_collective.py index a7e11304364eec492c3bbebcab454d345d062ecc..0874e2d17b74c708e84aa89775690461a36eb90b 100644 --- a/lib/spack/spack/packages/pmgr_collective.py +++ b/lib/spack/spack/packages/pmgr_collective.py @@ -29,7 +29,6 @@ class PmgrCollective(Package): MPI jobs.""" homepage = "http://www.sourceforge.net/projects/pmgrcollective" url = "http://downloads.sourceforge.net/project/pmgrcollective/pmgrcollective/PMGR_COLLECTIVE-1.0/pmgr_collective-1.0.tgz" -# url = "http://downloads.sourceforge.net/project/pmgrcollective/pmgrcollective/PMGR_COLLECTIVE-1.0/pmgr_collective-1.0.tgz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fpmgrcollective%2F%3Fsource%3Ddlp&ts=1394747864&use_mirror=iweb versions = { '1.0' : '0384d008774274cc3fc7b4d810dfd07e' } diff --git a/lib/spack/spack/packages/stat.py b/lib/spack/spack/packages/stat.py index 8d9d9f406a09de3166e44ffb9816748714cab4b0..d621bcef017881f92baf1253411e1d3e109e055f 100644 --- a/lib/spack/spack/packages/stat.py +++ b/lib/spack/spack/packages/stat.py @@ -14,21 +14,26 @@ class Stat(Package): depends_on('mrnet') def install(self, spec, prefix): - my_mrnet = spec['mrnet'] - my_graphlib = spec['graphlib'] - #my_launchmon = spec['launchmon'] - my_dyninst = spec['dyninst'] - my_libdwarf = spec['libdwarf'] + configure( + "--enable-gui", + "--prefix=%s" % prefix, - # TODO: this uses the launchmon package, but path is too long (see depends_on above) (Jira SPACK-21) - #configure("--enable-gui", "--prefix=%s" %prefix, "--with-launchmon=%s" %my_launchmon.prefix, "--with-mrnet=%s" %my_mrnet.prefix, "--with-graphlib=%s" %my_graphlib.prefix, "--with-stackwalker=%s" %my_dyninst.prefix, "--with-libdwarf=%s" %my_libdwarf.prefix) + # TODO: this uses the launchmon package, but path is + # too long (see depends_on above) (Jira SPACK-21) + # "--with-launchmon=%s" % spec['launchmon'].prefix, - # TODO: the configure line above is the proper one once Jira SPACK-21 is fixed - configure("--enable-gui", "--prefix=%s" %prefix, "--with-launchmon=/collab/usr/global/tools/launchmon/chaos_5_x86_64_ib/launchmon-1.0.0-20140312", "--with-mrnet=%s" %my_mrnet.prefix, "--with-graphlib=%s" %my_graphlib.prefix, "--with-stackwalker=%s" %my_dyninst.prefix, "--with-libdwarf=%s" %my_libdwarf.prefix) + # TODO: launchmon line above is the proper one once + # SPACK-21 is fixed + "--with-launchmon=/collab/usr/global/tools/launchmon/chaos_5_x86_64_ib/launchmon-1.0.0-20140312", - # TODO: remove once Jira SPACK-19 is fixed + "--with-mrnet=%s" % spec['mrnet'].prefix, + "--with-graphlib=%s" % spec['graphlib'].prefix, + "--with-stackwalker=%s" % spec['dyninst'].prefix, + "--with-libdwarf=%s" % spec['libdwarf'].prefix) + + # TODO: remove once SPACK-19 is fixed import shutil shutil.copy2('/usr/bin/libtool', 'libtool') - + make(parallel=False) make("install")