08-13-2013
Solaris has a high performance malloc library for threading. It's behavior may be different enough from Linux, such that the the problem did not occur on Solaris, but does show up in Linux.
But that is grabbing at straws.
I would suspect that while porting someone altered code. Is this a verbatim copy of the Solaris code? i.e., do checksums match? If you want to fix this mess, don't simply say 'yes', do a checksum.
If checksums match for the code, then grep the make files for the word malloc to see if the library (specifically Solaris (lib)mtmalloc) I mentioned are being used. If there is a Linux version of it with the same name it probably has nothing in common with Solaris libmtmalloc. Do not use it. RHEL links threaded Pro*C just fine normally.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
All,
So, I have an ldif file that contains about 6500 users worth of data. Some users have a block of text I'd like to remove, while some don't.
Example (block of text in question is the block starting with "authAuthority: ;Kerberosv5"):
User with text block:
# username, users,... (7 Replies)
Discussion started by: staze
7 Replies
2. Shell Programming and Scripting
Hi Guys,
I'm a complete shell scripting newbie and need some help with comparing a file against a master file and outputting the results.
master.txt would look something like this:
000123
000345
000341
000927
000762
000235
000155
000452
000846
000623
file.txt would look like... (1 Reply)
Discussion started by: ven
1 Replies
3. Shell Programming and Scripting
I have a file I need to monitor with a perl script with the following format. I need to send off a 0 if it is above 95 in the 5th colum and a 1 if it is below. Any help on a simple perl script would be great.
75424958 999975 983170 /dev/rmetrochunk00 98.32
760c2dd8 ... (3 Replies)
Discussion started by: jlaigo2
3 Replies
4. Shell Programming and Scripting
Hi there! Need help on some issue, I have data like this:
123
456
789
012
i need it to be like this:
123789
456012
Anyone has any idea how to do this? Thanks!
Regards,
Ken
How to use code tags (8 Replies)
Discussion started by: kennethtls
8 Replies
5. Shell Programming and Scripting
Hi All,
My requirement is to write a shell script to compare two large csv files.
I've created sample files for explaining my problem
i.e., a.csv and b.csv
contents of files:
-----------------
a.csv
------
Type,Memory (Kb),Location HD,Size (Mb),Serial #
XT,640,D402,0,MG0010... (2 Replies)
Discussion started by: vasavi
2 Replies
6. Shell Programming and Scripting
Hi
I have a file with different filesystems with there sizes. I need to split them in chucks of 1TB.
The file looks like
vf_MTLHQNASF07_Wkgp2 187428400 10601AW1
vf_MTLHQNASF07_Wkgp2 479504596 10604AW1
vf_MTLHQNASF07_Wkgp2 19940 10605AID
vf_MTLHQNASF07_Wkgp2 1242622044... (4 Replies)
Discussion started by: bombcan
4 Replies
7. Shell Programming and Scripting
I am going to provide a chunks of codes that I do not understand. Please help with them in a layman's terms.
1) ${DEBUG:-0}
--------------------------------------------------------------------------
2) print "${1}"
... (7 Replies)
Discussion started by: lg123
7 Replies
8. Shell Programming and Scripting
I have two files for comparison which are extracts from set of xml files.
file1 has:
Comparing File: BRCSH1to320140224CC3.xml
:: TZZZ:BR
:: TAZZ:OUT
UIZZ:0 :: ERAZ:1.000000
UIZZ:0 :: CTZZ:B
UIZZ:0 :: CCAZ:MYR
Comparing File: BRMY20140224CC18REG013SPFNSY13.xml
:: TZZZ:BR
:: TAZZ:INB... (1 Reply)
Discussion started by: vamsi gunda
1 Replies
9. Shell Programming and Scripting
All,
I have an application that is not working properly and the company is 'in the process' of fixing it. In the meantime, I want to write a bash script work-around. However, what I thought was going to be simple is seemingly not.
Need:
- Move files from one directory to another in... (3 Replies)
Discussion started by: hburnswell
3 Replies
10. UNIX for Beginners Questions & Answers
@sorted = sort { $a <=> $b } @unsorted;
I am having hard time understanding how this works? I know the output but interested to know the working.
Thanks in advance. (2 Replies)
Discussion started by: Tanu
2 Replies
LEARN ABOUT DEBIAN
pvm_archcode
ARCHCODE(3PVM) PVM Version 3.4 ARCHCODE(3PVM)
NAME
pvm_archcode - Returns the data representation code for a PVM architecture name.
SYNOPSIS
C int cod = pvm_archcode( char *arch )
Fortran call pvmfarchcode( arch, cod )
PARAMETERS
arch Character string containing the architecture name.
cod Integer returning architecture code.
DESCRIPTION
The routine pvm_archcode returns an integer given an architecture name. The code returned identifies machines with compatible binary data
formats. For example, SUN4 and RS6K have the same code, while ALPHA has a different one (because a few datatypes have different sizes).
This lets you know when you can get away with using PvmDataRaw instead of PvmDataDefault encoding to pass messages between tasks on two
machines.
Naturally, you shouldn't assume the values returned by pvm_archcode are etched in stone; the numbers have no intrinsic meaning except that
if two different arch names map to the same value then they're compatible.
This routine is actually obsolete in the sense that the architecture codes returned are already available in the hi_dsig field of the
pvmhostinfo structure returned by pvm_config(), as shown in the below example. The routine is maintained for backwards compatibility only.
EXAMPLES
C:
struct pvmhostinfo *hip;
int i;
pvm_config((int *)0, (int *)0, &hip);
i = pvm_archcode(hip[0].hi_arch);
/* or you could just do: i = hip[0].hi_dsig; */
Fortran:
CALL PVMFARCHCODE( 'RS6K', k )
ERRORS
On success, pvm_archcode returns a positive integer data signature.
The following error conditions can be returned as well:
PvmBadParam
giving an invalid architecture name.
PvmNotFound
there is no host with the given architecture name in the current virtual machine configuration.
PvmSysErr
pvmd not responding.
SEE ALSO
pvm_config(3PVM), pvm_initsend(3PVM), pvm_notify(3PVM), pvm_tasks(3PVM), pvm_tidtohost(3PVM)
15 March, 1994 ARCHCODE(3PVM)