Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for supporting multi-thread calling mpi function

A multi-thread and function technology, applied in the field of supporting multi-thread calling MPI functions, can solve the problems that computing and network cannot be carried out at the same time, cloud computing can not fully utilize the fine-grained, high parallelism, use of OpenMPI functions, etc.

Active Publication Date: 2016-05-04
BEIJING QIHOO TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the strictly phased program, computing and network cannot be performed at the same time, and the advantages of fine-grained and high parallelism of cloud computing cannot be fully utilized.
[0010] 2. Program writers need to keep in mind that OpenMPI functions cannot be used in multiple threads. For cloud computing program writers, it is easy to make mistakes, resulting in undetectable problems in the program

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for supporting multi-thread calling mpi function
  • A method and device for supporting multi-thread calling mpi function
  • A method and device for supporting multi-thread calling mpi function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0051] refer to figure 1 , which shows a schematic flow chart of Embodiment 1 of a method for supporting multi-threaded calling of MPI functions according to the present invention, which may specifically include:

[0052] Step 110, for a computing server in cloud computing, when the computing server executes a task, if the threads in the computing server send respective MPI call requests to call the MPI function in the OpenMPI libr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a device supporting calling of an MPI (Message Passing Interface) function through multiple threads, and relates to the technical field of testing. The method comprises the following steps of: specific to one computing server in cloud computing, uniformly sequencing each MPI calling request if threads in the computing server transmit respective MPI calling requests for calling MPI functions in an OpenMPI library when the computing server is used for executing one task; and calling MPI functions which correspond to the MPI calling requests one by one according to a sequence formed after the sequencing operation. Specific to a multithread application environment, the problem that the advantages of cloud computing fineness and high parallelism cannot be brought into full play due to internal processing faults and program abnormity of OpenMPI under the condition that the key data structures of the MPI functions are damaged during multithread calling of the MPI functions of the OpenMPI library is solved, multithread calling of an MPI library can be realized, and the advantages and beneficial effects of cloud computing fineness and high parallelism in a cloud computing environment can be brought into full play.

Description

technical field [0001] The present application relates to the technical field of testing, in particular to a method and device for supporting multi-threaded calling of MPI functions. Background technique [0002] The types of cloud computing (cloud computing: a computing model that provides dynamically scalable virtualized resources as a service through a computer network) programs can be divided into parallel programs without communication types and parallel programs with communication types. For the parallel program without communication type, each process (that is, each subtask) of the calculation (usually called a job) can be started at any time, and does not need to be started at the same time as other subtasks, because there is no need for communication between subtasks, each Each subtask can end directly after processing its own calculation. Therefore, the cloud computing platform scheduler can schedule different subtasks at different times, and the scheduling method...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48
Inventor 何锐邦唐会军
Owner BEIJING QIHOO TECH CO LTD