Changeset 8181
- Timestamp:
- 05/06/11 15:01:38 (14 years ago)
- Location:
- issm/trunk/cron
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/configs/linux64_larour
r6108 r8181 14 14 ISSM_ARCH="linux-gnu-amd64" 15 15 16 # Operating System17 OS="linux64"16 #Machine configuration 17 MACHINE="astrid" 18 18 19 19 #MATLAB path -
issm/trunk/cron/configs/linux64_morlighem_daily
r6288 r8181 14 14 ISSM_ARCH="linux-gnu-amd64" 15 15 16 # Operating System17 OS="linux64"16 #Machine configuration 17 MACHINE="astrid" 18 18 19 19 #MATLAB path -
issm/trunk/cron/configs/linux64_morlighem_nightly
r6288 r8181 14 14 ISSM_ARCH="linux-gnu-amd64" 15 15 16 # Operating System17 OS="linux64"16 #Machine configuration 17 MACHINE="astrid" 18 18 19 19 #MATLAB path -
issm/trunk/cron/configs/linux64_morlighem_validation
r8163 r8181 13 13 ISSM_ARCH="linux-gnu-amd64" 14 14 15 # Operating System16 OS="linux64"15 #Machine configuration 16 MACHINE="astrid" 17 17 18 18 #MATLAB path -
issm/trunk/cron/configs/linux64_seroussi
r6108 r8181 13 13 ISSM_ARCH="linux-gnu-amd64" 14 14 15 # Operating System16 OS="linux64"15 #Machine configuration 16 MACHINE="astrid" 17 17 18 18 #MATLAB path -
issm/trunk/cron/configs/macosx32_seroussi
r6108 r8181 13 13 ISSM_ARCH="macosx-gnu" 14 14 15 # Operating System16 OS="macosx32"15 #Machine configuration 16 MACHINE="macmathieu" 17 17 18 18 #MATLAB path -
issm/trunk/cron/configs/winxp32_larour
r6108 r8181 13 13 ISSM_ARCH="cygwin-intel" 14 14 15 # Operating System16 OS="winxp32"15 #Machine configuration 16 MACHINE="wineric" 17 17 18 18 #MATLAB path -
issm/trunk/cron/nightlyrun.sh
r8095 r8181 29 29 { 30 30 #return host name depending on the OS 31 if [ "$1" = "win xp32" ]31 if [ "$1" = "wineric" ] 32 32 then 33 33 HOST_NAME=`hostname`; … … 60 60 #Initialize variables {{{1 61 61 TODAY=$(todaydate); 62 HOST_NAME=$(host_name $ OS);62 HOST_NAME=$(host_name $MACHINE); 63 63 START_TIME=$(timer); 64 64 ISSM_RELEASE=$(basename $(echo $REPOSITORY)); … … 119 119 if [ "$ep" == "petsc" ] 120 120 then 121 cp configs/3.1-p7/$ OS/* .121 cp configs/3.1-p7/$MACHINE/* . 122 122 else 123 cp configs/$ OS/* .123 cp configs/$MACHINE/* . 124 124 fi 125 125 ./install.sh $NUMCPUS_INSTALL … … 164 164 make distclean 165 165 sh scripts/automakererun.sh 166 #sh configs/$OS/$OS.sh.petsc2 #use petsc2 for now 167 sh configs/$OS/$OS.sh #switch to petsc3 to debug 166 sh configs/$MACHINE/configure.sh #switch to petsc3 to debug 168 167 169 168 #4: compile and install ISSM 170 if [ "$ OS" = "winxp32" ]169 if [ "$MACHINE" = "wineric" ] 171 170 then 172 171 cd $ISSM_TIER/src/c … … 196 195 197 196 #Prepare run 198 #Windows hack for startup.m {{{1199 #windows environments: ISSM_TIER_WIN variable not correctly picked up when using200 #the cron job. just get startup to take the ISSM_TIER variable as the pwd:201 if [ "$OS" = "winxp32" ]202 then203 cat startup.m | sed 's/clear status/clear status; ISSM_TIER=pwd;/g' > startup.m.bak204 mv startup.m.bak startup.m205 fi206 #}}}207 197 #create softlink to startup {{{1 208 198 cd $ISSM_TIER/test/NightlyRun/ … … 219 209 user: $(echo $USER) 220 210 host: $(echo $HOST_NAME) 221 OS: $(echo $ OS)211 OS: $(echo $MACHINE) 222 212 release: $(echo $ISSM_RELEASE) 223 213 init_path: $(echo $INIT_PATH) … … 312 302 for i in `echo $MAILINGLIST`; do 313 303 314 if [ "$ OS" = "winxp32" ]304 if [ "$MACHINE" = "wineric" ] 315 305 then 316 email -html -f "ISSM Nightly run $EMAIL_ADRESS" -s "Nightly runs of $ISSM_RELEASE , operating system: $OS, host: $HOST_NAME, user: $USER. " $i < $ISSM_TIER/test/Verification/NightlyRun/report.html306 email -html -f "ISSM Nightly run $EMAIL_ADRESS" -s "Nightly runs of $ISSM_RELEASE , configuration: $MACHINE, host: $HOST_NAME, user: $USER. " $i < $ISSM_TIER/test/Verification/NightlyRun/report.html 317 307 else 318 if [ "$ OS" = "linux64" ]308 if [ "$MACHINE" = "astrid" ] 319 309 then 320 310 cat - $ISSM_TIER/nightlylog/report.html <<HERE | /usr/lib/sendmail -oi -t 321 311 From: "ISSM Nightly run" <$EMAIL_ADRESS> 322 312 To: $i 323 Subject: Nightly runs of $ISSM_RELEASE, operating system: $OS, host: $HOST_NAME, user: $USER.313 Subject: Nightly runs of $ISSM_RELEASE, configuration: $MACHINE, host: $HOST_NAME, user: $USER. 324 314 Mime-Version: 1.0 325 315 Content-Type: text/html … … 329 319 From: "ISSM Nightly run" <$EMAIL_ADRESS> 330 320 To: $i 331 Subject: Nightly runs of $ISSM_RELEASE, operating system: $OS, host: $HOST_NAME, user: $USER.321 Subject: Nightly runs of $ISSM_RELEASE, configuration: $MACHINE, host: $HOST_NAME, user: $USER. 332 322 Mime-Version: 1.0 333 323 Content-Type: text/html
Note:
See TracChangeset
for help on using the changeset viewer.