Changeset 807 for palm/trunk/SCRIPTS/mbuild
- Timestamp:
- Jan 25, 2012 11:53:51 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mbuild
r793 r807 123 123 # 27/11/11 - Siggi - Bugfix for make options setting (-j) 124 124 # 12/12/11 - BjornM- added mrun GUI to ulitity programs 125 # 25/01/12 - BjornM- compilation of check_namelist_files (namelist file 126 # check program) has been added to the utility branch), 127 # modfified the compilation of mrungui 125 128 126 129 … … 336 339 done < $tmp_mbuild 337 340 338 341 if [[ $found = false ]] 342 then 343 printf "\n +++ no \%depository_path found in" 344 printf "\n $config_file" 345 locat=depository_path; exit 346 fi 339 347 340 348 # CHECK, IF A MAIN PROGRAM HAS BEEN DEFINED IN THE CONFIG-FILE … … 398 406 printf "\n\n *** tar of makefile and source files in $local_source_path" 399 407 tar -cf ${mainprog}_sources.tar Makefile *.$suf 408 printf "\n" 409 410 else 411 cd $local_source_path 412 printf "\n\n *** tar of makefile and source files in $local_source_path" 413 414 cat Makefile_check|while read line 415 do 416 line=$(echo $line|grep RCS) 417 if [[ $line == *"RCS"* ]] 418 then 419 line=$(echo $line|sed 's/RCS = //g') 420 break 421 fi 422 done 423 424 tar -cf ${mainprog}_sources_check.tar Makefile_check $line 400 425 printf "\n" 401 426 … … 1364 1389 make $make_options BLOCK=$block F90=$compiler_name F90_SER=$compiler_name_ser COPT="$cpp_options" F90FLAGS="$compiler_options" LDFLAGS="$loader_options" 1365 1390 1366 # check if qmake is available and compile mrungui in that case 1391 # CHECK IF QMAKE IS AVAILABLE AND COMPILE MRUNGUI 1392 printf "\n\n" 1393 echo " *** compiling the mrun GUI" 1367 1394 if which qmake >/dev/null; then 1368 1395 cd mrungui … … 1374 1401 cd .. 1375 1402 else 1376 echo " +++ no qmake found. The mrun GUI (optional) cannot be compiled." 1377 fi 1378 1379 1380 cd - > /dev/null 1381 fi 1382 1383 fi 1384 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 1426 1427 fi 1428 fi 1385 1429 done 1386 1430
Note: See TracChangeset
for help on using the changeset viewer.