CN103677907A - Installation method and installation device for environmental forecast type application components - Google Patents

Installation method and installation device for environmental forecast type application components Download PDF

Info

Publication number
CN103677907A
CN103677907A CN201310643419.4A CN201310643419A CN103677907A CN 103677907 A CN103677907 A CN 103677907A CN 201310643419 A CN201310643419 A CN 201310643419A CN 103677907 A CN103677907 A CN 103677907A
Authority
CN
China
Prior art keywords
installation
component
installation component
statement
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310643419.4A
Other languages
Chinese (zh)
Inventor
田相桂
马少杰
李斌
杨亮
何沧平
姜金良
沈杰
易成
范娟
曹征
苗春葆
侯雪峰
赵明坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dawning Information Industry Beijing Co Ltd
Original Assignee
Dawning Information Industry Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN201310643419.4A priority Critical patent/CN103677907A/en
Publication of CN103677907A publication Critical patent/CN103677907A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses an installation method and an installation device for environmental forecast type application components. The installation method includes determining a first installation component needed to be installed, judging whether installation of a second installation component is finished or not, and calling and executing installation statements, configured in advance, for installation of the first installation component so as to complete installation of the first installation component if the judgment result is Yes, wherein the second installation component is needed for installation of the first installation component. According to the technical scheme, by the installation method and the installation device, the environmental forecast type application components can be installed automatically, installation difficulty is reduced, installation efficiency is improved, and installation error probability is lowered. Since the installation statements needed to call are determined on the basis of CPU (central processing unit) type identifiers, the installation process is record in real time and the installation environment and status are checked in real time, the problem of poor compatibility of the environmental forecast type application components during installation can be avoided.

Description

Installation method and the device of environmental forecasting class application component
Technical field
The present invention relates to computer realm, and especially, relate to a kind of installation method and device of environmental forecasting class application component.
Background technology
Numerical weather forecast (Numerical Weather Prediction) utilizes numerical model to calculate simulation to atmosphere evolution process; the method of various Weather Elements information of predict future a period of time, has a wide range of applications in fields such as meteorology, ocean, weather, environmental protection.Meteorological numerical model is mostly based on Fortran language development, majority belongs to open source software, support Message Passage Interface(MPI) or the mode parallel computation such as OpenMP, and often rely on off-gauge outer function library, such as reading and writing data storehouse, graphics process storehouse etc.
Meteorological numerical model software is installed on Linux HPCC, first need to confirm to install Fortran compiler and MPI parallel environment, then the outer function library that it relies on is installed, each submodule of this numerical model of manual installation successively, finally also installs some relevant utility routines possibly afterwards.
Conventionally, the installation and deployment of meteorological numerical model are all manual execution, because the mutual dependence of each installation steps is very strong, and as easy as rolling off a log makeing mistakes, so manual installation now has the following disadvantages:
Installation difficulty is large: need installation personnel to possess skilled Linux and program compilation basis, and be familiar with software architecture and the compilation run method of numerical model, the installation of various function libraries and dependence are had to clearly understanding, conventionally only have professional to be competent at.
Length consuming time is installed: manual installation process need carries out step by step, the configuration of various compiling parameters, installation path, function library dependence is very loaded down with trivial details, causes installation effectiveness very low, and easily occurs human operational error, wastes time and energy.
System compatibility is poor: because computing platform, operating system, compiler, function library, MPI realize the difference of the hardware environments such as type, it is very large that installation process may differ.Need to carry out artificial selection according to system actual conditions, this has also further improved the difficulty that numerical model is installed.
Large for environmental forecasting class application component installation difficulty in correlation technique, length consuming time, the poor problem of system compatibility are installed, effective solution is not yet proposed at present.
Summary of the invention
Large for environmental forecasting class application component installation difficulty in correlation technique, length consuming time, the poor problem of system compatibility be installed, the present invention proposes a kind of installation method and device of environmental forecasting class application component, can reduce installation difficulty, improves installation effectiveness, reduce to install the probability of makeing mistakes.
Technical scheme of the present invention is achieved in that
According to an aspect of the present invention, provide a kind of installation method of environmental forecasting class application component, this installation method comprises:
Determine current the first installation component that needs installation;
Judge the whether installation of the second installation component, and judgment result is that be in the situation that, call and carry out pre-configured for the installation statement of the first installation component is installed, so that the first installation component to be installed, wherein, the second installation component is that the required installation component of the first installation component is installed.
Wherein, determine that current the first installation component installed that needs comprises:
Obtain configuration file, and determine the first installation component according to the configuration file obtaining, wherein, configuration file is for stipulating current the first installation component of installation and/or the installation path of the first installation component of needing.
And pre-configured is stored in configuration file for the installation statement of the first installation component is installed, when calling installation statement, from configuration file, obtain installation statement.
In addition, at judgement the second installation component, not installation in the situation that, call and carry out pre-configured installation statement, so that the part installation component not at least being mounted in the second installation component to be installed.
In addition, determine that current the first installation component installed that needs comprises:
The first installation component comprises the installation component that follow-up at least one installation steps will be installed.
In addition, calling and carrying out pre-configured for before the installation statement of the first installation component is installed, this installation method further comprises:
Check installation environment, the object checking when checking installation environment comprise following one of at least: operating system, compiler, parallel computation environment.
And, calling and carrying out pre-configured when the installation statement of the first installation component is installed, determine cpu type sign, and determine the installation statement that need to call according to cpu type sign.
In addition, this installation method further comprises:
Real time record installation progress and/or installment state, and point out in the situation that installation appearance is abnormal.
According to a further aspect in the invention, provide a kind of erecting device of environmental forecasting class application component, this erecting device comprises:
Determination module, for determining current the first installation component that needs installation;
Whether judge module, for judging the installation of the second installation component;
Execution module, for judgment result is that be in the situation that, calls and carries out pre-configured for the installation statement of the first installation component is installed, and so that the first installation component to be installed, wherein, the second installation component is that the required installation component of the first installation component is installed.
In addition, this erecting device further comprises:
Acquisition module, for obtaining configuration file;
Determination module is also for determining the first installation component according to the configuration file obtaining;
Wherein, configuration file is for stipulating current the first installation component of installation and/or the installation path of the first installation component of needing.
The present invention is by determining current the first installation component that needs installation, and be the in the situation that success having been installed at needed the second installation component of judgement this first installation component of installation, call and carry out pre-configured for the installation statement of this first installation component is installed, so that this first installation component to be installed, can to reduce installation difficulty, improve installation effectiveness, reduce the probability of makeing mistakes is installed.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is according to the installation method process flow diagram of the environmental forecasting class application component of the embodiment of the present invention;
Fig. 2 is according to the erecting device block diagram of the environmental forecasting class application component of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain, belongs to the scope of protection of the invention.
According to embodiments of the invention, provide a kind of installation method of environmental forecasting class application component.
As shown in Figure 1, this installation method comprises:
Step S101, determines current the first installation component that needs installation;
Step S103, judge the whether installation of the second installation component, and judgment result is that be in the situation that, call and carry out pre-configured for the installation statement of the first installation component is installed, so that the first installation component to be installed, wherein, the second installation component is that the required installation component of the first installation component is installed.
Wherein, determine that current the first installation component installed that needs comprises:
Obtain configuration file, and determine the first installation component according to the configuration file obtaining, wherein, configuration file is for stipulating current the first installation component of installation and/or the installation path of the first installation component of needing.
And pre-configured is stored in configuration file for the installation statement of the first installation component is installed, when calling installation statement, from configuration file, obtain installation statement.
In addition, at judgement the second installation component, not installation in the situation that, call and carry out pre-configured installation statement, so that the part installation component not at least being mounted in the second installation component to be installed.
In addition, determine that current the first installation component installed that needs comprises:
The first installation component comprises the installation component that follow-up at least one installation steps will be installed.
In addition, calling and carrying out pre-configured for before the installation statement of the first installation component is installed, this installation method further comprises:
Check installation environment, the object checking when checking installation environment comprise following one of at least: operating system, compiler, parallel computation environment.
And, calling and carrying out pre-configured when the installation statement of the first installation component is installed, determine cpu type sign, and determine the installation statement that need to call according to cpu type sign.
In addition, this installation method further comprises:
Real time record installation progress and/or installment state, and point out in the situation that installation appearance is abnormal.
According to embodiments of the invention, also provide a kind of erecting device of environmental forecasting class application component.
As shown in Figure 2, this erecting device comprises:
Determination module 21, for determining current the first installation component that needs installation;
Whether judge module 22, for judging the installation of the second installation component;
Execution module 23, for judgment result is that be in the situation that, calls and carries out pre-configured for the installation statement of the first installation component is installed, and so that the first installation component to be installed, wherein, the second installation component is that the required installation component of the first installation component is installed.
This erecting device further comprises:
Acquisition module (not shown), for obtaining configuration file;
Determination module 21 is also for determining the first installation component according to the configuration file obtaining;
Wherein, configuration file is for stipulating current the first installation component of installation and/or the installation path of the first installation component of needing.
For example, in one embodiment, in order to realize the Auto-mounting of meteorological numerical model in Linux HPCC environment, in conjunction with technical scheme of the present invention, write a set of software and realized its concrete function, by this software, user can, only by carrying out an order, can complete the installation of this numerical model and associated component automatically.Wherein, configuration file is responsible for the unified configuration of all installation environment variablees, for example: configuration file provides installation component and for the installation statement of this installation component is installed, by resolving configuration file, can determine the installation component that needs installation, and by execution, be used for installing the installation statement of this installation component, just can realize the Auto-mounting of each assembly.In addition, installation parameter in installation procedure meeting self-verifying operating system version, Fortran compiler, MPI environmental variance and configuration file, according to the different installation steps of different environmental selections and strategy, finally automatically perform the installation process of each software module.By above software encapsulation, make that whole installation process is full-automatic, unmanned, in addition, installation procedure also can, according to different cpu types, be selected suitable optimization option, guarantee the compile optimization of Meteorological Models, and, in installation process, can provide complete installation log, installation progress and state are carried out to real-time inspection and renewal, if there is irrecoverable error meeting, provide corresponding prompting and suggestion.
The installation procedure of greatly having simplified meteorological numerical model by the mode of above-mentioned robotization, effectively reduces installation difficulty; By modes such as automatic selection, fault-tolerance judgement, standard configurations, improve success ratio and installation quality that numerical model is installed, at utmost avoided human operational error, improved installation effectiveness, saved set-up time and human cost.
And, the method and software are widely used in the Linux HPCC of different scales, realize meteorological numerical model fast, in batches, robotization installs, this software application is convenient, flexible configuration is applicable to being engaged in the personnel that Meteorological Models is disposed and studied very much.
In sum, by means of technique scheme of the present invention, by determining current the first installation component that needs installation, and in the situation that the whole installation of the needed installation component of this first installation component is installed in judgement, call and carry out for the installation statement of this first installation component is installed, can realize the Auto-mounting to environmental forecasting class application component, reduce installation difficulty, improve installation effectiveness, reduce to install the probability of makeing mistakes, and, by determining the installation statement that need to call according to cpu type sign, and real time record installation process, check installation environment and state, can avoid the poor problem of environmental forecasting class application component system compatibility in installation process.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. an installation method for environmental forecasting class application component, is characterized in that, comprising:
Determine current the first installation component that needs installation;
Judge the whether installation of the second installation component, and judgment result is that be in the situation that, call and carry out pre-configured for the installation statement of described the first installation component is installed, so that described the first installation component to be installed, wherein, described the second installation component is that the required installation component of described the first installation component is installed.
2. installation method according to claim 1, is characterized in that, determines that current the first installation component installed that needs comprises:
Obtain configuration file, and determine described the first installation component according to the described configuration file obtaining, wherein, described configuration file is for stipulating current described the first installation component that needs installation, and/or the installation path of described the first installation component.
3. installation method according to claim 2, it is characterized in that, pre-configured is stored in described configuration file for the installation statement of described the first installation component is installed, and when calling described installation statement, obtains described installation statement from described configuration file.
4. installation method according to claim 1, is characterized in that, at judgement the second installation component, not installation in the situation that, calls and carry out pre-configured installation statement, so that the part installation component not at least being mounted in described the second installation component to be installed.
5. installation method according to claim 1, is characterized in that, determines that current the first installation component installed that needs comprises:
Described the first installation component comprises the installation component that follow-up at least one installation steps will be installed.
6. installation method according to claim 1, is characterized in that, is calling and carrying out pre-configured for before the installation statement of described the first installation component is installed, and described installation method further comprises:
Check installation environment, the object checking when checking installation environment comprise following one of at least: operating system, compiler, parallel computation environment.
7. installation method according to claim 1, it is characterized in that, calling and carrying out pre-configured when the installation statement of described the first installation component is installed, determining cpu type sign, and determine the installation statement that need to call according to described cpu type sign.
8. according to the installation method described in any one in claim 1 to 7, it is characterized in that, further comprise:
Real time record installation progress and/or installment state, and point out in the situation that installation appearance is abnormal.
9. an erecting device for environmental forecasting class application component, is characterized in that, comprising:
Determination module, for determining current the first installation component that needs installation;
Whether judge module, for judging the installation of the second installation component;
Execution module, for judgment result is that be in the situation that, call and carry out pre-configured for the installation statement of described the first installation component is installed, so that described the first installation component to be installed, wherein, described the second installation component is that the required installation component of described the first installation component is installed.
10. erecting device according to claim 9, is characterized in that, further comprises:
Acquisition module, for obtaining configuration file;
Described determination module is also for determining described the first installation component according to the described configuration file obtaining;
Wherein, described configuration file is for stipulating current described the first installation component that needs installation, and/or the installation path of described the first installation component.
CN201310643419.4A 2013-12-03 2013-12-03 Installation method and installation device for environmental forecast type application components Pending CN103677907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310643419.4A CN103677907A (en) 2013-12-03 2013-12-03 Installation method and installation device for environmental forecast type application components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310643419.4A CN103677907A (en) 2013-12-03 2013-12-03 Installation method and installation device for environmental forecast type application components

Publications (1)

Publication Number Publication Date
CN103677907A true CN103677907A (en) 2014-03-26

Family

ID=50315564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310643419.4A Pending CN103677907A (en) 2013-12-03 2013-12-03 Installation method and installation device for environmental forecast type application components

Country Status (1)

Country Link
CN (1) CN103677907A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404523A (en) * 2014-08-25 2016-03-16 中国石油天然气股份有限公司 Method and apparatus for setting operational environment
CN107766047A (en) * 2017-09-19 2018-03-06 南京信息工程大学 A kind of Meteorological Models cloud disposes device
CN108228200A (en) * 2017-12-27 2018-06-29 中兴通讯股份有限公司 A kind of method, apparatus and terminal of optimization application installation
CN112416378A (en) * 2020-12-02 2021-02-26 北京航智信息技术有限公司 Cloud architecture system for silent installation of student mobile terminal application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114229A (en) * 2006-07-25 2008-01-30 国际商业机器公司 System and method for auxiliary installation software
CN101656623A (en) * 2008-08-21 2010-02-24 华为技术有限公司 Software installing method, sever and system
CN101673207A (en) * 2009-09-25 2010-03-17 成都时代诺亚舟教育软件有限公司 Program updating method of handheld learning terminal
CN103136007A (en) * 2011-11-29 2013-06-05 东莞市网大网络科技有限公司 Generation method of cloud computing system installation package

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114229A (en) * 2006-07-25 2008-01-30 国际商业机器公司 System and method for auxiliary installation software
CN101656623A (en) * 2008-08-21 2010-02-24 华为技术有限公司 Software installing method, sever and system
CN101673207A (en) * 2009-09-25 2010-03-17 成都时代诺亚舟教育软件有限公司 Program updating method of handheld learning terminal
CN103136007A (en) * 2011-11-29 2013-06-05 东莞市网大网络科技有限公司 Generation method of cloud computing system installation package

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404523A (en) * 2014-08-25 2016-03-16 中国石油天然气股份有限公司 Method and apparatus for setting operational environment
CN105404523B (en) * 2014-08-25 2018-10-16 中国石油天然气股份有限公司 The method and device of running environment is set
CN107766047A (en) * 2017-09-19 2018-03-06 南京信息工程大学 A kind of Meteorological Models cloud disposes device
CN107766047B (en) * 2017-09-19 2020-09-08 南京信息工程大学 Meteorological mode cloud deployment device
CN108228200A (en) * 2017-12-27 2018-06-29 中兴通讯股份有限公司 A kind of method, apparatus and terminal of optimization application installation
CN112416378A (en) * 2020-12-02 2021-02-26 北京航智信息技术有限公司 Cloud architecture system for silent installation of student mobile terminal application

Similar Documents

Publication Publication Date Title
CN102831060B (en) Modification influence analysis based regression test case updating method of part software
CN102799515B (en) Applied program testing method and device
Gottschalk et al. Removing energy code smells with reengineering services
CN103425565B (en) The method and system of acquisition program operation information
CN110990019B (en) Java class analysis method and device, storage medium and electronic equipment
CN104077140A (en) Automatic compiling method and compiling device for continuous integration
CN103677907A (en) Installation method and installation device for environmental forecast type application components
CN109918081B (en) Compiling method and compiler
CN101859244A (en) Multi-toolchain engineering construction method and system
CN104461582A (en) Service processing method and device and equipment
CN103186463B (en) Determine the method and system of the test specification of software
CN113872811A (en) Operation change method, wide area network control system, electronic device, and storage medium
CN115129322A (en) Method and device for generating automatic driving software installation package and electronic equipment
CN106648762A (en) Development environment building method and device
CN103092747A (en) Controlling program verifying and testing method and system thereof
CN103645888A (en) System and method for automatically building operation system
CN111399868A (en) Software updating method, microprocessor, domain controller and readable storage medium
CN112631915A (en) Method, system, device and medium for PCIE device software simulation
CN110472411A (en) A kind of memory Overflow handling method, apparatus, equipment and readable storage medium storing program for executing
CN114327490B (en) Method for adapting domestic operating system to Ceph
CN107919998B (en) Sensor server function testing method and system based on JMeter
CN114281404B (en) Method and device for transplanting algorithm codes of industrial personal computer
CN116360768A (en) Software integration device, method, electronic equipment and storage medium
CN103559134A (en) Configuration method and device for benchmark test component
CN104731707A (en) Transplanting method for iSCSI consistency testing software IscsiSim between platforms

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140326

RJ01 Rejection of invention patent application after publication