Trying to use a convoluted for loop with VLC and Parallel or OpenMPI with no success. Help?
I have about 12,000,000 mod files I'm trying to turn into a test of "unlimited cloud storage" by running them all through VLC and blowing them into mp3 files. I can get this to work serially but when trying to use openMPI or Parallel, something in the syntax is tripping it up some. Here is an example of the command I'm using. Open to any help or suggestions.
Moderator's Comments:
Please use CODE tags when displaying sample input, output, and code segments (as required by forum rules).
Last edited by Don Cragun; 06-03-2017 at 08:07 PM..
Reason: Add CODE and ICODE tags.
Hi,
please can someone point me in the right direction with a shell scripting problem.
I want to execute a command in a for loop and the command should be started not one-by-one meaning the for loop is waiting for the exit code , it should be started in parallel.
I have a plain text file... (3 Replies)
Hi,
I need to execute parallel with while loop.
Input File(source_file.csv) contains filenames the below
source_file.csv file contains
Customer1.txt
Product1.txt
Sales.txt
Emp.txt
Dept.txt
Based on the number of rows that file I want to run the script ‘n' times.
while... (2 Replies)
OK, I hope you can help me here: I'm trying to crack a hash using John the Ripper. (BindShell.Net: John The Ripper MPI Patch)
I'm runnig it on a cluster system using OpenMPI. But it is not working properly. If i try to run it, i get the following error:
Any idea what can be wrong? Happen on... (3 Replies)
Hi,
I have been thinking of how to script this but i have no clue at all..
Could someone please help me out or give me some idea on this?
I would like to group those lines with the same first variable in each line, joining the 2nd variables with commas.
Let's say i have the following input.
... (8 Replies)
Hi everybody,
my problem is the following:
I'm trying to run an openmpi program on a cluster (atlasz.elte.hu, it's in hungarian, but you can try google translate),
but I always got this error:
Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(394)...........:... (0 Replies)
Hello,
My script shell is:
for i in $(seq $nb_lignes)
do
//command java
done
Please, how can i execute all iteration in parallel ?
Thank you so much. (9 Replies)
Hello All,
I want to test how much parallel ssh connections can be done on a server.
I am thinking of reading username and hostname from a file and then using a loop (may be for) to do ssh on different host.
Could anyone suggest me how can i write the script for the above.
Thank you in... (0 Replies)
I have the below code which runs on multiple databases , but this runs one-after-one. I will need this to run in parallel so that i could save a lot of time. Please help!!! Thanks in advance
for Db in `cat /var/opt/oracle/oratab |egrep -v "ASM" |grep -v \# |cut -d\: -f1`
do
{
export... (5 Replies)
Hi
I am running a loop which actually runs same script for different argument value passed to it.
while read repID
do
echo "Starting for $repID";
date;
perl process_report.pl $repID
done<${FILE_TO_READ}
However this runs in sequence.
I want the loop to not to wait for perl to... (3 Replies)
Hi,
I am using solaris 5.10 environment and need help on doing parallel increment of nested for loop.
Samples
#inside the code the values assigned to a variable by another awk command will be like
a=/xyz/pg/as
/xyz/pg/as2
/xyz/pg/as3
b=/xyz/sd/fd1
/xyz/sd/fd2
/xyz/sd/fd3
for q in... (1 Reply)
Discussion started by: ananan
1 Replies
LEARN ABOUT DEBIAN
codechanges
codechanges(1) General Commands Manual codechanges(1)NAME
codechanges - computes the amount of code changes between two code trees or single files
SYNOPSIS
codechanges [-n] old-directory new-directory
codechanges [-n] old-file new-file
DESCRIPTION
codechanges recursively compares the two named directories (or files) calculating new/deleted/changed lines, not including comments or
blank lines, in files which appear to be source files (C, C++, shell, and Makefiles). To include comments and blank lines, use the -n
option.
APPLICATIONS
codechanges is purpose designed to measure the amount of code change between milestones in a project's life. The following output is from
two stages, plus some artificial test cases, in the pmccabe code stream:
NEW DELETED CHANGED Old File, New File
11 19 4 old.pmccabe/./Makefile pmccabe/./Makefile
214 10 39 old.pmccabe/./cparse.c pmccabe/./cparse.c
463 0 0 NEWFILE pmccabe/./decomment.c
147 4 39 old.pmccabe/./dmain.c pmccabe/./dmain.c
10 0 0 NEWFILE pmccabe/./dmain.h
407 0 0 NEWFILE pmccabe/./getopt.c
48 0 0 NEWFILE pmccabe/./getopt.h
9 18 12 old.pmccabe/./gettoken.c pmccabe/./gettoken.c
18 18 15 old.pmccabe/./io.c pmccabe/./io.c
175 43 20 old.pmccabe/./nmain.c pmccabe/./nmain.c
194 11 22 old.pmccabe/./pmccabe.c pmccabe/./pmccabe.c
42 0 20 old.pmccabe/./pmccabe.h pmccabe/./pmccabe.h
0 1318 0 old.pmccabe/./test/langMode.c DELETED
24 0 0 NEWFILE pmccabe/./test006/Grapher.H
620 0 0 NEWFILE pmccabe/./test006/Handler.H
442 0 0 NEWFILE pmccabe/./test006/NodeArc.H
764 0 0 NEWFILE pmccabe/./w/parser.C
95 0 0 NEWFILE pmccabe/./w/tokens.h
4 0 0 NEWFILE pmccabe/./x.sh
3687 1441 171 TOTAL
DIAGNOSTICS
There aren't many at this time.
BUGS
codechanges thinks it knows what source files are interesting and the user may not agree with its choices. It's a script and should be
easy to modify. Ultimately this should probably be configurable.
codechanges uses a program called decomment which guesses how to de-comment a file based on its file name and it's not always perfect.
AUTHOR
Paul Bame
SEE ALSO pmccabe(1), decomment(1)HP 12Feb2003 codechanges(1)