05-07-2009
In my context it was definitely faster. Cheers.
10 More Discussions You Might Find Interesting
1. Programming
Hi there
I compiled a simple .c file using the cc command, the file was
compiled successfully and executable file (a.out) was generated.
But When I executed the a.out file it gave me:
bash: a.out: command not found
Can anybody tell me what's the problem.
Note that I'm using:
Red Hat... (3 Replies)
Discussion started by: HAS
3 Replies
2. UNIX for Advanced & Expert Users
All,
I've a script that I'm trying to execute with crontab. But it was not working. Then when i checked executing the script manually, I've found a strange thing. the script executes only with
sh <SCRIPTNAME> and not with ./<SCRIPTNAME>
I'm using Red hat 7.3, and the error that i'm getting... (2 Replies)
Discussion started by: i2admin
2 Replies
3. UNIX for Dummies Questions & Answers
Suppose there is a file which is being executed by someone. Is there a way to return the username of whoever is using that file? (7 Replies)
Discussion started by: Sniper Pixie
7 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I have scheduled a script in cron which writes output to the below file.
....>> /data/Target/wrapper_invoke_ds_job_`date '+%Y%m%d'`.ksh_out 2>&1
But the date command is not getting resolved in the format specified. It just resolves to the following.
wrapper_invoke_MQ_ds_job_Tue... (3 Replies)
Discussion started by: pkm_oec
3 Replies
5. Shell Programming and Scripting
Hello everybody!
Here is my problem: I try to write a script that searches for files with several extensions using the find utility. The file extensions are defined in a list so I build a string (variable) of the pattern arguments with these extensions but can't get find working. Here is a code... (3 Replies)
Discussion started by: Ro_land
3 Replies
6. Shell Programming and Scripting
Guys,
I have a script that should change one of the configuration Parameter in a http accelerator, this config change which will halt http traffic into device. So I have designed a script which should do these changes. But after executing this script, found that one of the input variable is not... (8 Replies)
Discussion started by: raghunsi
8 Replies
7. Shell Programming and Scripting
Hi,
Input: XX = to_date ('9999-12-31 23:59:59', 'YYYY-MM-DD HH24:MI:SS')
Required output: XX=to_date (\'9999-12-31 23:59:59\', \'YYYY-MM-DD HH24:MI:SS\')
Regards
Akshu (3 Replies)
Discussion started by: akshu.agni
3 Replies
8. UNIX for Dummies Questions & Answers
Buddies, I am trying to copy the file 'xcopyq' from /home/sandip to /home/sandip/testdir using the below command and getting the error as shown below:-
sandip@manu:~$ find /home/sandip -type f -name '*xcopyq*' -exec cp{} /home/sandip/testdir/ \:
find: missing argument to `-exec'
Am I... (2 Replies)
Discussion started by: sandip250382
2 Replies
9. Shell Programming and Scripting
Running below command , but unable to print the filename , is there way to print filename/dirname using -print option
find . -type f -exec aclput -i fileacl.template {} \; (5 Replies)
Discussion started by: lalitpct
5 Replies
10. Solaris
Hello,
Our applications are deployed in SunOS 5.10 servers. All the team members use a same username/pwd to login to the box. Very often we face issue were we could see that weblogic server instance are KILLED and we are not able to trace who executed kill command. All team members use PUTTY to... (2 Replies)
Discussion started by: santtarius
2 Replies
LEARN ABOUT DEBIAN
icetcreatecontext
icetCreateContext(3) IceT Reference icetCreateContext(3)
NAME
icetCreateContext -- creates a new context.
Synopsis
#include <IceT.h>
IceTContext icetCreateContext( IceTCommunicator comm );
Description
The icetCreateContext function creates a new .igcontext!IceT IceT context, makes it current, and returns a handle to the new context. The
handle returned is of type IceTContext. This is an opaque type that should not be handled directly, but rather simply passed to other IceT
functions.
Like OpenGL ,the IceT engine behaves like a large state machine. The parameters for engine operation is held in the current state. The
entire state is encapsulated in a context. Each new context contains its own state.
It is therefore possible to change the entire current state of IceT by simply switching contexts. Switching contexts is much faster, and
often more convenient, than trying to change many state parameters.
Errors
None.
Warnings
None.
Bugs
It may be tempting to use contexts to run different IceT operations on separate program threads. Although certainly possible, great care
must be taken. First of all, all threads will share the same context. Second of all, IceT is not thread safe. Therefore, a multi-threaded
program would have to run all IceT commands in `critical sections' to ensure that the correct context is being used, and the methods exe-
cute safely in general.
Notes
icetCreateContext duplicates the communicator comm. Thus, to avoid deadlocks on certain implementations (such as MPI), the user level pro-
gram should call icetCreateContext on all processes with the same comm object at about the same time.
Copyright
Copyright (C)2003 Sandia Corporation
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.
This source code is released under the New BSD License.
See Also
icetDestroyContext(3), icetGetContext(3), icetSetContext(3), icetCopyState(3), icetGet(3)
IceT Reference August 9, 2010 icetCreateContext(3)