Changeset 547


Ignore:
Timestamp:
09/18/17 12:08:22 (7 years ago)
Author:
dubos
Message:

Testing : renamed build directories + minor fixes

Location:
configs/testing
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • configs/testing/bash/X64_CURIE.sh

    r522 r547  
    9191date > gcm.log 
    9292ulimit -s unlimited 
    93 $4 ./gcm.exe >> gcm.log 
     93$4 >> gcm.log 
    9494date >> gcm.log 
    9595 
  • configs/testing/bash/build.sh

    r506 r547  
    44{ 
    55    NAME=$1 ; shift 
    6     BUILD=$ROOT/DYNAMICO_$NAME 
     6    BUILD=$ROOT/build_$NAME 
    77    LOGFILE=$ROOT/logs/dynamico_${NAME}.log 
    8     cd $ROOT/DYNAMICO_$NAME 
     8    cd $ROOT/build_$NAME 
    99    echo "In $PWD : building DYNAMICO with options $*" 
    1010    echo "Watch logfile $LOGFILE" 
     
    2323    cd $ROOT 
    2424    # compile all variants in parallel 
    25     build_dynamico serial -parallel none $FULL & 
    26     build_dynamico mpi -parallel mpi -with_xios $FULL & 
    27     build_dynamico mpi_omp -parallel mpi_omp -with_xios $FULL & 
     25#    build_dynamico serial -parallel none $FULL & 
     26    build_dynamico mpi -parallel mpi -with_xios $other $FULL & 
     27    build_dynamico mpi_omp -parallel mpi_omp -with_xios $other $FULL & 
    2828    wait 
    2929    # check success 
    30     ls bin/icosa_serial.exe || exit 1 
     30#    ls bin/icosa_serial.exe || exit 1 
    3131    ls bin/icosa_mpi.exe || exit 1 
    3232    ls bin/icosa_mpi_omp.exe || exit 1 
  • configs/testing/bash/post.sh

    r520 r547  
    1818    hostname ; echo '\\' 
    1919    pwd ; echo '\\' 
     20    ls -l DYNAMICO ; echo '\\' 
    2021    svn_info $ROOT/XIOS 
    2122    svn_info $ROOT/DYNAMICO 
     
    2930        NAME=$(to_latex $TEST) 
    3031        echo "\subsection{$NAME}" 
     32        grep Elapsed logs/gcm.log 
     33        echo 
    3134        for GRAPH in $(ls $TEST/*.png) ; do 
    3235            cat <<EOF 
  • configs/testing/setup.sh

    r503 r547  
    1111ICOSA_LIB="" 
    1212 
    13 while (($# > 0)) 
    14   do 
     13while (($# > 0)) ; do 
    1514  case $1 in 
    1615      "-h") cat <<EOF 
    1716Usage : 
    18 setup [options] -arch nom_arch 
     17setup [options] 
    1918[-h]                       : help 
    2019 -arch nom_arch            : nom de l\'architecture cible 
     20 -job N                    : parallel compilation 
     21 -full                     : full compilation 
     22extra options will be passed to make_icosa 
    2123EOF 
    2224          exit;; 
    23  
    2425      "-arch") 
    2526          arch=$2 ; arch_defined="TRUE"; shift ; shift ;; 
     
    2930          full_defined="TRUE" ; shift ;; 
    3031      *) 
    31           echo "Unknown argument : $*" 
    32           echo "Try $0 -h" 
    33           exit 1 
     32          echo "Unknown options < $* > will be passed to make_icosa" 
     33          other="$*" 
     34          break 
    3435  esac 
    3536done 
     
    4344arch="$arch" 
    4445job="$job" 
     46other="$other" 
    4547EOF 
    4648 
     
    4850  cat current_args 
    4951  # create separate build dirs sharing the same src/ and tools/ subdirs to save disk and time 
    50   BUILD=$ROOT/DYNAMICO_serial 
     52  BUILD=$ROOT/build_serial 
    5153  echo "Creating build directory $BUILD" 
    5254  rm -rf $BUILD 
     
    5860  for NAME in mpi mpi_omp ; do 
    5961      echo "Creating build directory $ROOT/DYNAMICO_$NAME" 
    60       rm -rf $ROOT/DYNAMICO_$NAME 
    61       cp -pr $BUILD $ROOT/DYNAMICO_$NAME 
     62      rm -rf $ROOT/build_$NAME 
     63      cp -pr $BUILD $ROOT/build_$NAME 
    6264  done 
    6365   
    64   echo "You may now run ./build.sh" 
     66  echo "You may now run bash/build.sh" 
    6567else 
    6668  echo "Please define a target architecture" 
Note: See TracChangeset for help on using the changeset viewer.