Changeset 547
- Timestamp:
- 09/18/17 12:08:22 (7 years ago)
- Location:
- configs/testing
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
configs/testing/bash/X64_CURIE.sh
r522 r547 91 91 date > gcm.log 92 92 ulimit -s unlimited 93 $4 ./gcm.exe>> gcm.log93 $4 >> gcm.log 94 94 date >> gcm.log 95 95 -
configs/testing/bash/build.sh
r506 r547 4 4 { 5 5 NAME=$1 ; shift 6 BUILD=$ROOT/ DYNAMICO_$NAME6 BUILD=$ROOT/build_$NAME 7 7 LOGFILE=$ROOT/logs/dynamico_${NAME}.log 8 cd $ROOT/ DYNAMICO_$NAME8 cd $ROOT/build_$NAME 9 9 echo "In $PWD : building DYNAMICO with options $*" 10 10 echo "Watch logfile $LOGFILE" … … 23 23 cd $ROOT 24 24 # 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 & 28 28 wait 29 29 # check success 30 ls bin/icosa_serial.exe || exit 130 # ls bin/icosa_serial.exe || exit 1 31 31 ls bin/icosa_mpi.exe || exit 1 32 32 ls bin/icosa_mpi_omp.exe || exit 1 -
configs/testing/bash/post.sh
r520 r547 18 18 hostname ; echo '\\' 19 19 pwd ; echo '\\' 20 ls -l DYNAMICO ; echo '\\' 20 21 svn_info $ROOT/XIOS 21 22 svn_info $ROOT/DYNAMICO … … 29 30 NAME=$(to_latex $TEST) 30 31 echo "\subsection{$NAME}" 32 grep Elapsed logs/gcm.log 33 echo 31 34 for GRAPH in $(ls $TEST/*.png) ; do 32 35 cat <<EOF -
configs/testing/setup.sh
r503 r547 11 11 ICOSA_LIB="" 12 12 13 while (($# > 0)) 14 do 13 while (($# > 0)) ; do 15 14 case $1 in 16 15 "-h") cat <<EOF 17 16 Usage : 18 setup [options] -arch nom_arch17 setup [options] 19 18 [-h] : help 20 19 -arch nom_arch : nom de l\'architecture cible 20 -job N : parallel compilation 21 -full : full compilation 22 extra options will be passed to make_icosa 21 23 EOF 22 24 exit;; 23 24 25 "-arch") 25 26 arch=$2 ; arch_defined="TRUE"; shift ; shift ;; … … 29 30 full_defined="TRUE" ; shift ;; 30 31 *) 31 echo "Unknown argument : $*"32 echo "Try $0 -h"33 exit 132 echo "Unknown options < $* > will be passed to make_icosa" 33 other="$*" 34 break 34 35 esac 35 36 done … … 43 44 arch="$arch" 44 45 job="$job" 46 other="$other" 45 47 EOF 46 48 … … 48 50 cat current_args 49 51 # create separate build dirs sharing the same src/ and tools/ subdirs to save disk and time 50 BUILD=$ROOT/ DYNAMICO_serial52 BUILD=$ROOT/build_serial 51 53 echo "Creating build directory $BUILD" 52 54 rm -rf $BUILD … … 58 60 for NAME in mpi mpi_omp ; do 59 61 echo "Creating build directory $ROOT/DYNAMICO_$NAME" 60 rm -rf $ROOT/ DYNAMICO_$NAME61 cp -pr $BUILD $ROOT/ DYNAMICO_$NAME62 rm -rf $ROOT/build_$NAME 63 cp -pr $BUILD $ROOT/build_$NAME 62 64 done 63 65 64 echo "You may now run ./build.sh"66 echo "You may now run bash/build.sh" 65 67 else 66 68 echo "Please define a target architecture"
Note: See TracChangeset
for help on using the changeset viewer.