Ignore:
Timestamp:
Feb 2, 2013 7:06:13 AM (12 years ago)
Author:
raasch
Message:

script adjustments for Kyushu-University computing center (lckyut)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mbuild

    r1084 r1090  
    11#!/bin/ksh
     2
     3# mbuild - script for compiling the PALM code and its utility programs
    24
    35#--------------------------------------------------------------------------------#
     
    1921#
    2022# Current revisions:
    21 # -----------------
     23# ------------------
     24# adjustments for Kyushu-University computing center (lckyut)
     25# old changelog messages removed
    2226#
    2327# Former revisions:
     
    3842# code put under GPL (PALM 3.9)
    3943#
     44# 12/06/02 - Siggi - first version finished
     45# 06/05/02 - Siggi - script development started
     46#
     47#--------------------------------------------------------------------------------#
    4048# mbuild - script for compiling the PALM code and its utility programs
    41 
    42      # Procedure to compile code on local and remote hosts using the
    43      # make-mechanism. The source code must be provided on the local host.
    44 
    45      # Last changes:
    46      # 06/05/02 - Siggi - start development
    47      # 12/06/02 - Siggi - first version finished
    48      # 12/09/02 - Siggi - ibmh (hanni.hlrn.de) included
    49      # 19/12/02 - Siggi - ibmb included
    50      # 05/02/03 - Siggi - hostname nobela included
    51      # 04/03/03 - Siggi - host nech included
    52      # 06/03/03 - Siggi - make_call_string is echoed without '' to
    53      #                    file LAST_MAKE_CALL (otherwise error on NEC, because
    54      #                    '' are part of compiler options
    55      # 16/03/03 - Siggi - Two underscores are placed in front of every define
    56      #                    string, in case that palm.f90 version contains
    57      #                    such strings
    58      # 16/04/03 - Siggi - First extensions for linux machines
    59      # 24/06/03 - Siggi - host orkan included
    60      # 17/07/03 - Siggi - IP adress set to new "cross" machine at DKRZ
    61      # 24/07/03 - Siggi - host maestro admitted
    62      # 06/08/03 - Siggi - host gregale admitted
    63      # 05/11/03 - Siggi - hosts irifi and quanero are now belonging to lcmuk
    64      # 19/11/03 - Heiko - on lcmuk, mbuild does not tar the *.i files
    65      # 08/01/04 - Siggi - additional preprocessor directive for ibm included
    66      #                    (-D$OMP=OMP) in order to avoid problems with
    67      #                    OMP_NUM_THREADS
    68      # 09/01/04 - Siggi - action above cancelled
    69      # 28/01/04 - Siggi - action above re-cancelled
    70      # 08/03/04 - Siggi - host scirocco admitted
    71      # 26/03/04 - Siggi - .o and .mod files are also deleted in depository, if
    72      #                    the respective .f90 file is not listed in the makefile
    73      #                    and deletion is demanded by the user
    74      # 12/04/04 - Siggi - scp2 instead of scp used for transfer from decalpha
    75      #                    due to error in ssh installation (otherwise a prompt
    76      #                    for the password appears)
    77      # 23/07/04 - Siggi - changes due to the new berni configuration
    78      #                    (federation switch)
    79      # 08/09/04 - Siggi - hanni IP address changed to 130.75.4.10
    80      # 23/09/04 - Joerg - correction of IP-Address for 'cross' (DKRZ)
    81      # 09/03/05 - Siggi - on nech, mbuild does not tar the *.i files
    82      # 31/03/05 - Siggi - mbuild does not tar *.i files any more
    83      # 24/04/05 - Siggi - netcdf support on lcmuk
    84      # 25/04/05 - Siggi - netcdf support on gfdl3 (decalpha)
    85      # 12/05/05 - Siggi - netcdf support on ibm
    86      #                    set OBJECT_MODE=64 for compiling on ibmb, ibmh
    87      # 18/05/05 - Siggi - netcdf support on nec
    88      # 19/05/05 - Siggi - IP addres 134.75.155.74 changed to 165.132.26.56
    89      # 23/05/05 - Siggi - netcdf support on ibms
    90      # 01/06/05 - Siggi - reset of cpp_options to "" on lcmuk
    91      # 30/06/05 - Siggi - netcdf support on bora
    92      # 20/10/05 - Siggi - update of netcdf-version on decalpha (gfdl3)
    93      # 04/11/05 - Siggi - netcdf 3.6.0-p1 on ibmh/ibmb
    94      # 30/12/05 - Siggi - change of IP adresses in subnet 130.75.105
    95      #                    host gfdl5 (ibmy) admitted
    96      # 10/01/06 - Siggi - cpp directive for NetCDF 64bit support
    97      # 20/01/06 - Siggi - cpp directive for ibmy
    98      # 09/02/06 - Marcus- compile only once on lcmuk (as on ibmh/ibmb)
    99      # 10/02/06 - Siggi - modifications for scp on decalpha
    100      # 13/04/06 - Siggi - ostria admitted
    101      # 19/04/06 - Siggi - preprocessor directive -D$OMP=OMP for ibm removed
    102      # 23/05/05 - Siggi - lctit (SUN Fire X4600) admitted
    103      # 29/05/05 - Siggi - atmos (lcide) admitted
    104      # 23/08/06 - Siggi - netcdf support for scirocco (notebook)
    105      # 24/11/06 - Siggi - breva and levanto admitted
    106      # 07/02/07 - Siggi - adapted for RIAM (neck)
    107      # 10/02/07 - Siggi - all hpmuk-related code removed
    108      # 02/03/07 - Siggi - compilation of utility programs and transfer of
    109      #                    scripts to remote hosts added (option -u)
    110      # 14/03/07 - Siggi - fimm admitted, revision number added to terminal
    111      #                    output
    112      # 16/03/07 - Siggi - adjustments (netcdf) for lctit
    113      #                    adjustments for running under pdksh, local ip-addres
    114      #                    is not determined any more
    115      # 30/03/07 - Siggi - cpp-directives/options + netcdf-options are read
    116      #                    from configuration file
    117      #                    host identifier (local_host) is read from config file
    118      # 10/10/07 - Siggi - bugfix: handling of comment lines
    119      # 18/07/08 - Siggi - adapted for lcsgih
    120      # 21/07/08 - Siggi - mainprog (executable) is added to the tar-file
    121      #                    ({mainprog}_current_version)
    122      # 02/10/08 - Siggi - adapted for lcxt4
    123      # 14/11/08 - Siggi - update mechanism completely revised: source tarfile
    124      #                    remains in source directory, one depository per block
    125      #                    (given in the config-file) is created, allways all
    126      #                    files from the source directory are copied to the
    127      #                    respective depository, no additional file checks are
    128      #                    done any more (version 2.1)
    129      # 13/01/09 - Marcus- re-enable compilation more than once on lcmuk (as on
    130      #                    other machines)
    131      # 21/03/09 - Siggi - -u copies also copies process_dvr_output and
    132      #                    .dvrserver.config
    133      # 21/04/09 - Siggi - adjustments for new IBM at DKRZ, which is now ibmh
    134      # 25/08/09 - BjornM- adapted for lck
    135      # 01/12/09 - BjornM- re-adjustments for lcxt4
    136      # 01/02/10 - Siggi - adjustments for lcxt5m
    137      # 03/02/10 - Siggi - make options (mopts) to be set by configuration file
    138      #                    implemented, remoted mode option -r completely
    139      #                    removed, t3e related parts removed
    140      # 26/02/10 - BjornM- re-adjustments for lcxt4 (new modules)
    141      # 01/03/10 - Siggi - mpilib replaced by modules: explicit module settings
    142      #                    removed; modules should now be given in the
    143      #                    configuration file
    144      # 02/03/10 - Siggi - utility programs are created separately for each
    145      #                    block in the configuration file,
    146      #                    parallel make for utility programs
    147      # 12/03/10 - Siggi - bugfix: remode_md was given a wrong value
    148      # 16/08/10 - BjornM- bugfix: call of modules on local host, new workaround
    149      #                    for lcxt4
    150      # 07/09/10 - Siggi - bugfix for wrong netcdf/3.6.3 module on lcsgi
    151      # 08/12/10 - Siggi - initialization of the module command changed for
    152      #                    SGI-ICE/lcsgi
    153      #                    adjustments for Kyushu Univ. (lcrte, ibmku)
    154      # 14/12/10 - Siggi - adjustments for new Tsubame system at Tokyo
    155      #                    institute of technology (lctit)
    156      # 04/03/11 - BjornM- re-adjustments for lcxt4
    157      # 06/03/11 - Siggi - adjustments for ibmkisti
    158      # 03/04/11 - Micha - added lckordi
    159      # 17/08/11 - Siggi - HLRN access via hicegate0 (130.75.4.101)
    160      # 27/11/11 - Siggi - Bugfix for make options setting (-j)
    161      # 12/12/11 - BjornM- added mrun GUI to ulitity programs
    162      # 25/01/12 - BjornM- compilation of check_namelist_files (namelist file
    163      #                    check program) has been added to the utility branch),
    164      #                    modfified the compilation of mrungui
    165      # 31/01/12 - BjornM- bugfix for compilation of utility programs on
    166      #                    multiple localhost branches
    167      # 08/03/12 - BjornM- bugfix: cpp directive for namelist check program
    168      #                    corrected
    169      # 02/05/12 - Bjoern- lcxt4 is now lcxe6, adjustments for lcxe6,
    170      #                    bugfixes for the parameter file check, initial
    171      #                    commands on ssh calls sourced out to .mrun.config
    172      # 05/06/12 - Bjoern- bugfixes for execution of login_init_cmd
    173      # 18/06/12 - Siggi - option -v (silent mode) added
    174      # 25/06/12 - Siggi - option -K (block conditions) added
    175      # 27/09/12 - Siggi - compiler options (F90FLAGS) added for namelist check
    176      # 02/10/12 - Siggi - added lcsb
    177      # 02/11/12 - Siggi - added lckiaps
     49#
     50# Procedure to compile code on local and remote hosts using the
     51# make-mechanism. The source code must be provided on the local host.
     52#--------------------------------------------------------------------------------#
    17853
    17954
     
    581456        (lck)            remote_addres=165.132.26.61;;
    582457        (lckiaps)        remote_addres=118.128.66.223;;
     458        (lckyut)         remote_addres=133.5.4.37;;
    583459        (lctit)          remote_addres=10.1.6.170;;
    584460        (lcxe6)          remote_addres=129.177.20.113;;
Note: See TracChangeset for help on using the changeset viewer.