Changeset 2875 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Mar 13, 2018 11:00:25 AM (6 years ago)
Author:
knoop
Message:

added file update and unique run dirs to simple installation method

Location:
palm/trunk/SCRIPTS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palm_simple_build

    r2868 r2875  
    2424# -----------------
    2525# $Id$
     26# added file update functionality
     27#
     28# 2868 2018-03-09 13:25:09Z hellstea
    2629# Bugfix: adjusted name of build_dir
    2730#
     
    144147
    145148# Copy makefile and all source code files to make depository
    146 cp -n ${trunk_dir}/SOURCE/Makefile  ${build_dir}/Makefile_in
    147 cp -n ${build_config_file}          ${build_dir}/MAKE.inc
    148 cp -n ${trunk_dir}/SOURCE/*.f90     ${build_dir}
     149cp -u ${trunk_dir}/SOURCE/Makefile  ${build_dir}/Makefile_in
     150cp -u ${build_config_file}          ${build_dir}/MAKE.inc
     151cp -u ${trunk_dir}/SOURCE/*.f90     ${build_dir}
    149152
    150153
  • palm/trunk/SCRIPTS/palm_simple_run

    r2850 r2875  
    2424# -----------------
    2525# $Id$
     26# made RUN dirs unique with timestamp again
     27#
     28# 2850 2018-03-05 14:24:40Z knoop
    2629# Refactoring of the palm_simple_ build and run scripts
    2730#
     
    171174
    172175   # Generate unique directory/files for this run
    173 #timedate="$(date +%F_%H:%M:%S)"
    174 suffix=${build_config}_${run_config}_${test_case}_${mpi_ranks}_${mpi_ranks_per_node}_${openmp_threads}
     176timedate="$(date +%F_%H:%M:%S)"
     177suffix=${build_config}_${run_config}_${test_case}_${mpi_ranks}_${mpi_ranks_per_node}_${openmp_threads}_${timedate}
    175178execution_dir=${working_dir}/RUN_${suffix}
    176179
Note: See TracChangeset for help on using the changeset viewer.