Florent Staley Last update: 11-Dec-96

Create a New Project with E-155 Analysis Program


The detailed instructions provided by Mourad Daoudi for E143 and E154 have been updated for E155. The following is a summary.
  • Create a directory (let's take the name test as an example) and go there :

    mkdir test
    cd test

  • Put or create all the new fortran subroutines and include files you need.

  • Create an option file which defines the subroutines you want to compile and
    link whith the online program. For Example let's call it test.opt.

    Test.opt contains different optional parameters :

    EXE:
    Alternate name (and directory) for the executable
    FFLAGS:
    Compilation options for the xlf90 Fortran compiler
    LFLAGS:
    Linking options for xlf90
    OPTFLG:
    Optimization flag for compiling and linking of code
    MYCODE:
    Private source code (fortran or c) to compile and link
    MYOBJS:
    Private object files to be linked only
    MYLIBS:
    Private libraries
    SRCDIR:
    Alternate directory for source (.f) files
    MYINC:
    Redefine directory where INCLUDE files are to be found
    Note: The object files specified in the option MYOBJS will be linked only, without looking
    at any dependency.
    The source files specified in MYCODE will be probed to know if they need to be recompiled (changes, new include file ...).

    Example :

    MYCODE='sub1.f sub2.f sub3.f'

    You can put as much subroutines you want, just separate them by a blank and end with a quote.

    Note: The parameters in the option file are case sensitive. The option MYCODE is the only one
    which is mandatory.
    Include files are probed first in the current directory. If not there they will be probed from
    $E155INC.

  • Compiling the program :

    type : e155mak debug test.opt to get a debug version of the program
    or
    type : e155mak test.opt to get an optimized version.

  • e155ola.exe is then created


    Back to E155 Home Page

    Go to Setting up, Running the program


    {Florent Staley}