How to configure GDE

From UGP-Wiki

Jump to: navigation, search

When you create a new project in GDE, you will have a list of compiler you can choose to compile your program. The list of the compilers are not static for every cluster. They are dynamically provided using Globus Toolkit IndexService.

In order to make the compiler available to the users, you have to add the compiler entries to the globus-local-provider file in the appliance node (located at: GLOBUS_LOCATION/libexec/aggrexec/).


In the scheduler, you also have to create a queue called instant.q because the job must be run instantly. The queue name is hard-coded in the system currently. The compiling job could not be submitted to regular queue which usually waits for a while. You could set that instant.q max Wall time to be 30 minutes. We made an assumption that most compiling job would complete in 30 minutes.


[edit] Definition

Tag Name: compiler

Type:

       c:  C compiler 
     cpp:  C++ compiler 
       f:  Fortran compiler     

Name: Any description name

Path: absolute path of compiler executable

cflags: default Compiler flag

ldflags: default link flags


For example:

<mds:compiler type="c" name="Intel C (icc)" path="/u/local/bin/icc" cflags="-c" ldflags="-lm -static" />


[edit] Sample Local Provider

File: GLOBUS_LOCATION/libexec/aggrexec/globus-local-provider

    <?xml version="1.0" encoding="UTF-8"?>
    <mds:LocalInfo xmlns:mds="http://mds.globus.org/batchproviders/2004/09">
    <mds:hostname>$hostname</mds:hostname>
    <mds:sge_root>$sge_root</mds:sge_root>
    <mds:sge_bin>$sge_bin</mds:sge_bin>
    <mds:compiler type="c" name="Intel C (icc)" path="$CC" cflags="-c" ldflags="-lm -static" />
    <mds:compiler type="cpp" name="Intel CPP(icpc)" path="$CPP" cflags="-c" ldflags="-lm -static" />
    <mds:compiler type="f" name="Intel Fortran(ifort)" path="$FC" cflags="-c" ldflags=" -static" />
    <mds:compiler type="c" name="MPI C for GigE (mpicc)" path="$MPICC" cflags="-c" ldflags=" -static" />
    <mds:compiler type="cpp" name="MPI CPP for GigE (mpiCC)" path="$MPICPP" cflags="-c" ldflags=" -static" />
    <mds:compiler type="f" name="MPI Fortran for GigE (mpif90)" path="$MPIFC" cflags="-c" ldflags=" -static" />
    </mds:LocalInfo>
Personal tools