- Timestamp:
- Jan 31, 2012 9:45:54 AM (13 years ago)
- Location:
- palm/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mbuild
r807 r811 126 126 # check program) has been added to the utility branch), 127 127 # modfified the compilation of mrungui 128 # 31/01/12 - BjornM- bugfix for compilation of utility programs on 129 # multiple localhost branches 128 130 129 131 … … 138 140 makefile="" 139 141 module_calls="" 142 util_compiled_localhost=false 140 143 scirocco=false 141 144 silent=false … … 424 427 tar -cf ${mainprog}_sources_check.tar Makefile_check $line 425 428 printf "\n" 426 427 429 fi 428 430 … … 1390 1392 1391 1393 # CHECK IF QMAKE IS AVAILABLE AND COMPILE MRUNGUI 1392 printf "\n\n" 1393 echo " *** compiling the mrun GUI" 1394 if which qmake >/dev/null; then 1395 cd mrungui 1396 touch * 1397 qmake 1398 make 1399 make clean 1400 rm Makefile 1401 cd .. 1402 else 1403 echo " +++ no qmake found. The (optional) GUI will not be compiled." 1404 fi 1405 1406 # COMPILE CHECK_NAMELIST_FILES 1407 printf "\n\n" 1408 echo " *** compiling check_namelist_files ..." 1409 1410 check_depository_path=${local_source_path}/../UTIL 1411 cd $check_depository_path 1412 mkdir check_tmp 1413 mv ${local_source_path}/${mainprog}_sources_check.tar ./check_tmp 1414 cd check_tmp 1415 tar -xf ${mainprog}_sources_check.tar 1416 rm -rf ${mainprog}_sources_check.tar 1417 1418 copts_check="-cpp -D_parallel -D__check" 1419 make -f Makefile_check $make_options F90=$compiler_name_ser COPT="$copts_check" 1420 1421 tar -cf check_namelist_files.tar Makefile_check check_namelist_files.x *.f90 *.o *.mod 1422 mv check_namelist_files.tar $check_depository_path 1423 mv check_namelist_files.x $PALM_BIN 1424 cd $check_depository_path 1425 rm -rf check_tmp 1394 if [[ $util_compiled_localhost == false ]] 1395 then 1396 printf "\n\n" 1397 echo " *** compiling the mrun GUI" 1398 if which qmake >/dev/null; then 1399 cd mrungui 1400 touch * 1401 qmake 1402 make 1403 make clean 1404 rm Makefile 1405 cd .. 1406 else 1407 echo " +++ no qmake found. The (optional) GUI will not be compiled." 1408 fi 1409 1410 # COMPILE CHECK_NAMELIST_FILES (ONLY FOR ONE BRANCH on LOCALHOST NEEDED) 1411 1412 printf "\n\n" 1413 echo " *** compiling check_namelist_files ..." 1414 1415 check_depository_path=${local_source_path}/../UTIL 1416 cd $check_depository_path 1417 mkdir check_tmp 1418 cp ${local_source_path}/${mainprog}_sources_check.tar ./check_tmp 1419 cd check_tmp 1420 tar -xf ${mainprog}_sources_check.tar 1421 rm -rf ${mainprog}_sources_check.tar 1422 1423 copts_check="-cpp -D_parallel -D__check" 1424 make -f Makefile_check $make_options F90=$compiler_name_ser COPT="$copts_check" 1425 1426 tar -cf check_namelist_files.tar Makefile_check check_namelist_files.x *.f90 *.o *.mod 1427 mv check_namelist_files.tar $check_depository_path 1428 mv check_namelist_files.x $PALM_BIN 1429 cd $check_depository_path 1430 rm -rf check_tmp 1431 util_compiled_localhost=true 1432 else 1433 cd $check_depository_path 1434 printf "\n\n" 1435 echo " *** skipped compilation of mrun GUI (already." 1436 printf "\n\n" 1437 echo " *** skipped compilation of check_namelist_files." 1438 fi 1426 1439 1427 1440 fi … … 1445 1458 # FINAL WORK 1446 1459 rm -f hosts_found_in_config_file 1447 1460 rm -f ${local_source_path}/${mainprog}_sources_check.tar 1461 -
palm/trunk/UTIL/mrungui/mainwindow.cpp
r810 r811 2 2 // Current revisions: 3 3 // ----------------- 4 // Bugfix: waitForFinished time exceeded limits, adjusted to 1h waiting time 4 5 // 5 6 // Former revisions: … … 224 225 // xtermoutput = xtermoutput+mrun.readAllStandardOutput(); 225 226 226 // Wait until mrun has finished or wait for 200 0minutes227 mrun.waitForFinished( 12000000000);227 // Wait until mrun has finished or wait for 200 minutes 228 mrun.waitForFinished(3600000); 228 229 229 230
Note: See TracChangeset
for help on using the changeset viewer.