Sponsored Content
Top Forums Shell Programming and Scripting remove lines based on score criteria Post 302263549 by smriti_shridhar on Tuesday 2nd of December 2008 12:03:10 AM
Old 12-02-2008
Thanks

I tried the code but its giving an error saying -
Illegal variable name. Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Append specific lines to a previous line based on sequential search criteria

I'll try explain this as best I can. Let me know if it is not clear. I have large text files that contain data as such: 143593502 09-08-20 09:02:13 xxxxxxxxxxx xxxxxxxxxxx 09-08-20 09:02:11 N line 1 test line 2 test line 3 test 143593503 09-08-20 09:02:13... (3 Replies)
Discussion started by: jesse
3 Replies

2. Shell Programming and Scripting

Delete new lines based on search criteria

Hi all! A bit of background: I am trying to create a script that formats SQL statements. I have gotten so far as to add new lines based on certain match criteria like commas, keywords etc. In the process, I end up adding newlines where I don't want. For example: substr(colName, 1, 10)... (3 Replies)
Discussion started by: jayarkay
3 Replies

3. Shell Programming and Scripting

Remove duplicate lines (the first matching line by field criteria)

Hello to all, I have this file 2002 1 23 0 0 2435.60 131.70 5.60 20.99 0.89 0.00 285.80 2303.90 2002 1 23 15 0 2436.60 132.90 6.45 21.19 1.03 0.00 285.80 2303.70 2002 1 23 ... (6 Replies)
Discussion started by: joggdial3000
6 Replies

4. UNIX for Dummies Questions & Answers

remove duplicates based on a field and criteria

Hi, I have a file with fields like below: A;XYZ;102345;222 B;XYZ;123243;333 C;ABC;234234;444 D;MNO;103345;222 E;DEF;124243;333 desired output: C;ABC;234234;444 D;MNO;103345;222 E;DEF;124243;333 ie, if the 4rth field is a duplicate.. i need only those records where... (5 Replies)
Discussion started by: wanderingmind16
5 Replies

5. Shell Programming and Scripting

Merging Lines based on criteria

Hello, Need help with following scenario. A file contains following text: {beginning of file} New: This is a new record and it is not on same line. Since I have lost touch with script take this challenge and bring all this in one line. New: Hello losttouch. You seem to be struggling... (4 Replies)
Discussion started by: losttouch
4 Replies

6. Shell Programming and Scripting

Select lines from a file based on a criteria

Hi I need to select lines from a txt file, I have got a line starting with ZMIO:MSISDN= and after a few line I have another line starting with 'MOBILE STATION ISDN NUMBER' and another one starting with 'VLR-ADDRESS' I need to copy these three lines as three different columns in a separate... (3 Replies)
Discussion started by: Tlcm sam
3 Replies

7. Shell Programming and Scripting

Need To Delete Lines Based On Search Criteria

Hi All, I have following input file. I wish to retain those lines which match multiple search criteria. The search criteria is stored in a variable seperated from each other by comma(,). SEARCH_CRITERIA = "REJECT, DUPLICATE" Input File: ERROR,MYFILE_20130214_11387,9,37.75... (3 Replies)
Discussion started by: angshuman
3 Replies

8. Shell Programming and Scripting

Split a file in more files based on score content

Dear All, I have the following file tabulated: ID distanceTSS score 8434 571269 10 10122 393912 9 7652 6 10 4863 1451 9 8419 39 2 9363 564 21 9333 7714 22 9638 8334 9 1638 1231 11 10701 918 1000 6587 32056 111 What I would like to do is the following, create 100 new files based... (5 Replies)
Discussion started by: paolo.kunder
5 Replies

9. Shell Programming and Scripting

Two files, remove lines from second based on lines in first

I have two files, a keepout.txt and a database.csv. They're unsorted, but could be sorted. keepout: user1 buser3 anuser19 notheruser27 database: user1,2343,"information about",field,blah,34 user2,4231,"mo info",etc,stuff,43 notheruser27,4344,"hiya",thing,more thing,423... (4 Replies)
Discussion started by: esoffron
4 Replies

10. UNIX for Beginners Questions & Answers

Remove lines from File.A based on criteria in File.B

Hello, I have two files of the following form. I would like to remove from File.A where the first three colum matches values in File.B to give the output in File.C File.A 121 54321 PQR CAT 122 765431 ABC DOG 124 98765 ZXY TIGER 125 86432 GEF LION File.B 122 765431 ABC 125 86432 GEF... (4 Replies)
Discussion started by: Gussifinknottle
4 Replies
MPI(3)								     Open MPI								    MPI(3)

NAME
MPI - General information Open MPI 1.4.5. MPI
Open MPI is an open source implementation of MPI (message-passing interface), the industry-standard specification for writing message-pass- ing programs. Message passing is a programming model that gives the programmer explicit control over interprocess communication. The MPI specification was developed by the MPI Forum, a group of software developers, computer vendors, academics, and computer-science researchers whose goal was to develop a standard for writing message-passing programs that would be efficient, flexible, and portable. The outcome, known as the MPI Standard, was first published in 1993; its most recent version (MPI-2) was published in July 1997. Open MPI 1.2 includes all MPI 1.2-compliant and MPI 2-compliant routines. For more information about Open MPI, see the following URL: http://www.open-mpi.org The MPI standards are available at the following URL: http://www.mpi-forum.org MAN PAGE SYNTAX
Man pages for Open MPI and Open MPI I/O routines are named according to C syntax, that is, they begin with the prefix "MPI_", all in upper- case, and the first letter following the "MPI_" prefix is also uppercase. The rest of the letters in the routine are all lowercase, for example, "MPI_Comm_get_attr". ENVIRONMENT
To fine-tune your Open MPI environment, you can either use arguments to the mpirun, orterun, or mpiexec commands, or you can use MCA param- eters. For more information on arguments, see the orterun.1 man page. For a complete listing of MCA parameters and their descriptions, issue the command ompi_info -h or ompi_info -param all all. This informa- tion also appears in the FAQ on the Open MPI web site at: http://www.open-mpi.org/faq/?category=tuning#mca-params ERRORS
All MPI routines (except MPI_Wtime and MPI_Wtick) return an error value; C routines as the value of the function and Fortran routines in the last argument. Before the value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error. For more information on Open MPI error codes, see mpi.h in the include directory. Standard error return classes for Open MPI: MPI_SUCCESS 0 Successful return code. MPI_ERR_BUFFER 1 Invalid buffer pointer. MPI_ERR_COUNT 2 Invalid count argument. MPI_ERR_TYPE 3 Invalid datatype argument. MPI_ERR_TAG 4 Invalid tag argument. MPI_ERR_COMM 5 Invalid communicator. MPI_ERR_RANK 6 Invalid rank. MPI_ERR_REQUEST 7 Invalid MPI_Request handle. MPI_ERR_ROOT 7 Invalid root. MPI_ERR_GROUP 8 Null group passed to function. MPI_ERR_OP 9 Invalid operation. MPI_ERR_TOPOLOGY 10 Invalid topology. MPI_ERR_DIMS 11 Illegal dimension argument. MPI_ERR_ARG 12 Invalid argument. MPI_ERR_UNKNOWN 13 Unknown error. MPI_ERR_TRUNCATE 14 Message truncated on receive. MPI_ERR_OTHER 15 Other error; use Error_string. MPI_ERR_INTERN 16 Internal error code. MPI_ERR_IN_STATUS 17 Look in status for error value. MPI_ERR_PENDING 18 Pending request. MPI_ERR_ACCESS 19 Permission denied. MPI_ERR_AMODE 20 Unsupported amode passed to open. MPI_ERR_ASSERT 21 Invalid assert. MPI_ERR_BAD_FILE 22 Invalid file name (for example, path name too long). MPI_ERR_BASE 23 Invalid base. MPI_ERR_CONVERSION 24 An error occurred in a user-supplied data-conversion function. MPI_ERR_DISP 25 Invalid displacement. MPI_ERR_DUP_DATAREP 26 Conversion functions could not be registered because a data representation identifier that was already defined was passed to MPI_REGISTER_DATAREP. MPI_ERR_FILE_EXISTS 27 File exists. MPI_ERR_FILE_IN_USE 28 File operation could not be completed, as the file is currently open by some process. MPI_ERR_FILE 29 MPI_ERR_INFO_KEY 30 Illegal info key. MPI_ERR_INFO_NOKEY 31 No such key. MPI_ERR_INFO_VALUE 32 Illegal info value. MPI_ERR_INFO 33 Invalid info object. MPI_ERR_IO 34 I/O error. MPI_ERR_KEYVAL 35 Illegal key value. MPI_ERR_LOCKTYPE 36 Invalid locktype. MPI_ERR_NAME 37 Name not found. MPI_ERR_NO_MEM 38 Memory exhausted. MPI_ERR_NOT_SAME 39 MPI_ERR_NO_SPACE 40 Not enough space. MPI_ERR_NO_SUCH_FILE 41 File (or directory) does not exist. MPI_ERR_PORT 42 Invalid port. MPI_ERR_QUOTA 43 Quota exceeded. MPI_ERR_READ_ONLY 44 Read-only file system. MPI_ERR_RMA_CONFLICT 45 Conflicting accesses to window. MPI_ERR_RMA_SYNC 46 Erroneous RMA synchronization. MPI_ERR_SERVICE 47 Invalid publish/unpublish. MPI_ERR_SIZE 48 Invalid size. MPI_ERR_SPAWN 49 Error spawning. MPI_ERR_UNSUPPORTED_DATAREP 50 Unsupported datarep passed to MPI_File_set_view. MPI_ERR_UNSUPPORTED_OPERATION 51 Unsupported operation, such as seeking on a file that supports only sequential access. MPI_ERR_WIN 52 Invalid window. MPI_ERR_LASTCODE 53 Last error code. MPI_ERR_SYSRESOURCE -2 Out of resources 1.4.5 Feb 10, 2012 MPI(3)
All times are GMT -4. The time now is 07:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy