Ecflow the beginning of the Linux Small White compilation (a)

Source: Internet
Author: User

Recently the project to use a call Ecflow, Baidu, found little information, but fortunately there is a help document, the address is:

Https://software.ecmwf.int/wiki/display/ECFLOW/Home

Official explanation:

Ecflow is a client/server workflow the enables users to run a large number of programs Other and on time) in a controlled environment. IT provides reasonable tolerance for hardware and software failures, combined with restart capabilities. It is the used to control he running of operational and the suites at ECMWF.

Ecflow is a C/S workflow package that allows users to run multiple programs in a controlled environment. Key it runs on Linux systems, and I'm a Linux small white one ~

Don't say much nonsense, try compiling, official installation instructions: https://software.ecmwf.int/wiki/display/ECFLOW/Installation

Environment: vmware10.0.3, Redhat 6.3

First step: Install python2.7

Tangled ~ ~ ~ The system comes with a python version of 2.6, so that their own online download python2.7, ready to compile, in accordance with the steps on the Internet, first configure, how all wrong, pass, error:

./config.status:line 331:syntax error near unexpected token ' newline '

Online not find a reliable solution, change the latest version of Python, or not, toss and go, and finally, with wget in linux directly download Python, and then compile, success! Khan, what's the situation? No reason found yet

Later in the compilation of Wxwidget the same problem, calmly solve the ~

Step two: For Ecflowview, prepare Xlib, X11, xmotif

before compiling Ecflowview, Openmotif was installed directly with Yum source, but compile has been unsuccessful, see Help, find such a thing

Xlib, X11, xmotif for Ecflowview

Is it Xlib,X11 not installed?

With this question, with yum Rearch xlib/x11, the outfit is loaded, or not, is not boost not compiled?

Start compiling boost!

Still can't ~ ~

Continue to search the Internet, found a blog post: http://blog.itpub.net/7275929/viewspace-1026848/

enlightened , make full use of Yum, began to use Yum search * *, the LIBXPM is also installed, so Ecflowview installed.

Step three: Follow the steps to compile the Ecflow source code.

Problems encountered:

1, after upgrading Python to 2.7 ,Yum cannot use, the following error occurred:

Updated the CentOS part of the program and found that when performing Yum again, it was suggested that No module named Yum

------------------------------------------------------------------------------------------------

Error prompt

There was a problem importing one of the Python modules

Required to run Yum. The error leading to this problem was:

No module named Yum

------------------------------------------------------------------------------------------------

After finding the data, it is a Python version of the problem.

[email protected] ~]# python--version

Python 2.6.5

------------------------------------------------------------------------------------------------

[[email protected] ~]# Whereis python

Python:/usr/src/python-2.6.5/python/usr/bin/python2.4/usr/bin/python2.6/usr/bin/python/usr/bin/ python2.6-config/usr/lib/python2.4/usr/lib/python2.6/usr/local/bin/python2.6/usr/local/bin/python/usr/local/ bin/python2.6-config/usr/local/lib/python2.6/usr/include/python2.4/usr/include/python2.6/usr/share/man/man1/ Python.1.gz/usr/share/man/man1/python.1

------------------------------------------------------------------------------------------------

Workaround:

Python has two versions,2.6 and 2.7, because the Yum command is incompatible 2.7

modifying yum files

#vi/usr/bin/yum

Modify the #!/usr/bin/python to #!/usr/bin/python2. 6

Run Yum again, everything's fine.

Ecflow the beginning of the Linux Small White compilation (a)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.