Information processing program, information processing method, and information processing device

The information processing program addresses the cost challenges of parallel processing density functional theory calculations by calculating optimal setting values, reducing costs and enhancing simulation efficiency in materials engineering and science.

WO2024224844A1PCT designated stage expired Publication Date: 2024-10-31FUJITSU LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/009465
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-26
Filing Date
2024-03-12
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Conventional methods face challenges in reducing the cost and determining the optimal number of nodes for parallel processing of density functional theory calculations, leading to increased time and monetary costs in materials engineering and science simulations.

Method used

An information processing program and method that calculates the cost of parallel processing density functional theory calculations by obtaining candidates for setting values, using a model formula to estimate costs, and determining the optimal setting values to minimize costs.

Benefits of technology

The solution effectively reduces the cost of parallel processing density functional theory calculations, enabling more efficient simulations of material properties by determining the appropriate number of processes and threads for parallel processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024009465_31102024_PF_FP_ABST
    Figure JP2024009465_31102024_PF_FP_ABST
Patent Text Reader

Abstract

[Problem] To reduce costs involved in the parallel processing of density functional theory calculations for a material. [Solution] The information processing device 100 stores model formulas 110 corresponding to each of one or more computational processes involved in DFT calculations for a material. The information processing device 100 acquires one or more candidates for a setting value 111 related to the execution environment for parallel processing of the DFT calculations for the material. For each candidate among the one or more candidates that have been acquired, the information processing device 100 computes a cost total 112 for that candidate on the basis of the model formulas 110. The information processing device 100 determines the setting value 111 on the basis of the computed total 112.
Need to check novelty before this filing date? Find Prior Art

Description

Information processing program, information processing method, and information processing device

[0001] The present invention relates to an information processing program, an information processing method, and an information processing device.

[0002] In the fields of materials engineering, materials science, and materials development, density functional theory calculations for materials are often performed in parallel to analyze the ground-state energy of a material or the change in energy due to the movement of atoms within the material.

[0003] In the prior art, for example, lubricant performance requirements are followed and atomistic modeling tools are used to design lubricant formulations that substantially meet a set of performance requirements.

[0004] Special Publication No. 2008-523472

[0005] However, with conventional techniques, it is difficult to reduce the cost of parallel processing density functional theory calculations for materials. For example, it is not possible to determine how many nodes are desirable for parallel processing of density functional theory calculations for materials.

[0006] In one aspect, the present invention aims to reduce the cost involved in parallel processing density functional theory calculations for materials.

[0007] According to one embodiment, an information processing program, an information processing method, and an information processing device are proposed that acquire one or more candidates for setting values ​​related to an execution environment for parallel processing of density functional theory calculations on a material, calculate a sum of costs corresponding to each of the one or more acquired candidates based on a model formula that corresponds to each of the one or more calculation processes related to the density functional theory calculations on the material and outputs an estimate of the cost required to perform the calculation process in response to input of the setting values, and determine the setting values ​​based on the calculated sum.

[0008] According to one aspect, it is possible to reduce the cost involved in parallel processing density functional theory calculations for a substance.

[0009] FIG. 1 is an explanatory diagram illustrating an example of an information processing method according to an embodiment. FIG. 2 is an explanatory diagram illustrating an example of an information processing system 200. FIG. 3 is a block diagram illustrating an example of the hardware configuration of an information processing device 100. FIG. 4 is a block diagram illustrating an example of the functional configuration of the information processing device 100. FIG. 5 is an explanatory diagram (part 1) illustrating an example of an operation of the information processing device 100. FIG. 6 is an explanatory diagram (part 2) illustrating an example of an operation of the information processing device 100. FIG. 7 is an explanatory diagram (part 3) illustrating an example of an operation of the information processing device 100. FIG. 8 is an explanatory diagram (part 4) illustrating an example of an operation of the information processing device 100. FIG. 9 is an explanatory diagram (part 5) illustrating an example of an operation of the information processing device 100. FIG. 10 is an explanatory diagram (part 1) illustrating a specific example of the operation of the information processing device 100. FIG. 11 is an explanatory diagram (part 2) illustrating a specific example of the operation of the information processing device 100. FIG. 12 is an explanatory diagram illustrating an example of the information processing device 100. FIG. 13 is a flowchart (part 1) illustrating an example of an overall processing procedure. FIG. 14 is a flowchart (part 2) illustrating an example of the overall processing procedure.

[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an information processing program, an information processing method, and an information processing device according to embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0011] (Example of Information Processing Method According to Embodiment) Fig. 1 is an explanatory diagram showing an example of an information processing method according to an embodiment. The information processing device 100 is a computer that facilitates parallel processing of density functional theory calculations for materials. The information processing device 100 is, for example, a server or a PC (Personal Computer).

[0012] In the fields of materials engineering, materials science, and materials development, it is conventionally desirable to verify the physical properties of substances. The substances are, for example, materials. For example, in order to design, research, or develop practical materials, it is desirable to verify the physical properties of materials. The materials are, for example, catalysts.

[0013] Here, for example, it is conceivable to verify the physical properties of the material by manufacturing an actual material and conducting predetermined experiments on the actual material, but this leads to problems such as increased human, time, and financial costs involved in verifying the physical properties of the material, etc. Also, for example, there is a problem in that it is difficult to accurately manufacture an actual material in a desired state in order to verify the physical properties of a material in a different state.

[0014] For this reason, there is a tendency to desire to perform simulations to verify the physical properties of materials. Density functional theory calculations for materials are used in simulations. For example, when performing simulations, density functional theory calculations may be performed on materials to analyze the ground state energy of the material or changes in energy due to the movement of atoms within the material. Specifically, by performing density functional theory calculations on the material, it is possible to calculate the energy used in chemical reactions on the surface of the material and perform simulations to verify the rate of the chemical reactions.

[0015] Here, the larger the scale of a substance, the longer the processing time required to perform density functional theory calculations on the substance. The scale of a substance may include, for example, 10,000 atoms. For example, the computational complexity of density functional theory calculations on a substance is O(N^3) where N is the number of atoms. Furthermore, when performing a simulation to verify the physical properties of multiple substances, density functional theory calculations are performed on each substance. In this way, density functional theory calculations on substances can become a bottleneck when verifying the physical properties of materials.

[0016] Therefore, it is sometimes desirable to perform parallel processing of density functional theory calculations for materials. However, conventionally, it has been difficult to reduce the time, power, or financial costs involved in parallel processing of density functional theory calculations for materials.

[0017] For example, there is a problem in that it is not possible to determine how many nodes are preferable for parallel processing of density functional theory calculations on a material. Specifically, there is a problem in that it is not possible to determine how many nodes are preferable for parallel processing of density functional theory calculations on a material, how many processes are preferable for parallel processing of density functional theory calculations on a material, or how many threads are preferable for parallel processing of density functional theory calculations on a material.

[0018] For example, it is conceivable that an operator should determine how many nodes are desirable for parallel processing of density functional theory calculations for a material, but this increases the workload on the operator.Furthermore, if the operator is not familiar with density functional theory calculations for a material, it is difficult for the operator to appropriately determine how many nodes are desirable for parallel processing of density functional theory calculations for a material.

[0019] When density functional theory calculations for a material are parallel-processed without determining how many nodes are desirable for parallel processing of the density functional theory calculations for the material, there is a problem that the time, power, or monetary costs increase.

[0020] Therefore, in this embodiment, an information processing method that can reduce the cost required for parallel processing of density functional theory calculations for a substance will be described. In the following description, density functional theory may be referred to as "DFT (Density Functional Theory)." In the following description, DFT may also be referred to as Hybrid DFT.

[0021] 1, an information processing device 100 stores model formulas 110 corresponding to each of one or more calculation steps related to a DFT calculation for a substance. The DFT calculation for a substance is defined, for example, by a combination of predetermined attribute values. The predetermined attribute values ​​are set in advance by, for example, a user.

[0022] The attribute values ​​include, for example, the type of atoms that form the substance, the number of atoms that form the substance, the positions of the atoms that form the substance, the type of density functional for the substance, the type of basis function used in the density functional for the substance, or the termination conditions for DFT calculations for the substance.

[0023] The model formula 110 corresponding to any of the calculation processes has a function of outputting an estimate of the cost required to perform any of the calculation processes in response to, for example, input of a setting value 111 related to an execution environment for parallel processing of DFT calculations for a substance. The cost may be, for example, a time cost, a power cost, or a monetary cost. The setting value 111 may be, for example, the number of processes for parallel processing of DFT calculations for a substance, or the number of threads within a process. The setting value 111 may be, for example, a combination of the number of processes and the number of threads within a process.

[0024] (1-1) The information processing device 100 acquires one or more candidates for the setting value 111 related to the execution environment for parallel processing of DFT calculations for a substance. The candidates are, for example, an example of a combination of the number of processes and the number of threads within the process. The information processing device 100 acquires one or more candidates for the setting value 111 by accepting input of one or more candidates for the setting value 111 based on operation input by a user.

[0025] (1-2) The information processing device 100 calculates a sum 112 of costs corresponding to each of the one or more acquired candidates based on the model formula 110. For example, the information processing device 100 acquires, for each candidate, an estimated value of the cost output by the model formula 110 corresponding to each calculation process. For example, the information processing device 100 calculates a sum 112 by adding up the acquired costs for each candidate. This enables the information processing device 100 to evaluate how desirable each candidate is in terms of the cost required to process DFT calculations for a substance in parallel.

[0026] (1-3) The information processing device 100 determines the setting value 111 based on the calculated sum 112. For example, the information processing device 100 determines, from among one or more candidates, one candidate whose calculated sum 112 is the smallest as the setting value 111. For example, the information processing device 100 may determine, from among one or more candidates, one candidate whose calculated sum 112 is equal to or less than a threshold as the setting value 111. For example, the information processing device 100 may determine, from among one or more candidates, the statistical value of a candidate whose calculated sum 112 is equal to or less than a threshold as the setting value 111.

[0027] This allows the information processing device 100 to appropriately set the setting value 111 in terms of the cost required for parallel processing of DFT calculations on a substance. The information processing device 100 can reduce the cost required for parallel processing of DFT calculations on a substance. This makes it easier for the information processing device 100 to perform simulations for verifying the physical properties of a substance.

[0028] Here, the case where the predetermined attribute values ​​are set in advance by a user has been described, but this is not limiting. For example, the information processing device 100 may receive an input of a combination of predetermined attribute values. In this case, the information processing device 100 may generate a model formula 110 corresponding to each of one or more calculation steps related to a DFT calculation for a substance, the calculation steps being defined by the combination of predetermined attribute values ​​that has been received as input.

[0029] Here, the case where the functions of the information processing device 100 are realized by a single computer has been described, but this is not limiting. For example, the functions of the information processing device 100 may be realized by a plurality of computers working together. Specifically, the functions of the information processing device 100 may be realized on a cloud.

[0030] (Example of Information Processing System 200) Next, an example of an information processing system 200 to which the information processing device 100 shown in FIG. 1 is applied will be described with reference to FIG.

[0031] 2 is an explanatory diagram showing an example of an information processing system 200. In FIG. 2, the information processing system 200 includes the information processing device 100, one or more parallel processing devices 201, and one or more client devices 202.

[0032] In the information processing system 200, the information processing device 100 and the parallel processing device 201 are connected via a wired or wireless network 210. The network 210 is, for example, a local area network (LAN), a wide area network (WAN), the Internet, etc. In the information processing system 200, the information processing device 100 and the client device 202 are connected via the wired or wireless network 210.

[0033] The information processing device 100 is a computer that facilitates parallel processing of DFT calculations for materials. The information processing device 100 receives a processing request requesting parallel processing of DFT calculations for materials from a client device 202. The processing request includes, for example, a combination of predetermined attribute values. The processing request includes, for example, one or more candidate setting values ​​related to the execution environment of the DFT calculations for the materials.

[0034] The information processing device 100 acquires a combination of predetermined attribute values ​​from the processing request. The information processing device 100 generates a model formula corresponding to each of one or more calculation steps related to DFT calculation for a substance, which are defined by the acquired combination of predetermined attribute values. Specific examples of generating a model formula will be described later using, for example, FIGS. 5 to 12 .

[0035] The information processing device 100 acquires one or more candidate setting values ​​related to the execution environment of the DFT calculation for the substance from the processing request. Similarly to Fig. 1, the information processing device 100 calculates the sum of costs corresponding to each of the acquired one or more candidates based on the model formula. Similarly to Fig. 1, the information processing device 100 determines the setting values ​​based on the calculated sum.

[0036] The information processing device 100 controls one or more parallel processing devices 201 to perform parallel processing of the DFT calculations on the material based on the determined setting values. The information processing device 100 obtains the results of the parallel processing of the DFT calculations on the material as a result of controlling the one or more parallel processing devices 201. The information processing device 100 transmits the results of the parallel processing of the DFT calculations on the material to the client device 202. The information processing device 100 is, for example, a server or a PC.

[0037] The parallel processing device 201 is a computer for performing parallel processing of DFT calculations for materials. The parallel processing device 201 shares the DFT calculations for materials under the control of the information processing device 100. The parallel processing device 201 is, for example, a server or a PC.

[0038] The client device 202 is a computer used by an operator who is attempting to verify the physical properties of a substance. The client device 202 accepts input of a combination of predetermined attribute values ​​based on an operational input by the operator. The client device 202 also accepts input of one or more candidate setting values ​​related to the execution environment of a DFT calculation for the substance based on an operational input by the operator.

[0039] The client device 202 generates a processing request including the combination of the input predetermined attribute values ​​and one or more candidate setting values ​​related to the execution environment of the DFT calculation for the input substance. The client device 202 transmits the generated processing request to the information processing device 100.

[0040] The client device 202 receives the results of the parallel processing of the DFT calculations for the substances from the information processing device 100. The client device 202 outputs the results of the parallel processing of the DFT calculations for the substances so that the operator can refer to them. The client device 202 is, for example, a PC, a tablet terminal, or a smartphone.

[0041] Here, the case where the information processing device 100 is a computer different from the parallel processing device 201 has been described, but this is not limiting. For example, the information processing device 100 may have the functions of the parallel processing device 201 and may also operate as the parallel processing device 201.

[0042] Here, the case where the information processing device 100 is a computer different from the client device 202 has been described, but this is not limiting. For example, the information processing device 100 may have the functions of the client device 202 and may also operate as the client device 202.

[0043] (Example of Hardware Configuration of Information Processing Apparatus 100) Next, an example of the hardware configuration of the information processing apparatus 100 will be described with reference to FIG.

[0044] Fig. 3 is a block diagram showing an example of the hardware configuration of the information processing device 100. In Fig. 3, the information processing device 100 has a CPU (Central Processing Unit) 301, a memory 302, a network I / F (Interface) 303, a recording medium I / F 304, and a recording medium 305. Furthermore, each component is connected to each other by a bus 300.

[0045] Here, the CPU 301 is responsible for overall control of the information processing device 100. The memory 302 includes, for example, a read-only memory (ROM), a random access memory (RAM), and a flash ROM. Specifically, for example, the flash ROM and ROM store various programs, and the RAM is used as a work area for the CPU 301. The programs stored in the memory 302 are loaded into the CPU 301, causing the CPU 301 to execute the coded processes.

[0046] The network I / F 303 is connected to the network 210 via a communication line, and is connected to other computers via the network 210. The network I / F 303 manages the internal interface with the network 210 and controls the input and output of data from other computers. The network I / F 303 is, for example, a modem or a LAN adapter.

[0047] The recording medium I / F 304 controls reading and writing of data from and to the recording medium 305 under the control of the CPU 301. The recording medium I / F 304 is, for example, a disk drive, a solid state drive (SSD), or a universal serial bus (USB) port. The recording medium 305 is a non-volatile memory that stores data written under the control of the recording medium I / F 304. The recording medium 305 is, for example, a disk, a semiconductor memory, or a USB memory. The recording medium 305 may be detachable from the information processing device 100.

[0048] In addition to the components described above, the information processing device 100 may also include, for example, a keyboard, a mouse, a display, a printer, a scanner, a microphone, a speaker, etc. The information processing device 100 may also include a plurality of recording medium I / Fs 304 and recording media 305. The information processing device 100 may also not include the recording medium I / Fs 304 and recording media 305.

[0049] (Example of Hardware Configuration of Parallel Processing Device 201) The example of the hardware configuration of the parallel processing device 201 is specifically similar to the example of the hardware configuration of the information processing device 100 shown in FIG. 3, and therefore description thereof will be omitted.

[0050] (Example of Hardware Configuration of Client Device 202) The example of the hardware configuration of the client device 202 is specifically similar to the example of the hardware configuration of the information processing device 100 shown in FIG. 3, and therefore description thereof will be omitted.

[0051] (Example of Functional Configuration of Information Processing Apparatus 100) Next, an example of the functional configuration of the information processing apparatus 100 will be described with reference to FIG.

[0052] 4 is a block diagram showing an example of the functional configuration of the information processing device 100. The information processing device 100 includes a storage unit 400, an acquisition unit 401, a measurement unit 402, a setting unit 403, a calculation unit 404, a determination unit 405, an implementation unit 406, and an output unit 407.

[0053] The storage unit 400 is realized by, for example, a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3. In the following, a case where the storage unit 400 is included in the information processing device 100 will be described, but this is not limiting. For example, the storage unit 400 may be included in a device different from the information processing device 100, and the stored contents of the storage unit 400 may be accessible from the information processing device 100.

[0054] The acquiring unit 401 to the output unit 407 function as an example of a control unit. Specifically, the acquiring unit 401 to the output unit 407 realize their functions by, for example, causing the CPU 301 to execute a program stored in a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3, or by using the network I / F 303. The processing results of each functional unit are stored in a storage area such as the memory 302 or the recording medium 305 shown in Fig. 3.

[0055] The storage unit 400 stores various information that is referenced or updated in the processing of each functional unit. The storage unit 400 stores, for example, one or more attribute values ​​that define DFT calculations for a substance. The attribute values ​​indicate, for example, the type of atoms that form the substance, the number of atoms that form the substance, or the positions of the atoms that form the substance. The attribute values ​​indicate, for example, the type of density functional for the substance, or the type of basis function used in the density functional for the substance. The attribute values ​​indicate, for example, the termination conditions for DFT calculations for the substance. The attribute values ​​are set in advance by, for example, a user. The attribute values ​​are acquired by, for example, the acquisition unit 401.

[0056] The storage unit 400 stores, for example, one or more samples of setting values ​​related to an execution environment for parallel processing of DFT calculations for a substance. The setting values ​​are, for example, information specifying the number of processes that share the DFT calculations for a substance and the number of threads that each process has. The setting values ​​are, for example, a combination of the number of processes and the number of threads within each process. The samples are, for example, set in advance by a user. The samples are, for example, acquired by the acquisition unit 401.

[0057] The storage unit 400 stores, for example, one or more candidates for setting values ​​related to an execution environment for parallel processing of DFT calculations for materials. The candidates are set in advance by, for example, a user. The candidates are acquired by, for example, the acquisition unit 401.

[0058] The storage unit 400 stores, for example, a model formula corresponding to each of one or more calculation processes related to DFT calculation for a substance. The model formula corresponding to any of the calculation processes has a function of outputting an estimated value of the cost required to perform any of the calculation processes, for example, in response to input of setting values ​​related to an execution environment for parallel processing of DFT calculation for a substance. The cost is, for example, a time, power, or monetary cost. The model formula is acquired, for example, by the acquisition unit 401. The model formula is generated, for example, by the setting unit 403.

[0059] The acquisition unit 401 acquires various types of information used in processing by each functional unit. The acquisition unit 401 stores the acquired various types of information in the storage unit 400 or outputs it to each functional unit. The acquisition unit 401 may also output the various types of information stored in the storage unit 400 to each functional unit. The acquisition unit 401 acquires various types of information based on, for example, a user's operation input. The acquisition unit 401 may also receive various types of information from, for example, a device other than the information processing device 100.

[0060] The acquisition unit 401 acquires, for example, a processing request requesting parallel processing of DFT calculations for a substance. Specifically, the acquisition unit 401 acquires the processing request by accepting input of the processing request based on an operation input by a user. Specifically, the acquisition unit 401 acquires the processing request by receiving it from another computer. The other computer is, for example, the client device 202.

[0061] The processing request may include, for example, one or more attribute values ​​that define a DFT calculation for a substance. The processing request may include, for example, one or more sample setting values ​​related to an execution environment for parallel processing of a DFT calculation for a substance. The processing request may include, for example, one or more candidate setting values ​​related to an execution environment for parallel processing of a DFT calculation for a substance. The processing request may include, for example, a model formula corresponding to each of one or more calculation steps related to a DFT calculation for a substance.

[0062] The acquisition unit 401 acquires, for example, one or more attribute values ​​that define a DFT calculation for a substance. Specifically, the acquisition unit 401 acquires the one or more attribute values ​​by accepting input of the one or more attribute values ​​based on an operational input from a user. Specifically, the acquisition unit 401 acquires the one or more attribute values ​​by receiving them from another computer. The other computer is, for example, the client device 202. Specifically, the acquisition unit 401 acquires the one or more attribute values ​​by extracting them from a processing request.

[0063] The acquisition unit 401 acquires, for example, one or more samples of setting values ​​related to an execution environment for parallel processing of DFT calculations for a substance. Specifically, the acquisition unit 401 acquires the one or more samples by accepting input of the one or more samples based on operation input from a user. Specifically, the acquisition unit 401 acquires the one or more samples by receiving them from another computer. The other computer is, for example, the client device 202. Specifically, the acquisition unit 401 acquires the one or more samples by extracting them from a processing request.

[0064] The acquisition unit 401 acquires, for example, one or more candidates for setting values ​​related to an execution environment for parallel processing of DFT calculations for a substance. Specifically, the acquisition unit 401 acquires the one or more candidates by accepting input of the one or more candidates based on an operational input from a user. Specifically, the acquisition unit 401 acquires the one or more candidates by receiving them from another computer. The other computer is, for example, the client device 202. Specifically, the acquisition unit 401 acquires the one or more candidates by extracting them from a processing request.

[0065] The acquisition unit 401 acquires, for example, a model formula corresponding to each of one or more calculation steps related to a DFT calculation for a substance. Specifically, the acquisition unit 401 acquires the model formula by accepting input of the model formula based on an operation input by a user. Specifically, the acquisition unit 401 acquires the model formula by receiving it from another computer. The other computer is, for example, the client device 202. Specifically, the acquisition unit 401 acquires the model formula by extracting it from a processing request.

[0066] The acquisition unit 401 may receive a start trigger that starts processing of one of the functional units. The start trigger may be, for example, a predetermined operation input by a user. The start trigger may be, for example, reception of predetermined information from another computer. The start trigger may be, for example, output of predetermined information by one of the functional units.

[0067] Specifically, the acquisition unit 401 accepts the acquisition of one or more attribute values ​​that define the DFT calculation and one or more samples of setting values ​​related to the execution environment for parallel processing of the DFT calculation as a start trigger for starting the processing of the measurement unit 402 and the setting unit 403. Specifically, the acquisition unit 401 accepts the acquisition of one or more candidates of setting values ​​related to the execution environment for parallel processing of the DFT calculation for a substance as a start trigger for starting the processing of the calculation unit 404, the determination unit 405, and the implementation unit 406.

[0068] The measurement unit 402 measures the actual cost of performing each calculation step related to a predetermined DFT calculation for a substance for each of the one or more samples acquired by the acquisition unit 401. The predetermined DFT calculation for a substance is set in advance, for example, by a user. The measurement unit 402, for example, submits a job related to the predetermined DFT calculation for a substance to the execution environment indicated by each sample. The measurement unit 402 measures the actual cost of performing each calculation step related to the predetermined DFT calculation for a substance based on the results of executing the submitted job in the execution environment indicated by each sample. This allows the measurement unit 402 to obtain guidelines for generating a model formula in the setting unit 403.

[0069] The measurement unit 402 measures the actual cost of performing each calculation step related to the DFT calculation for a substance for each of the one or more samples acquired by the acquisition unit 401 based on one or more attribute values ​​acquired by the acquisition unit 401. The measurement unit 402 sets a DFT calculation for a substance based on, for example, one or more attribute values ​​acquired by the acquisition unit 401. The measurement unit 402 submits a job related to the set DFT calculation to, for example, the execution environment indicated by each sample. The measurement unit 402 measures the actual cost of performing each calculation step related to the set DFT calculation based on, for example, the results of executing the submitted job in the execution environment indicated by each sample. This allows the measurement unit 402 to obtain guidelines for generating a model formula in the setting unit 403.

[0070] The setting unit 403 generates a model formula corresponding to each calculation process related to the DFT calculation for the substance based on the measured actual values. For example, the setting unit 403 generates a model formula by setting parameters of the model formula corresponding to each calculation process related to the DFT calculation for the substance based on the measured actual values ​​using linear regression by the least squares method. This allows the setting unit 403 to obtain guidelines for determining setting values ​​in the determination unit 405.

[0071] The calculation unit 404 calculates the sum of costs corresponding to each of the one or more candidates acquired by the acquisition unit 401 based on a model formula corresponding to each calculation process related to a predetermined DFT calculation for the substance. The predetermined DFT calculation for the substance is, for example, set in advance by a user. For example, the calculation unit 404 inputs the candidate into a model formula corresponding to each calculation process for each of the one or more candidates acquired by the acquisition unit 401, thereby acquiring the cost output by the model formula. For example, the calculation unit 404 calculates the sum of costs corresponding to the candidate by adding up the acquired costs for each candidate. This allows the calculation unit 404 to obtain guidelines for determining setting values ​​in the determination unit 405.

[0072] The calculation unit 404 calculates the sum of costs corresponding to each of the one or more acquired candidates based on the one or more acquired attribute values ​​and the model formula corresponding to each calculation process related to the DFT calculation for the substance. The calculation unit 404 sets the DFT calculation for the substance based on, for example, one or more attribute values ​​acquired by the acquisition unit 401. For example, the calculation unit 404 inputs each of the one or more candidates acquired by the acquisition unit 401 into the model formula corresponding to each calculation process related to the set DFT calculation, thereby acquiring the cost output by the model formula. The calculation unit 404, for example, calculates the sum of costs corresponding to each candidate by adding up the acquired costs for each candidate. This allows the calculation unit 404 to obtain guidelines for determining the setting value in the determination unit 405.

[0073] The determination unit 405 determines the setting value based on the calculated sum. For example, the determination unit 405 determines, as the setting value, one of the one or more candidates acquired by the acquisition unit 401, which has the smallest calculated sum. For example, the determination unit 405 determines, as the setting value, one of the one or more candidates acquired by the acquisition unit 401, whose calculated sum is equal to or less than a threshold. For example, the determination unit 405 determines, as the setting value, the statistical value of the candidate of the one or more candidates acquired by the acquisition unit 401, whose calculated sum is equal to or less than a threshold. This allows the determination unit 405 to appropriately set the setting value in terms of the cost required for parallel processing of DFT calculations for substances. Therefore, the determination unit 405 can easily reduce the cost required for parallel processing of DFT calculations for substances.

[0074] For example, if the cost is an index value in which the larger the value, the more preferable the state, the determining unit 405 may determine as the set value any one of the one or more candidates acquired by the acquiring unit 401 that has the largest calculated sum. For example, if the cost is an index value in which the larger the value, the more preferable the state, the determining unit 405 may determine as the set value any one of the one or more candidates acquired by the acquiring unit 401 that has the calculated sum equal to or greater than a threshold.

[0075] The implementation unit 406 controls one or more processes or one or more threads within a process to perform parallel processing of DFT calculations for materials based on the determined setting values. The process may be included in, for example, the information processing device 100. The process may be included in, for example, another computer. The other computer may be, for example, the parallel processing device 201.

[0076] The execution unit 406, for example, identifies a combination of the number A of processes and the number B of threads within the process based on the determined setting values. The execution unit 406, for example, prepares an execution environment for parallel processing of DFT calculations for a substance by preparing a specified number A of processes including the specified number B of threads on one or more parallel processing devices 201. The execution unit 406, for example, controls the prepared execution environment so that the DFT calculations for the substance are parallel processed in the prepared execution environment. The execution unit 406 obtains the results of parallel processing of the DFT calculations for the substance from the prepared execution environment. This allows the execution unit 406 to reduce the cost incurred when parallel processing the DFT calculations for the substance.

[0077] The output unit 407 outputs the processing results of at least one of the functional units. The output format may be, for example, display on a display, printout to a printer, transmission to an external device via the network I / F 303, or storage in a storage area such as the memory 302 or the recording medium 305. This allows the output unit 407 to notify the user of the processing results of at least one of the functional units, thereby improving the convenience of the information processing device 100.

[0078] The output unit 407 outputs, for example, the setting value determined by the determination unit 405. Specifically, the output unit 407 outputs the setting value determined by the determination unit 405 so that the user can refer to it. Specifically, the output unit 407 may transmit the setting value determined by the determination unit 405 to another computer. Specifically, the other computer is the client device 202 or the like. In this way, the output unit 407 can reduce the cost incurred when performing parallel processing of DFT calculations on a substance externally.

[0079] The output unit 407 outputs, for example, the results of parallel processing of the DFT calculations for the substances acquired by the execution unit 406. Specifically, the output unit 407 outputs the results of parallel processing of the DFT calculations for the substances acquired by the execution unit 406 so that the user can refer to them. Specifically, the output unit 407 may transmit the results of parallel processing of the DFT calculations for the substances acquired by the execution unit 406 to another computer. Specifically, the other computer is the client device 202 or the like. In this way, the output unit 407 can make the results of parallel processing of the DFT calculations for the substances available externally.

[0080] Here, the case where the information processing device 100 includes the acquisition unit 401, the measurement unit 402, the setting unit 403, the calculation unit 404, the determination unit 405, the implementation unit 406, and the output unit 407 has been described, but this is not limiting. For example, the information processing device 100 may not include any of the functional units. Specifically, the information processing device 100 may not include the implementation unit 406. In this case, the information processing device 100 may transmit the setting value determined by the determination unit 405 to another computer that includes the implementation unit 406.

[0081] (Example of Operation of Information Processing Device 100) Next, an example of operation of the information processing device 100 will be described with reference to FIGS.

[0082] 5 to 9 are explanatory diagrams showing an example of the operation of the information processing device 100. For example, in Fig. 5 to 9, the information processing device 100 searches for a machine setting 501 that minimizes an execution cost 504. The machine setting 501 is information that affects the processing time of the DFT calculation.

[0083] The machine settings 501 are, for example, a combination of the number of parallel processing units 201, the number of processes, or the number of threads used when processing the DFT calculation in parallel. The parallel processing is, for example, MPI or OpenMP. The parallel processing may be, for example, a combination of MPI and OpenMP. The machine settings 501 may include, for example, the CPU clock frequency of the parallel processing units 201 or the number of accelerators used when processing the DFT calculation in parallel.

[0084] The execution cost 504 is, for example, the processing time of the DFT calculation. The execution cost 504 may be, for example, a node-time product or node time. A node is, for example, a computer that shares the DFT calculation. Specifically, the node is the parallel processing device 201.

[0085] For example, when a DFT calculation is performed using one or more parallel processing devices 201 that are a supercomputer, the usage fee for the supercomputer tends to increase as the processing time of the DFT calculation increases. For this reason, it is desirable to search for a machine setting 501 that minimizes the execution cost 504.

[0086] 5, (5-1) the information processing apparatus 100 receives input of a plurality of samples of machine settings 501. For example, the information processing apparatus 100 receives N combinations of the number of processes p and the number of threads t as the plurality of samples of machine settings 501 (p i , t i ) is accepted as an input, where i is an integer of 1, ..., N. The lower limit of N depends on, for example, the number of values ​​of the parameters 512 of one or more sub-model equations 511 that form the model 510.

[0087] The information processing device 100 accepts input of DFT settings 502. The DFT settings 502 include, for example, atomic information. The atomic information includes, for example, the number of atoms. The atomic information includes, for example, the type of atom, basis function, potential, three-dimensional position, etc. for each atom. The DFT settings 502 include, for example, lattice information. The lattice information includes, for example, the lattice size, iteration boundary condition, or symmetry. The DFT settings 502 include, for example, functional information. The functional information includes, for example, the type of functional, or functional parameters, etc. The DFT settings 502 include, for example, information on SCF loop settings. The setting information includes, for example, the truncation condition, the maximum iteration condition, the type of minimizer, and the type of preprocessing, etc.

[0088] The information processing device 100 calculates the processing time required to perform each calculation step of the DFT calculation for each of the multiple samples for which input has been received, based on the DFT settings 502 for which input has been received. The information processing device 100 generates the sub-model formula 511 by setting parameters 512 of the sub-model formula 511 corresponding to each calculation step, based on a combination 503 of each sample and the processing time calculated for that sample.

[0089] The sub-model formula 511 has a function of calculating the cost required to perform the calculation process. The information processing device 100 generates the sub-model formula 511 to generate a model 510. The model 510 has a function of calculating the total sum of the costs represented by the sub-model formula 511. A specific example in which the information processing device 100 sets the parameters 512 will be described later with reference to FIG. 7. Next, moving on to the description of FIG. 6, an example of the sub-model formula 511 will be described.

[0090] 6, a table 600 shows an example of the sub-model formula 511. The table 600 shows the sub-model s and the sub-model formula T (s) (p, t; x (s) ) and parameter x (s) It has fields with and.

[0091] In the field of the submodel s, the name of the calculation process corresponding to the submodel s is set as a name for identifying the submodel s. (s) (p, t; x (s) ) field, T which is a submodel formula 511 representing the submodel s. (s) (p, t; x (s) ) is set. p is the number of processes. t is the number of threads. x (s) In the field of (s) is set.

[0092] In the table 600, for convenience, the x parameter 512 of each sub-model formula 511 is (s) are shown using the same symbols a, b, c, and d, but the x (s)The symbols a, b, c, and d denote different values.

[0093] Here, the two-electron integral is a calculation process for calculating, for example, the Hartree-Fock exchange term of Hybrid DFT. The two-electron integral, for example, requires a process-parallel calculation cost of O(p -1 ) or thread parallel computation cost O(t -1 ) are included. The calculation cost is, for example, calculation time. Specifically, when a calculation with a fixed amount of calculation is divided into parts without dependencies and processed in parallel by processes or threads, the calculation time is O(p -1 ) or O(t -1 )

[0094] The potential integral is, for example, a calculation process for calculating the integral of a potential. The potential integral has a process-parallel calculation cost of O(p -1 ) and the communication cost O(p) of exchanging calculation results between processes by all-to-all communication. The communication cost is, for example, the communication time. Specifically, when exchanging data with a fixed total size between processes, a one-dimensional torus is formed between the processes, and each size is O(p -1 ) is communicated in p steps, the communication cost is O(p).

[0095] Sparse matrix multiplication is a calculation process for calculating the matrix product of block sparse matrices. For example, the sparse matrix multiplication requires O(logp) of time to share sparse matrix information between processes by all-reduce communication and O(t -1 / 2 p 1 / 2 ) and communication cost O(p 1 / 2 Specifically, when data of a fixed size is shared between processes, if a binary tree is constructed between the processes and messages of a fixed size are communicated in logp steps, the communication cost is O(logp).

[0096] Dense matrix multiplication is a calculation process for calculating the matrix product of block dense matrices. For example, the calculation cost of the Cannon algorithm is O(t -1 / 2 p 1 / 2 ) and communication cost O(p 1 / 2 ) is included. Specifically, when calculating the product of fixed-size block square matrices, the blocks are assumed to be evenly distributed and held among two-dimensional processes. Here, the number of blocks in the row and column directions is O(p 1 / 2 ) The number of rows and columns in each block is O(p -1 / 2 ) O(p 1 / 2 If there is a fixed communication cost for each step, the total communication cost is O(p 1 / 2 ) O(p 1 / 2 ) steps, thread-parallel O(t -1 / 2 ), the total calculation cost is O(t -1 / 2 p 1 / 2 )

[0097] Eigenvalue calculation is, for example, a calculation process for calculating the eigenvalues ​​of a symmetric dense matrix. It is assumed that the communication cost of broadcast communication from the root process to other processes becomes dominant when the number of processes is equal to or greater than a certain value, and the eigenvalue calculation includes a communication cost of O(logp). FFT is, for example, a calculation process for performing a 3D FFT or an inverse transformation of a 3D FFT to calculate a plane wave. Similar to potential integration, FFT has a process-parallel calculation cost of O(p -1 ) and the communication cost O(p) for exchanging calculation results between processes by all-to-all communication.

[0098] Others, for example, have computational costs of O(logp), O(p -1 ), O(t -1) and other polynomials. Two-electron integrals correspond specifically to integrate_four_center in the CP2K code. Potential integrals correspond specifically to integrate_v_rspace in the CP2K code. Sparse matrix multiplication corresponds specifically to dbcsr_multiply_generic in the CP2K code. Dense matrix multiplication corresponds specifically to cp_gemm in the CP2K code. Eigenvalue calculation corresponds specifically to cp_fm_syevd in the CP2K code. FFT corresponds specifically to fft_wrap_pw1pw2 in the CP2K code.

[0099] The information processing device 100, for example, based on an operational input from a user, selects T that becomes one of the sub-model formulas 511 shown in the table 600. (s) (p, t; x (s) ) may be changed or deleted. For example, the information processing device 100 may select T that becomes one of the sub-model formulas 511 shown in the table 600 based on an operation input by the user. (s) (p, t; x (s) ) parameter 512 x (s) may be changed or deleted.

[0100] For example, based on an operational input by a user, the information processing device 100 may newly store a new sub-model formula 511 other than the sub-model formulas 511 shown in table 600. When Hybrid DFT is not taken into consideration, the information processing device 100 does not need to store the sub-model formula 511 of the two-electron integral.

[0101] Next, the explanation of FIG. 7 will be made. The information processing device 100 calculates T which becomes a sub-model formula 511 corresponding to each calculation process based on a plurality of input samples. (s) (p, t; x (s) ) parameter 512 x (s) A specific example of setting the above will be described.

[0102] The information processing device 100 sets the DFT calculation based on the input DFT setting 502. i , t i ) i=1N Each of (p i , t i ) and performs the set DFT calculation. Here, the information processing device 100 may, for example, not perform the entire set DFT calculation, but perform only a part of the set DFT calculation. Specifically, if the DFT calculation is to repeat a predetermined calculation X times, the information processing device 100 may repeat the predetermined calculation only Y (<X) times.

[0103] The information processing device 100 calculates the processing time {T^ i (s)} s∈S >0 is measured. S is a set of submodels s. Measurement can be realized, for example, by an existing profiler, an existing performance counter, or a statement manually inserted into the code of the DFT calculation software.

[0104] For example, when only a part of the set DFT calculation is performed, the information processing device 100 calculates the processing time {T^ i (s)} s∈S Specifically, the information processing device 100 may estimate X / Y times the processing time corresponding to the calculation process corresponding to the sub-model s when a predetermined operation is repeated Y times as the processing time {T^ i (s)} s∈S It is estimated as follows.

[0105] The information processing device 100 i , t i ) and the (p i , t i ) was measured. i (s)} s∈S and {(p i , t i , T^ i (s) ) i=1N The information processing device 100 stores the stored {(p i , t i , T^ i (s) ) i=1 N Based on this, the parameter x corresponding to the sub-model s is calculated by linear regression. (s) At this time, the information processing device 100 sets the parameter x (s) If any of the values ​​of .times. ...

[0106] Here, the information processing device 100 calculates the parameter x of the submodel s of the electron repulsion integral. (s) Specifically, the information processing apparatus 100 sets three (n i , p i , t i ) (i=1, 2, 3) and three (n i , p i , t i ) (i=4, 5, 6) and {T^ i (二電子積分)} i=1 6 The {T^ i (二電子積分)} i=1 6 is shown in Table 700.

[0107] n i is the number of nodes. i are 1, 2, and 4. Flat MPI parallelism is a format including one MPI process per core. Flat MPI parallelism is a format including, for example, 10 processes per node. Hybrid parallelism is a format including one MPI process per node and 10 threads per process.

[0108] The information processing device 100 calculates the parameter x by the least squares method based on the table 700. (二電子積分) = (a (二電子積分) , b (二電子積分) , c (二電子積分))=(5.04, 6.50, 1.05). i , p i , t i ) for T (二電子積分) (p, t; x (二電子積分) For example, in the MPI parallel processing, the information processing apparatus 100 can calculate T (二電子積分) (80, 80; x (二電子積分) ) = 1.194 [s]. Next, we return to the description of FIG.

[0109] 5, (5-2) the information processing apparatus 100 accepts input of multiple candidates for the machine configuration 501. For example, the information processing apparatus 100 accepts input of a set M of multiple combinations (p, t) of the number of processes p and the number of threads t as multiple candidates for the machine configuration 501. Specifically, the information processing apparatus 100 may accept input of the set M including all configurable combinations (p, t) as a population of targets for searching for the machine configuration 501 that minimizes the execution cost.

[0110] Based on the generated model 510, the information processing device 100 generates T corresponding to each combination (p, t) in M ​​for which input is received. (s) (p, t; x (s) ) the sum of Σ s∈S T (s) The information processing device 100 calculates T (s) (p, t; x (s) ), T corresponding to each combination (p, t) in M ​​is (s) (p, t; x (s) ) the sum of Σ s∈S T (s) The information processing device 100 calculates the calculated sum Σ for each combination (p, t). s∈S T (s) The execution cost 504 is calculated based on the above.

[0111] For example, if the execution cost 504 is the processing time, the information processing apparatus 100 calculates the execution cost 504=Σ s∈S T (s)For example, if the execution cost 504 is a node-time product, the information processing apparatus 100 calculates the execution cost 504=(number of nodes)×Σ s∈S T (s) For example, if the execution cost 504 is a usage fee, the information processing apparatus 100 calculates the execution cost 504=(usage fee per unit node time)×(number of nodes)×Σ s∈S T (s) Calculate.

[0112] Based on the calculated execution cost 504, the information processing device 100 determines one of the combinations (p, t) in M ​​as the machine setting 501. For example, the information processing device 100 determines the combination (p, t) that results in the smallest calculated execution cost 504 as the machine setting 501.

[0113] Here, a specific example in which the information processing device 100 determines the machine settings 501 will be described. Here, it is assumed that the DFT calculation includes a calculation process of the two-electron integral and other calculation processes. x (その他) = (0.198, 0.401, 0.502, 0, 0569). Let M = {(in, 10n) | n = 10, 11, ..., 40, i = 1, 2, 5, 10}. M represents the case where the number of nodes is n, the number of processes in the node is i, and the number of threads in the process is 10 / i. Specifically, the information processing device 100 calculates Σ s∈S T (s) =T (二電子積分) +T (その他) Let (p, t) ∈ M be the smallest, and then let T (s) = 1.984 is identified and determined as the machine setting 501.

[0114] This allows the information processing device 100 to determine the machine settings 501 that allow efficient parallel processing of the DFT calculation. The information processing device 100 uses the submodel formula 511 of the polynomial, so that the machine settings 501 can be determined efficiently. Next, moving on to the description of FIG. 8, Σ s∈S T (s) An example of the distribution of will be described.

[0115] In FIG. 8, a graph 800 shows the relationship between Σ s∈S T(s) The graph 800 shows the distribution of, for example, Σ s∈S T (s) Specifically, the graph 800 shows the contours of Σ in the above-described case where the DFT calculation includes the calculation process of the two-electron integral and other calculation processes. s∈S T (s) The distribution of

[0116] The horizontal axis of graph 800 indicates, for example, the number of nodes. The vertical axis of graph 800 indicates the number of processes per node. The stars on graph 800 indicate the Σ s∈S T (s) As shown in the graph 800, this is the point where Σ s∈S T (s) is not proportional to the number of nodes or processes.

[0117] In response to this, the information processing device 100 s∈S T (s) Taking these factors into consideration, an appropriate machine setting 501 can be determined. Next, referring to Fig. 9, specific definitions of the elements shown in Fig. 5 will be summarized. The elements are, for example, machine setting 501, DFT setting 502, combination 503, execution cost 504, model 510, sub-model formula 511, and parameters 512.

[0118] 9 shows specific definitions of each element shown in FIG. 5. As shown in FIG. 9, the machine setting 501 is, for example, p, t. The DFT setting 502 is, for example, {T^ i (s)} and is information used to set up the DFT calculation.

[0119] The combination 503 is, for example, {(p i , t i ) i=1 N And, {{T^ i (s)} s∈S} i=1 N The execution cost 504 is, for example, a combination of Σ s∈S T (s) or (number of nodes) × Σ s∈S T(s) And so on.

[0120] The sub-model formula 511 is, for example, T (s) (p, t; x (s) ) The sub-model formula 511 is, for example, Σ s∈S T (s) = (T (二電子積分) +...+T (その他) ) is used to calculate the parameter 512. For example, (s)} s∈S = {(a (二電子積分) , b (二電子積分) , c (二電子積分) ), ..., (a (その他) , b (その他) , c (その他) , d (その他) )}. The model 510 is, for example, Σ s∈S T (s) = (T (二電子積分) +...+T (その他) )

[0121] In this way, the information processing apparatus 100 can determine an appropriate machine setting 501 for a certain DFT setting 502. The information processing apparatus 100 can reduce the execution cost incurred when performing parallel processing of DFT calculations.

[0122] When the information processing apparatus 100 changes the DFT settings 502, it regenerates the sub-model formulas 511 and then determines appropriate machine settings 501 again.

[0123] At this time, the information processing device 100 can regenerate the sub-model formula 511 even if the DFT calculation set based on the changed DFT setting 502 is interrupted before being completed. For example, if the DFT calculation set based on the changed DFT setting 502 is to repeat a predetermined operation X times, the information processing device 100 may repeat the predetermined operation only Y (<X) times and regenerate the sub-model formula 511. Therefore, even if the DFT setting 502 is changed, the information processing device 100 can easily determine an appropriate machine setting 501 again.

[0124] (Specific Example of Operation of Information Processing Device 100) Next, a specific example of operation of the information processing device 100 will be described with reference to FIGS. 10 and 11. FIG.

[0125] 10 and 11 are explanatory diagrams showing a specific example of the operation of information processing device 100. In Fig. 10, there are an implementation program 1010 and a job scheduler 1020. The implementation program 1010 is executed by, for example, information processing device 100. The job scheduler 1020 is executed by, for example, information processing device 100.

[0126] (10-1) The user 1001 executes the implementation program 1010. The user 1001 issues an execution request for the implementation program 1010, including a DFT setting 1011, one or more machine setting samples 1012, and a machine setting space 1013, via, for example, the client device 202. The client device 202, based on, for example, an operation input by the user 1001, transmits an execution request to the information processing device 100, including the DFT setting 1011, one or more machine setting samples 1012, and the machine setting space 1013.

[0127] DFT settings 1011 are information that defines the DFT calculation. Each of one or more samples 1012 of machine settings represents an example of a machine setting used in determining parameters 1016 of sub-model equations 1015 that form model 1014. The samples 1012 are {(p i , t i ) i=1 N The space of machine settings 1013 represents a universe of targets for searching for machine settings that result in the lowest execution cost.

[0128] (10-2) The implementation program 1010 is started in response to an execution request. The implementation program 1010 acquires a DFT setting 1011, one or more machine setting samples 1012, and a machine setting space 1013 from the execution request. The implementation program 1010 sets the content of the DFT calculation based on the DFT setting 1011. The implementation program 1010 generates a group of computation jobs 1030 corresponding to each of the one or more machine setting samples 1012 based on the set content of the DFT calculation. The computation job 1030 may include, for example, a sample 1012 corresponding to the computation job 1030 itself. The implementation program 1010 associates the group of computation jobs 1030 corresponding to the sample 1012 with each sample 1012 and submits the group of computation jobs 1030 corresponding to the sample 1012 to the job scheduler 1020.

[0129] (10-3) The job scheduler 1020 has a queue 1021. The job scheduler 1020 temporarily stores a group of submitted computation jobs 1030 in the queue 1021. The job scheduler 1020 sequentially retrieves and executes the computation jobs 1030 from the queue 1021. The job scheduler 1020, for example, assigns the computation job 1030 to any of the parallel processing devices 201 cooperating with the job scheduler 1020 and executes the computation job 1030.

[0130] (10-4) The calculation job 1030 includes DFT calculation software 1031. The calculation job 1030 performs DFT calculation using the DFT calculation software 1031. The calculation job 1030 transmits to the implementation program 1010 actual measurement values ​​1017 of the processing times required to perform each calculation step of the DFT calculation.

[0131] (10-5) The execution program 1010 receives the actual measurement values ​​1017 of the processing times required to perform each calculation step of the DFT calculation from the calculation job 1030. The execution program 1010 generates a combination of the actual measurement values ​​1017 of the processing times {{T^ i (s)} s∈S} i=1 N Based on this, the parameter 1016 is {x (s)}s∈S The implementation program 1010 determines the sub-model formula 1015 to generate the model 1014.

[0132] (10-6) The implementation program 1010 determines the machine setting (p, t) from the machine setting space 1013 that minimizes the total sum of costs represented by the sub-model formula 1015. The implementation program 1010 outputs the determined machine setting (p, t) so that it can be referenced by the user 1001. This allows the implementation program 1010 to make the appropriate machine setting (p, t) available to the user 1001. Next, we will move on to the explanation of FIG. 11 to explain how the implementation program 1010, job scheduler 1020, and computing job 1030 correspond to hardware.

[0133] 11 , the implementation program 1010 is stored in, for example, a file system 1140. The file system 1140 is specifically realized by the information processing device 100. The implementation program 1010 is executed by, for example, a login node 1110. The login node 1110 is specifically realized by the information processing device 100. The login node 1110 may be specifically realized by the information processing device 100 and the client device 202.

[0134] The job scheduler 1020 is executed by, for example, a management node 1120. The management node 1120 is specifically realized by the information processing device 100 or the parallel processing device 201. The computing job 1030 is executed by the management node 1120 and a computing node 1131. The computing node 1131 is realized by, for example, the parallel processing device 201. The login node 1110, the management node 1120, the computing node 1131, and the file system 1140 may be realized by, for example, one supercomputer.

[0135] Here, data exchange between the execution program 1010 and the computing node 1131 may be realized via a job scheduler 1020 or a shared file system. Furthermore, the computing jobs 1030 corresponding to the respective samples 1012 may be executed simultaneously. Furthermore, the computing node 1131 may include an existing profiler or an existing performance counter.

[0136] The implementation program 1010 may control the job scheduler 1020 and the computing nodes 1131 to process the DFT calculations in parallel based on the determined machine settings (p, t). The implementation program 1010, for example, generates a group of computing jobs 1030 that process the DFT calculations in parallel based on the determined machine settings (p, t) and submits them to the job scheduler 1020. This allows the implementation program 1010 to reduce the execution cost incurred when processing the DFT calculations in parallel.

[0137] (Example of Information Processing Apparatus 100) Next, an example of the information processing apparatus 100 will be described with reference to FIG.

[0138] 12 is an explanatory diagram showing an example of the information processing device 100. In FIG. 12, the information processing device 100 searches for appropriate machine settings for performing CP2K on the ABCI supercomputer. The DFT settings specify, for example, a hybrid DFT calculation of 52 atoms of Sr—Fe—O using the PBE functional.

[0139] The multiple samples of machine settings include, for example, five samples where the number of nodes is 4, 8, 16, 32, or 64, the number of processes per node is 2, and the number of threads per node is 40. The multiple samples of machine settings include, for example, three samples where the number of nodes is 16, the number of processes per node is 1, 4, or 10, and the number of threads per node is 40. The actual measurement value of the processing time is measured using the time measurement function of CP2K.

[0140] In FIG. 12, a graph 1200 shows the relationship between Σ s∈S T(s) The graph 1200 shows the distribution of, for example, Σ s∈S T (s) The horizontal axis of the graph 1200 represents, for example, the number of nodes. The vertical axis of the graph 1200 represents the number of processes per node.

[0141] As shown in graph 1200, Σ s∈S T (s) is not proportional to the number of nodes or the number of processes. For example, when the number of nodes is less than 20, the execution cost tends to be smaller as the number of processes per node increases, but when the number of nodes is 20 or more, the execution cost tends to be larger as the number of processes per node increases. Specifically, as the number of nodes increases, the calculation cost O(p 1 / 2 ) are likely to have an impact on execution costs.

[0142] Here, if the number of nodes is 100, the number of threads per node is 40, and the number of processes is 1, 2, 4, 5, 8, 10, 20, or 40, the information processing apparatus 100 determines the machine setting to (p, t) = (200, 4000). When (p, t) = (200, 4000), the execution cost is 136.9 [s].

[0143] For comparison, when (p, t) = (100, 4000), which represents the case where the number of processes per node is 1, the execution cost is 142.9 [s]. For comparison, when (p, t) = (4000, 4000), which represents the case where the number of processes per node is 40, the execution cost is 192.7 [s].

[0144] Therefore, the information processing apparatus 100 can determine machine settings that can speed up the DFT calculation by 1.04 times compared to when the number of processes per node is 1. The information processing apparatus 100 can determine machine settings that can speed up the DFT calculation by 1.41 times compared to when the number of processes per node is 40.

[0145] 13 and 14, an example of an overall processing procedure executed by the information processing device 100 will be described. The overall processing is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I / F 303 shown in FIG.

[0146] 13 and 14 are flowcharts showing an example of the overall processing procedure. In Fig. 13, the information processing device 100 sets i=1 (step S1301). Then, the information processing device 100 proceeds to the processing of step S1302.

[0147] In step S1302, the information processing apparatus 100 executes the machine setting (p i , t i ) and submits job i to it (step S1302).

[0148] Then, the information processing device 100 determines whether i>N (step S1303). If i>N is not true (step S1303: No), the information processing device 100 increments i and returns to the processing of step S1302. On the other hand, if i>N is true (step S1303: Yes), the information processing device 100 proceeds to the processing of step S1304.

[0149] In step S1304, the information processing apparatus 100 determines whether all submitted jobs i have been completed (step S1304). If there are any uncompleted jobs i remaining (step S1304: No), the information processing apparatus 100 returns to the processing of step S1304. On the other hand, if all submitted jobs i have been completed (step S1304: Yes), the information processing apparatus 100 proceeds to the processing of step S1305.

[0150] In step S1305, the information processing apparatus 100 sets i to 1 (step S1305), and then the information processing apparatus 100 proceeds to the process of step S1306.

[0151] In step S1306, the information processing apparatus 100 calculates {T^ i (s)}s∈S (step S1306).

[0152] Then, the information processing device 100 determines whether i>N (step S1307). If i>N is not true (step S1307: No), the information processing device 100 increments i and returns to the processing of step S1306. On the other hand, if i>N is true (step S1307: Yes), the information processing device 100 proceeds to the processing of step S1308.

[0153] In step S1308, the information processing apparatus 100 selects a sub-model s in S (step S1308). Next, the information processing apparatus 100 selects a sub-model s in S (step S1308). i , t i , T^ i (s) ) i=1 N , the parameter x of the selected submodel s is calculated by linear regression. (s) (step S1309).

[0154] Then, the information processing device 100 determines whether all sub-models s in S have been selected (step S1310). If there are any sub-models s that have not yet been selected (step S1310: No), the information processing device 100 returns to the processing of step S1308. On the other hand, if all sub-models s in S have been selected (step S1310: Yes), the information processing device 100 proceeds to the processing of step S1401 in FIG. 14.

[0155] In FIG. 14, the information processing device 100 best = (undefined) (step S1401). best = (undefined) (step S1402). best =∞ (step S1403). After that, the information processing apparatus 100 proceeds to the process of step S1404.

[0156] In step S1404, the information processing apparatus 100 selects (p, t) in M ​​(step S1404). Next, the information processing apparatus 100 sets C=model (p, t, {x(s)} s∈S ) = Σ s∈S T (s) is calculated (step S1405).

[0157] Then, the information processing device 100 determines whether C<C best It is determined whether C<C best If C<C (step S1406: Yes), the information processing apparatus 100 proceeds to the process of step S1407. best If not (step S1406: No), the information processing apparatus 100 proceeds to the process of step S1410.

[0158] In step S1407, the information processing device 100 best = p (step S1407). best = t (step S1408). best =C (step S1409). After that, the information processing apparatus 100 proceeds to the process of step S1410.

[0159] In step S1410, the information processing device 100 determines whether all (p, t) in M ​​have been selected (step S1410). If there are any (p, t) that have not yet been selected (step S1410: No), the information processing device 100 returns to the processing of step S1404. On the other hand, if all (p, t) in M ​​have been selected (step S1410: Yes), the information processing device 100 proceeds to the processing of step S1411.

[0160] In step S1411, the information processing device 100 best , t best ) (step S1411). Then, the information processing apparatus 100 ends the entire process. In this way, the information processing apparatus 100 can find (p, t) within M for which the total cost C is smallest.

[0161] Here, the information processing device 100 may change the order of the processes of some steps in the flowcharts of Figures 13 and 14. For example, the order of the processes of steps S1401 and S1402 may be changed. Furthermore, the information processing device 100 may omit some processes of some steps in the flowcharts of Figures 13 and 14. For example, (s) If is known, the processes of steps S1301 to S1310 can be omitted.

[0162] As described above, the information processing device 100 can acquire one or more candidate setting values ​​for an execution environment for parallel processing of density functional theory calculations on a material. The information processing device 100 can store model formulas that correspond to each of one or more calculation steps related to density functional theory calculations on a material and output an estimated value of the cost required to perform the calculation step in response to input of setting values. The information processing device 100 can calculate a sum of costs corresponding to each of the acquired one or more candidates based on the model formula. The information processing device 100 can determine setting values ​​based on the calculated sum. This allows the information processing device 100 to determine appropriate setting values ​​in order to reduce the cost required to parallel process density functional theory calculations on a material.

[0163] The information processing device 100 can measure the actual cost of performing each of one or more calculation steps for each of one or more samples of setting values. The information processing device 100 can set parameters of a model formula that corresponds to each of the one or more calculation steps and outputs an estimated value of the cost of performing that calculation step in response to input setting values, based on the measured actual value. This allows the information processing device 100 to generate a model formula. The information processing device 100 can avoid the need to prepare a model formula in advance.

[0164] The information processing device 100 can acquire one or more attribute values ​​that define density functional theory calculations for a substance. The information processing device 100 can calculate actual costs for performing one or more calculation steps for each of one or more samples of setting values ​​based on the acquired one or more attribute values. This allows the information processing device 100 to determine appropriate setting values ​​in accordance with the acquired one or more attribute values.

[0165] According to the information processing device 100, it is possible to adopt information that defines the number of processes that share the density functional theory calculation for a substance and the number of threads that each process has as a setting value, thereby enabling the information processing device 100 to determine appropriate setting values ​​that define the number of processes and the number of threads.

[0166] According to the information processing device 100, the type of atoms forming a substance, the number of atoms forming a substance, or the positions of atoms forming a substance can be adopted as the attribute value. According to the information processing device 100, the type of density functional for a substance, the type of basis function used in the density functional for a substance, or the termination condition of density functional theory calculations for a substance can be adopted as the attribute value. This allows the information processing device 100 to appropriately define density functional theory calculations.

[0167] The information processing method described in this embodiment can be realized by executing a prepared program on a computer such as a PC or a workstation. The information processing program described in this embodiment is recorded on a computer-readable recording medium and executed by being read from the recording medium by the computer. The recording medium may be a hard disk, a flexible disk, a CD (Compact Disc)-ROM, an MO (Magneto Optical Disc), a DVD (Digital Versatile Disc), or the like. The information processing program described in this embodiment may also be distributed via a network such as the Internet.

[0168] The following additional notes are provided regarding the above-described embodiment.

[0169] (Supplementary Note 1) An information processing program that causes a computer to execute the following processes: acquire one or more candidates for setting values ​​related to an execution environment for parallel processing of density functional theory calculations on a material; calculate a sum of costs corresponding to each of the one or more acquired candidates based on a model formula that corresponds to each of one or more calculation processes related to the density functional theory calculations on the material and outputs an estimate of the cost required to perform the calculation process in response to input of the setting values; and determine the setting values ​​based on the calculated sum.

[0170] (Appendix 2) The information processing program described in Appendix 1, characterized in that the determining process determines, as the setting value, the candidate among the one or more candidates whose calculated sum is the smallest or whose calculated sum is equal to or less than a threshold value.

[0171] (Supplementary Note 3) The information processing program according to Supplementary Note 1 or 2, characterized in that it causes the computer to execute a process of measuring an actual measurement value of the cost required to perform each of the one or more calculation steps for each of the one or more samples of the setting values, and setting parameters of the model formula that correspond to each of the one or more calculation steps and output an estimated value of the cost required to perform the calculation step in response to input of the setting values, based on the measured actual measurement value.

[0172] (Appendix 4) An information processing program according to Appendix 3, characterized in that one or more attribute values ​​that define the density functional theory calculation for the substance are acquired, and the measuring process measures an actual value of the cost incurred in performing each of the one or more calculation processes for each of one or more samples of the set values ​​based on the one or more acquired attribute values.

[0173] (Appendix 5) An information processing program described in any one of Appendices 1 to 4, characterized in that the setting value is information that specifies the number of processes that share the density functional theory calculation for the substance and the number of threads that the process has.

[0174] (Appendix 6) The information processing program described in Appendix 4, characterized in that the attribute values ​​include at least one of the type of atoms forming the substance, the number of atoms forming the substance, the positions of the atoms forming the substance, the type of density functional for the substance, the type of basis function used in the density functional for the substance, and a termination condition for the density functional theory calculation for the substance.

[0175] (Appendix 7) The information processing program according to any one of Appendices 1 to 4, characterized in that the information processing program causes the computer to execute a process that controls an execution environment represented by the determined setting value so as to perform parallel processing of the density functional theory calculations for the substance.

[0176] (Supplementary Note 8) An information processing method characterized by a computer executing the following processes: acquiring one or more candidates for setting values ​​related to an execution environment for parallel processing of density functional theory calculations on a material; calculating a sum of costs corresponding to each of the one or more acquired candidates based on a model formula that corresponds to each of one or more calculation processes related to the density functional theory calculations on the material and outputs an estimate of the cost required to perform the calculation process in response to input of the setting values; and determining the setting values ​​based on the calculated sum.

[0177] (Supplementary Note 9) An information processing device characterized by having a control unit that acquires one or more candidates for setting values ​​related to an execution environment for parallel processing of density functional theory calculations on a material, calculates a sum of costs corresponding to each of the one or more acquired candidates based on a model formula that corresponds to each of one or more calculation processes related to the density functional theory calculations on the material and outputs an estimated value of the cost required to perform the calculation process in response to input of the setting value, and determines the setting value based on the calculated sum.

[0178] 100 Information processing device 110 Model formula 111 Setting value 112 Sum 200 Information processing system 201 Parallel processing device 202 Client device 210 Network 300 Bus 301 CPU 302 Memory 303 Network I / F 304 Recording medium I / F 305 Recording medium 400 Storage unit 401 Acquisition unit 402 Measurement unit 403 Setting unit 404 Calculation unit 405 Determination unit 406 Implementation unit 407 Output unit 501 Machine setting 502, 1011 DFT setting 503 Combination 504 Execution cost 511, 1015 Sub-model formula 512, 1016 Parameter 600, 700 Table 800, 1200 Graph 1001 User 1010 Implementation program 1012 Sample 1013 Space 1017 Actual measurement value 1020 Job scheduler 1021 Queue 1030 Calculation job 1031 DFT calculation software 1110 Login node 1120 Management node 1131 Calculation node 1140 File system

Claims

1. An information processing program that causes a computer to execute the following processes: obtain one or more candidates for setting values ​​related to an execution environment for parallel processing of density functional theory calculations on a material; calculate a sum of costs corresponding to each of the one or more calculation processes related to the density functional theory calculations on the material, the sum corresponding to each of the one or more calculation processes, based on a model formula that corresponds to each of the calculation processes of the density functional theory calculations on the material and outputs an estimate of the cost required to perform the calculation process in response to the input of the setting value; and determine the setting value based on the calculated sum.

2. The information processing program according to claim 1, characterized in that the determining process determines, among the one or more candidates, the candidate whose calculated sum is the smallest or whose calculated sum is equal to or less than a threshold value as the setting value.

3. The information processing program according to claim 1 or 2, characterized in that the program causes the computer to execute the following process: measuring an actual value of the cost incurred in performing each of the one or more calculation processes for each of the one or more samples of the setting values; and setting parameters of the model formula that correspond to each of the one or more calculation processes based on the measured actual value and that outputs an estimated value of the cost incurred in performing that calculation process in response to an input of the setting value.

4. The information processing program according to claim 3, characterized in that the measuring process acquires one or more attribute values ​​that define the density functional theory calculation for the substance, and measures an actual value of the cost incurred in performing each of the one or more calculation processes for each of the one or more samples of the set value based on the acquired one or more attribute values.

5. An information processing program according to any one of claims 1 to 4, characterized in that the setting value is information specifying the number of processes that share the density functional theory calculation for the substance and the number of threads that the process has.

6. The information processing program according to claim 4, characterized in that the attribute values ​​include at least any one of the type of atoms forming the substance, the number of atoms forming the substance, the positions of the atoms forming the substance, the type of density functional for the substance, the type of basis function used in the density functional for the substance, and a termination condition for the density functional theory calculation for the substance.

7. The information processing program according to any one of claims 1 to 4, characterized in that the program causes the computer to execute a process that controls an execution environment represented by the determined setting value so as to perform parallel processing of the density functional theory calculations for the material.

8. An information processing method characterized in that a computer executes the following processes: obtain one or more candidates for setting values ​​related to an execution environment for parallel processing of density functional theory calculations for a material; calculate a sum of costs corresponding to each of the one or more obtained candidates based on a model formula that corresponds to each of one or more calculation processes for the density functional theory calculations for the material and outputs an estimate of the cost required to perform the calculation process in response to the input of the setting value; and determine the setting value based on the calculated sum.

9. An information processing device having a control unit that acquires one or more candidates for setting values ​​related to an execution environment for parallel processing of density functional theory calculations on a material, calculates a sum of costs corresponding to each of the one or more acquired candidates based on a model formula that corresponds to each of one or more calculation processes related to the density functional theory calculations on the material and outputs an estimated value of the cost required to perform the calculation process in response to the input of the setting value, and determines the setting value based on the calculated sum.

Citation Information

Patent Citations

  • n-TYPE ZnS SEMICONDUCTOR THIN FILM

    JP2009227503A

  • Organic transistor with organic semiconductor layer containing organic semiconductor material characterized by bent thienothiophene skeleton having thiophenes at ends

    JP2016139710A

  • Machine learning management program, machine learning management apparatus, and machine learning management method

    JP2017049677A