Changeset 1804 for palm/trunk/SCRIPTS/mbuild
- Timestamp:
- Apr 5, 2016 4:30:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mbuild
r1653 r1804 22 22 # Current revisions: 23 23 # ------------------ 24 # 24 # Removed parameter file check 25 25 # 26 26 # Former revisions: … … 1448 1448 echo " +++ no qmake found. The (optional) GUI will not be compiled." 1449 1449 fi 1450 1451 # # COMPILE CHECK_NAMELIST_FILES (ONLY FOR ONE BRANCH on LOCALHOST NEEDED)1452 # printf "\n\n"1453 # echo " *** compiling check_namelist_files ..."1454 #1455 # # GET CHECK OPTIONS1456 # line=""1457 # found=false1458 # grep "$remote_host_string" $config_file | grep "%cpp_options" > $tmp_mbuild1459 # while read line11460 # do1461 #1462 # if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]1463 # then1464 # line="$line1"1465 # fi1466 #1467 # if [[ "$line" != "" && $(echo $line | cut -c1) != "#" ]]1468 # then1469 # # REMOVE COLONS FROM THE OPTION-STRING, IF THERE ARE ANY1470 # line="$line "1471 # copts_check=`echo $line | cut -d" " -s -f2 | sed 's/::/%DUM%/g' | sed 's/:/ /g' | sed 's/%DUM%/:/g' | sed 's/-D[^ ]* //g' | sed 's/ -D.*//g'`1472 # found=true1473 # fi1474 #1475 # done < $tmp_mbuild1476 # copts_check="$copts_check -D__check -D__parallel"1477 #1478 # check_depository_path=${local_source_path}/../UTIL1479 # cd $check_depository_path1480 # mkdir check_tmp1481 # cp ${local_source_path}/${mainprog}_sources_check.tar ./check_tmp1482 # cd check_tmp1483 # tar -xf ${mainprog}_sources_check.tar1484 # rm -rf ${mainprog}_sources_check.tar1485 # make -f Makefile_check $make_options F90=$compiler_name_ser COPT="$copts_check" F90FLAGS="$compiler_options"1486 # tar -cf check_namelist_files.tar Makefile_check check_namelist_files.x *.f90 *.o *.mod1487 # mv check_namelist_files.tar $check_depository_path1488 # mv check_namelist_files.x $PALM_BIN1489 # cd $check_depository_path1490 # rm -rf check_tmp1491 # util_compiled_localhost=true1492 1450 else 1493 1451 cd $check_depository_path 1494 1452 printf "\n\n" 1495 echo " *** skipped compilation of mrun GUI." 1496 printf "\n\n" 1497 echo " *** skipped compilation of check_namelist_files (currently not available)." 1453 echo " *** skipped compilation of mrun GUI." 1498 1454 fi 1499 1455
Note: See TracChangeset
for help on using the changeset viewer.