Sponsored Content
Top Forums UNIX for Dummies Questions & Answers File Extension association in CDE Post 298 by PxT on Monday 20th of November 2000 01:56:54 PM
Old 11-20-2000
Look at /usr/dt/appconfig/types/C/datatypes.dt
The syntax is somewhat confusing, but you should be able to modify one of the examples given.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Association b/w sockets & processes

Hi, Is there any way i can know the association between sockets and the processes which created them. :confused: (5 Replies)
Discussion started by: soorajmu
5 Replies

2. HP-UX

Equivalent configuration file for HP CDE?

Hello all - Looking for the equivalent configuration file for X windows using HP Unix / CDE. For example, using BSD Unix and X windows, the configuration file is XF86Config. What is it for the HP Unix systems and the CDE? We have a system where we want to install a touch screen monitor, but... (1 Reply)
Discussion started by: mdinaz
1 Replies

3. UNIX Desktop Questions & Answers

How to migrate Solaris 10 CDE config to HP-UX CDE.

Hello, Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX? Just the config (actions, text files etc). Thanks in advance! (0 Replies)
Discussion started by: binary0x01
0 Replies

4. Shell Programming and Scripting

how to use the filehandle stored in a variable without knowing its file association

how to use the filehandle stored in a variable without knowing its file association i.e. the filename code my $logFH = $connObj->get('logFH'); infoPrint("Variable is of type IO \n") if(UNIVERSAL::isa($logFH, 'IO')); infoPrint("$logFH\n"); output == INFO :: Variable is of type... (0 Replies)
Discussion started by: rrd1986
0 Replies

5. Solaris

Connect to SunOS CDE from another CDE

I have two CDE desktop accounts on different server (called this CDE#1, CDE#2) on the same network. However, my current setup is connecting to the Solaris CDE#1,CDE#2 via Citrix. My plan is to connect to CD#1 and then somehow connect to CDE#2. How do I do this? I am just a regular user... (0 Replies)
Discussion started by: tthach830
0 Replies

6. UNIX for Dummies Questions & Answers

File association

Hi, I'm using unix solaris 2.8 with CDE and I would modify the file association in my desktop. I found the file /usr/dt/appconfig/types/C/datatypes.dt from this topic : File Extension association in CDE | Unix Linux Forums | UNIX for Dummies Questions & Answers but this file can only be... (3 Replies)
Discussion started by: Toug
3 Replies

7. UNIX for Dummies Questions & Answers

Display the .csv extension files based on .done extension fine

Hi All, I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing. 1.I need to display the .done files from the directory. 2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory ... (2 Replies)
Discussion started by: girija.g6
2 Replies
MPI_Type_create_f90_integer(3OpenMPI)									     MPI_Type_create_f90_integer(3OpenMPI)

NAME
MPI_Type_create_f90_integer - Returns a bounded MPI integer datatype SYNTAX
C Syntax #include <mpi.h> int MPI_Type_create_f90_integer(int r, MPI_Datatype *newtype) Fortran Syntax INCLUDE 'mpif.h' MPI_TYPE_CREATE_F90_INTEGER (R, NEWTYPE, IERROR) INTEGER R, NEWTYPE, IERROR C++ Syntax #include <mpi.h> static MPI::Datatype MPI::Datatype::Create_f90_integer(int r) INPUT PARAMETER
r Precision, in decimal digits (integer). OUTPUT PARAMETERS
newtype New data type (handle). IERROR Fortran only: Error status (integer). DESCRIPTION
This function provides a way to declare KIND-parameterized INTEGER MPI datatypes. The argument is interpreted in a similar fashion to the F90 function SELECTED_INT_KIND: r must be a scalar integer, and represents the desired level of numerical precision, in decimal digits. NOTES
It is erroneous to supply a value for r not supported by the compiler. The Fortran function SELECTED_INT_KIND maps a large number of r values to a much smaller number of KIND parameters supported by the com- piler. KIND parameters are not specified by the language and are not portable. From the point of view of the language, variables of the same base type and KIND parameter are equivalent, even if their KIND parameters were generated by different r arguments to SELECTED_INT_KIND. However, to help facilitate interoperability in a heterogeneous environment, equivalency is more strictly defined for datatypes returned by MPI_Type_create_f90_integer. Two MPI datatypes, each generated by this function, will match if and only if they have identical values for r. The interaction between the datatypes returned by this function and the external32 data representation - used by MPI_Pack_external, MPI_Unpack_external and many MPI_File functions - is subtle. The external32 representation of returned datatypes is as follows. if (r > 38): external32 size = n/a (undefined) else if (r > 18): external32 size = 16 else if (r > 9): external32 size = 8 else if (r > 4): external32 size = 4 else if (r > 2): external32 size = 2 else: external32 size = 1 If the external32 representation of a datatype is undefined, so are the results of using that datatype in operations that require the external32 format. Care should be taken not to use incompatible datatypes indirectly, e.g., as part of another datatype or through a dupli- cated datatype, in these functions. If a variable is declared specifying a nondefault KIND value that was not obtained with SELECTED_INT_KIND (i.e., r is unknown), the only way to obtain a matching MPI datatype is to use the functions MPI_Sizeof and MPI_Type_match_size. ERRORS
Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ func- tions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism will be used to throw an MPI:Exception object. Before the error value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job, except for I/O function errors. 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. See the MPI man page for a full list of MPI error codes. SEE ALSO
MPI_Pack_external MPI_Sizeof MPI_Type_match_size MPI_Unpack_external SELECTED_INT_KIND Open MPI 1.2 September 2006 MPI_Type_create_f90_integer(3OpenMPI)
All times are GMT -4. The time now is 11:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy