06-23-2014
We can't tell why your code is breaking down either. Certainly not without seeing it.
9 More Discussions You Might Find Interesting
1. Programming
hi,all
i have in trouble about msgget.
i create a queue and the program like blow:
openMsg( pid_t key )
{
....
int msgid;
....
msgid=msgget(key,IPC_CREAT|IPC_EXCL|0666)
if( msgid<=0 ){
fprintf( stdout,"%s,%d",strerror(errno),errno );
return -1;
... (9 Replies)
Discussion started by: subrain
9 Replies
2. Shell Programming and Scripting
I have a script that does a search and replace on a tree using find, xargs and sed that looks something like this.
find . -type f -print0 | xargs -0 sed -i 's/fromthis/tothis/g'
Now this works fine on new versions on Linux but I need to make the script work on an old RAQ550 that has an older... (3 Replies)
Discussion started by: simonb
3 Replies
3. Programming
Hi,
I am having problem with msgget() function.
Here is the problem that I am having on Unix :
I have two processes sender and receiver. Sender generates queue (msgget()) with some key e.g. 938, for output.
Receiver reads from the same queue. i.e. receiver also tries to get queue... (2 Replies)
Discussion started by: Ashwini
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I've some existing scripts wherein am using ftp + .netrc. I've defined my macros in .netrc file.
I want to switch to sftp now but it seems it doesn't support macros and .netrc and it gives "command invalid" error.
Is there any other alternative?
Note: I don't want help for... (1 Reply)
Discussion started by: ps51517
1 Replies
5. Windows & DOS: Issues & Discussions
Hello,
I've setup a ubuntu 10.04 server running samba 3.4.7 as domain controler / file server at a customer site, that works great most of the time but I face a random problem. Of course I'm never on the site when the problem occurs, so I cannot investigate in real time.
What happens is that... (2 Replies)
Discussion started by: Manu.b
2 Replies
6. Shell Programming and Scripting
#/bin/sh
.....
#convert memory to MB
let "mmsize_a= ($mmsize)/256"
let "mminuse_a= ($mminuse)/256"
let "mmfree_a= ($mmsize_a -$mminuse_a)"
let "mmfreepercent= (($mmfree_a)/($mmsize_a))*100"
#
#format output
echo "\n\n######################" >>$sndFile
echo "\n$sysName Total Memory usage"... (3 Replies)
Discussion started by: Daniel Gate
3 Replies
7. Programming
I want to use msgget() to obtain a message queue between two processes, here is my code:
the first one create the mq, the second one open it and add a message to it. But when I execute the second one, I get permission denied. I've already desperately tried everything I can think of to solve this... (2 Replies)
Discussion started by: tefino
2 Replies
8. UNIX for Advanced & Expert Users
Solaris 10 Sparc:
When you got a connection locking a tcp/port, and the status is CLOSE_WAIT (for ever :wall:), you just use the tcpdrop, to close the connection.
This is a OS bug. I wrote the bug id bellow:
BUG-ID
6468753 connections stuck in CLOSE_WAIT
The patch that's correct the bug:... (0 Replies)
Discussion started by: thiagofborn
0 Replies
9. AIX
Hello Folks,
Facing a problem starting Apache Services on AIX 7.1
This is the error i'm getting
/oraapp/prodora/iAS/Apache/Apache/bin/apachectl start: httpd started
Syntax error on line 17 of /oraapp/prodora/iAS/Apache/modplsql/cfg/plsql_pls.conf:
Cannot load... (0 Replies)
Discussion started by: filosophizer
0 Replies
LEARN ABOUT DEBIAN
stable
stable(1) stable(1)
NAME
stable - MO Hessian stability analysis program
DESCRIPTION
The program stable performs a stability analysis on the molecular orbitals by diagonalizing the molecular orbital Hessian. The analysis
includes orbital rotations which may break spin or spatial symmetry. If an instability is detected (i.e., there are negative eigenvalues
of the MO Hessian), the previous Hartree-Fock self consistent field (SCF) computation has landed on a local minimum, not the global mini-
mum, in orbital rotation space. For spatial- or symmetry-breaking rotations, this merely means that there is another orbital occupation or
a UHF wavefunction with a lower energy. For instabilties which preserve the reference type (RHF or UHF) and are totally symmetric, this
suggests that the SCF computation has simply found the wrong solution and should be re-run using a new initial guess.
Instabilities corresponding to spatial symmetry breaking rotatios can be resolved by re-running the calculation in a lower computational
point group. (It may also be necessary to employ some trick to break the symmetry of the initial guess wavefunction). Instabilities cor-
responding to spin symmetry breaking rotations (RHF->UHF) can be resolved by re-running the SCF using a UHF reference.
For UHF wavefunctions with totally-symmetric instabilities, it is possible to follow the instability automatically toward the global mini-
mum by setting FOLLOW=TRUE.
INPUT FORMAT
Input for this program is read from the file The following keywords are valid:
CACHELEV = integer
This is the cache level used for the DPD files. It functions the same way as in the coupled-cluster codes. Currently, this is
hardwired to 0.
FOLLOW = boolean
If TRUE, then the eigenvector corresponding to the most negative eigenvalue of the MO Hessian will be followed to try to find a
lower energy Hartree-Fock solution. The orbitals will be rotated, and the cscf module should be re-run using these new guess
orbitals.
NUM_EVECS_PRINT = integer
Gives the number of MO Hessian eigenvectors to print.
PRINT = integer
The print level determines how much information is printed by the program. Values typically range from 1 (minimal printing) to 5
(very verbose printing for debugging only). The default is 1.
REFERENCE = string
This is the reference type, RHF, ROHF, or UHF. The default is RHF.
SCALE = real
This is the scale factor used for taking steps in eigenvector following. Normal values would be between 0 and 1. The default is
0.5.
23 Aug, 2003 stable(1)