Changeset 2316 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Jul 20, 2017 7:53:42 AM (7 years ago)
Author:
maronga
Message:

new mrungui version based on python

Location:
palm/trunk/SCRIPTS
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mbuild

    r2257 r2316  
    2727# -----------------
    2828# $Id$
     29# Removed qmake block as mrungui now runs as a python script
     30#
     31# 2257 2017-06-07 14:07:05Z witha
    2932# adjustments for lceddy, removed lcflow-specific code
    3033#
     
    14561459          eval init_cmds=$init_cmds
    14571460          make  $make_options  BLOCK=$block  F90=$compiler_name  F90_SER=$compiler_name_ser  COPT="$cpp_options"  F90FLAGS="$compiler_options"  LDFLAGS="$loader_options"
    1458 
    1459              # CHECK IF QMAKE IS AVAILABLE AND COMPILE MRUNGUI
    1460           if [[ $util_compiled_localhost == false ]]
    1461           then
    1462              printf "\n\n"
    1463              echo "  *** compiling the mrun GUI"
    1464              if which qmake >/dev/null; then
    1465                 cd mrungui
    1466                 touch *
    1467                 qmake
    1468                 make
    1469                 make clean
    1470                 rm Makefile
    1471                 cd ..
    1472              else
    1473                 echo "  +++ no qmake found. The (optional) GUI will not be compiled."
    1474              fi
    1475           else
    1476              cd $check_depository_path
    1477              printf "\n\n"
    1478              echo "  *** skipped compilation of mrun GUI."           
    1479           fi
    1480 
    14811461       fi
    14821462    fi
  • palm/trunk/SCRIPTS/mrungui

    r1842 r2316  
    2525# -----------------
    2626# $Id$
     27# Modified for python version of mrungui
     28#
     29# 1842 2016-04-07 19:24:16Z raasch
    2730#
    2831# 1841 2016-04-07 19:14:06Z raasch
     
    4043#------------------------------------------------------------------------------#
    4144
    42 if which mrungui.x >/dev/null; then
    43    mrungui.x
     45if which mrungui.py >/dev/null; then
     46   mrungui.py > /dev/null 2>&1
    4447else
    4548   echo "  +++ mrungui not found."
Note: See TracChangeset for help on using the changeset viewer.