07-04-2010
10 More Discussions You Might Find Interesting
1. Programming
Hi All
I am compiling a STL map program in HP-UX using aCC compiler
#include <iostream.h>
#include <sys/map.h>
#include <string>
#include <string.h>
int main()
{
map<string, long> directory;
}
$ aCC map3.cpp
Error 318: "map3.cpp", line 7 # A template name was expected... (0 Replies)
Discussion started by: dhanamurthy
0 Replies
2. High Performance Computing
1st,I'm a newbie.
I've written a mpi program to realize the parallel computing and encounter many problems.
1. When the computing scale is small, that means the communication time is short, just needs few minutes, such as 14 minutes or less. The program runs well and finished the jog.
... (0 Replies)
Discussion started by: mystline
0 Replies
3. Programming
in a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:
client:Knock Knock
server:who's there
client: Eric
Server:Eric,Welcome.
client:exit
all process terminated
... (1 Reply)
Discussion started by: ouou
1 Replies
4. Shell Programming and Scripting
I'm trying to run MPI programs on 8 machines, but I get the error
connect to address 127.0.0.1 port 544: Connection refused
Trying krb4 rsh...
connect to address 127.0.0.1 port 544: Connection refused
trying normal rsh (/usr/bin/rsh)
lagrid02: Connection refused
When I run it with a... (8 Replies)
Discussion started by: vishwamitra
8 Replies
5. Programming
Hi,
I have a fortran program with serial and MPI version. I want to compare the time taken by these programs to run. I use ifort/gfortran compiler.
How to compare the time taken by each program to run? Is there any sample code for comparison?
Thanks,
rpd (1 Reply)
Discussion started by: rpd25
1 Replies
6. Shell Programming and Scripting
I have a ksh script (script1) that calls another ksh script (script2). If script2.ksh hangs or takes too long to execute I want script1.ksh to kill the call to script2.ksh and instead just display "Script2 can't run right now". Could someone help me with coding this? (1 Reply)
Discussion started by: mrskittles99
1 Replies
7. Shell Programming and Scripting
I have a TCSH script that calls a program. This program generates a file and outputs a message to the terminal window. Is there a way to store the message it outputs to a variable...so I can use it in my script? (3 Replies)
Discussion started by: thibodc
3 Replies
8. Solaris
Hi All
I am facing an issue with our new solaris machine.
in /var/adm/messages
root@Prod-App1:/var/tmp#
root@Prod-App1:/var/tmp#
root@Prod-App1:/var/tmp# cat /var/adm//messages
Apr 20 03:10:01 Prod-App1 syslogd: line 25: WARNING: loghost could not be resolved
Apr 20 08:24:18 Prod-App1... (0 Replies)
Discussion started by: javeedkaleem
0 Replies
9. UNIX for Advanced & Expert Users
Hi ,
Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies
10. Red Hat
Can somebody know if it is possible to connect to remote IBM MQ, if local server using C, but don't have MQ library?
Thanks for contribution (0 Replies)
Discussion started by: digioleg54
0 Replies
LEARN ABOUT DEBIAN
mpi_file_set_errhandler
MPI_File_set_errhandler(3) MPI MPI_File_set_errhandler(3)
NAME
MPI_File_set_errhandler - Set the error handler for an MPI file
SYNOPSIS
int MPI_File_set_errhandler(MPI_File file, MPI_Errhandler errhandler)
INPUT PARAMETERS
file - MPI file (handle)
errhandler
- new error handler for file (handle)
THREAD AND INTERRUPT SAFETY
This routine is thread and interrupt safe only if no MPI routine that updates or frees the same MPI object may be called concurrently with
this routine.
The MPI standard defined a thread-safe interface but this does not mean that all routines may be called without any thread locks. For
example, two threads must not attempt to change the contents of the same MPI_Info object concurrently. The user is responsible in this
case for using some mechanism, such as thread locks, to ensure that only one thread at a time makes use of this routine.
NOTES FOR FORTRAN
All MPI routines in Fortran (except for MPI_WTIME and MPI_WTICK ) have an additional argument ierr at the end of the argument list. ierr
is an integer and has the same meaning as the return value of the routine in C. In Fortran, MPI routines are subroutines, and are invoked
with the call statement.
All MPI objects (e.g., MPI_Datatype , MPI_Comm ) are of type INTEGER in Fortran.
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 (for communicators), MPI_File_set_errhandler (for files), and
MPI_Win_set_errhandler (for RMA windows). The MPI-1 routine MPI_Errhandler_set may be used but its use is deprecated. The predefined
error handler MPI_ERRORS_RETURN may be used to cause error values to be returned. Note that MPI does not guarentee that an MPI program can
continue past an error; however, MPI implementations will attempt to continue whenever possible.
MPI_SUCCESS
- No error; MPI routine completed successfully.
LOCATION
file_set_errhandler.c
10/29/2009 MPI_File_set_errhandler(3)