Platform Doctor

Platform Doctor is a script which helps you to diagnose and manage problems with external dependencies.

Currently it fixes the problems with omniORB precompiled libraries.

Interactive doctor

If you cannot start the master then from your system shell:

etc/platform-doctor.py --test

This will produce a summary of status and possible actions which will be applied with:

etc/platform-doctor.py --fix

This will try to compile external dependencies using a DUMMY_PLATFORM_STRING. The binaries will be located in external/PKG/VERSION/DUMMY_PLATFROM_STRING, where PKG is omniORB. Set the platform string, so that the newly compiled binaries are enabled:

export DIANE_PLATFORM=DUMMY_PLATFORM_STRING

If everything goes well, then you should be able to run diane commands. You may now add your platform to the system by following the instructions at DIANE2CompileSources#Introducing_a_new_platform

Worker node problems

If you have problems on the worker node and use Ganga submitters then you may try this:

diane-submitter YOUR_BACKEND --diane-platform-doctor=1

In case of problems DIANE will run platform doctor script automatically before starting the worker. The doctor script compiles omniORB libraries which may be retrieved with Ganga when job enters the 'completed' state.

Run ganga and find the worker agent job (j). In j.outputdir you should find the following files (the directory may be zipped or tarred):

  • omniORB-4.1.2-DUMMY_PLATFORM_STRING-diane.tar.gz
  • stdout

You should now use the information about your platform which is at the top of stdout file.

You should get in touch with us to get include your platform in the standard DIANE distribution at this point, or include it yourself if you have a mirror of DIANE download area.

-- JakubMoscicki - 15 May 2009

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2011-03-02 - JakubMoscicki
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback