singularity exec evolinc_evolinc-i_1.2-2017-05-03-44de0c39396b.img -c sample_data_evolinc-I/Sample_cuffcompare_out.gtf -g sample_data_evolinc-I/TAIR10_chr1.fasta -r sample_data_evolinc-I/TAIR10_chr1_genes.gff -n 4 -o test_out
/.exec: 3: exec: -c: not found
This is how I run the Docker container and i was just trying to replicate the same with Singularity containers. The docker container absolutely works great but for some reason not the Singularity container.
docker run --rm -v $(pwd):/working-dir -w /working-dir evolinc/evolinc-i:1.2 -c Sample_cuffcompare_out.gtf -g TAIR10_chr1.fasta -r TAIR10_chr1_genes.gff -o test_out -n 4
This is what the Singularity file inside the container looks like. Do I need to change anything in this file to make the container work.
Singularity.evolinc_evolinc-i_1.2-2017-05-03-44de0c39396b.img> $ cat singularity
#!/bin/sh
evolinc-part-I.sh $@
Thanks,
Upendra
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
Bootstrap: docker
From: ubuntu:latest
%post
apt-get update && apt-get install -y git
# put other setup and install here
%files
/path/on/host /path/in/container
%runscript
# This is what your container does when you execute it
exec echo Hello "$@"
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
------------------------------------------------------------------------------------------------------------------------CARLOS EDUARDO ARANGO GUTIERREZ.Cel : +57 3182545671Computer Science PhD StudentLaboratorio de redes y sistemas distribuidos - LASCILAB
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
vagrant up --provider virtualbox
vagrant ssh -c /bin/sh <<EOF
sudo apt-get update
sudo apt-get -y install build-essential curl git sudo man vim autoconf libtool
git clone -b development https://github.com/singularityware/singularity.git
cd singularity
./autogen.sh
./configure --prefix=/usr/local
make
sudo make install
EOF
vagrant ssh
vagrant@vagrant-ubuntu-trusty-64:~$ singularity pull docker://evolinc/evolinc-ii:1.2
image="evolinc-ii-1.2.img"
gtf="sample_data_evolinc-I/Sample_cuffcompare_out.gtf"
genome="sample_data_evolinc-I/TAIR10_chr1.fasta"
annot="sample_data_evolinc-I/TAIR10_chr1_genes.gff"
threads=12
output="test_out_2"
singularity run ${image} -c ${gtf} -g ${genome} -r ${annot} -n ${threads} -o ${output}
WARNING: Container bind point does not exist: '/home1' (homedir_base)
WARNING: Non existant 'bind point' in container: '/work'
WARNING: Non existant 'bind point' in container: '/scratch'
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Invalid option: -c
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sed: can't read sample_data_evolinc-I/TAIR10_chr1_genes.gff: No such file or directory
sed: can't read sample_data_evolinc-I/TAIR10_chr1_genes.gff: No such file or directory
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Error: Unable to open file sample_data_evolinc-I/TAIR10_chr1_genes.gff. Exiting.
Error: Unable to open file sample_data_evolinc-I/TAIR10_chr1_genes.gff. Exiting.
login3.stampede(30)$ ls sample_data_evolinc-I/TAIR10_chr1_genes.gff
sample_data_evolinc-I/TAIR10_chr1_genes.gff
Let me know if there is anything you want me to do.
Thanks,
Upendra
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
singularity exec ls container.img /
singularity exec -B /path/to/data:/path/in/container/ container.img ls /path/in/container
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/dist-packages/.wh.six-1.5.2.egg-info'
Would you know what this indicates.
Thanks,
Upendra
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
singularity create --size 6000 test.img
sudo singularity bootstrap test.img file.def
Bootstrap: docker
From: docker://evolinc/evolinc-i:1.2
%post
chmod u+x /usr/lib/python2.7/dist-packages/.wh.six-1.5.2.egg-info
%runscript
exec evolinc-part-I.sh "$@"
vagrant@vagrant:~$ singularity shell test.img
Singularity test.img:~> ls -lh /usr/lib/python2.7/dist-packages/.wh.six-1.5.2.egg-info
---x------ 1 root root 0 May 3 00:40 /usr/lib/python2.7/dist-packages/.wh.six-1.5.2.egg-info
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.