Coder Social home page Coder Social logo

vc3-builder's People

Contributors

annawoodard avatar briedel avatar btovar avatar dthain avatar khurtado avatar lincolnbryant avatar nhazekam avatar sthapa avatar tony-ou avatar tshaffe1 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vc3-builder's Issues

Create Singularity image using VC3 Builder

Provide the steps to or a script that builds an image in a singularity using software built with VC3. Ideally this would be building and exporting the environment from VC3 builder into an image.

This would be great to reproducibly creating an image in different distros and across versions.

vc3-pilot interface

Suggested user interface:

vc3-pilot --require parrot --require python-2.6 --run "parrot_run cmssim.exe"

Maybe some optional arguments:

--database vc3-software.json
--install /home/joe/vc3-software

vc3-pilot verify checksums

Suggest that the software catalog contain checksums for each of the tarballs, and that vc3-pilot verifies them. This will give us (and our users) greater confidence in mirroring tarballs in our own locations.

LibCVMFS Build Error

While building CCTools in vagrant for singularity.

[100%] Built target libcvmfs

  • : Wed Nov 8 00:35:52 2017
  • mkdir -p /vc3-builder/vc3-root/x86_64/generic/libcvmfs/v2.3.0/{lib,include}
  • : Wed Nov 8 00:35:52 2017
  • cp libcvmfs.a /vc3-builder/vc3-root/x86_64/generic/libcvmfs/v2.3.0/lib
  • : Wed Nov 8 00:35:52 2017
  • cp ../../cvmfs/libcvmfs.h ../../cvmfs/libcvmfs_int.h /vc3-builder/vc3-root/x86_64/generic/libcvmfs/v2.3.0/include
    cp: target '/vc3-builder/vc3-root/x86_64/generic/libcvmfs/v2.3.0/include' is not a directory
    Cleaning payload with pid: 8405

I am building this in an

Ubuntu:16.04

command:
apt-get -y update
apt-get -y install build-essential git libz-dev libperl-dev python-dev swig
git clone https://github.com/vc3-project/vc3-builder.git
cd vc3-builder
./vc3-builder --require cctools

missing File/Fetch.pm in a vanilla CentOS 6 env

I stood up a vanilla CentOS 6 container and installed 'make', 'git', and 'gcc'. Here's what I see, as of e99d12a:

$ git clone https://github.com/vc3-project/vc3-core
Initialized empty Git repository in /home/lincoln/vc3-core/.git/
remote: Counting objects: 119, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 119 (delta 4), reused 0 (delta 0), pack-reused 107
Receiving objects: 100% (119/119), 39.46 KiB, done.
Resolving deltas: 100% (58/58), done.
$ ./vc3_pilot_job parrot -- parrot_run python examples/read-file-from-cvmfs.py
Can't locate File/Fetch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./vc3_pilot_job line 18.
BEGIN failed--compilation aborted at ./vc3_pilot_job line 18.

Now, I've never been quite sure if these containers are truly representative of a base CentOS install (i.e., yum groupinstall @core), or if they're cut down even further. This issue might be moot. From yum I see it comes from the perl-File-Fetch RPM:

# yum provides *File/Fetch.pm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: chicago.gaminghost.co
 * extras: centos.mirror.nac.net
 * updates: bay.uchicago.edu
base/filelists_db                                                                                                                                          | 6.4 MB     00:00
extras/filelists_db                                                                                                                                        |  38 kB     00:00
updates/filelists_db                                                                                                                                       | 582 kB     00:00
perl-File-Fetch-0.26-141.el6_7.1.x86_64 : Generic file fetching mechanism
Repo        : base
Matched from:
Filename    : /usr/share/perl5/File/Fetch.pm

vc3-pilot progressive output

Some suggested output for the pilot job, as it works, so that the user can quickly grasp the principle of operation:

checking for installed parrot: not installed
parrot requires cvmfs-1.2.3
cvmfs-1.2.3 requires cmake-1.2.3
checking for installed cmake: not installed
downloading cmake from $url ...
building cmake
installing cmake
. . .

Also suggest that you redirect the stderr of the various procedures, so that the output isn't overwhelmed by information that is out of context. (Builds like to emit a lot of stuff on stderr.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.