Ignore:
Timestamp:
Sep 16, 2008 3:29:03 PM (16 years ago)
Author:
raasch
Message:

further adjustments for SGI and other small changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r196 r197  
    22492249          [[ $? != 0 ]]  &&  compile_error=true
    22502250          rm -rf  $TEMPDIR_COMPILE
     2251       elif [[ $localhost = lcsgib ]]
     2252       then
     2253          printf "      compiler is called via ssh on \"bicegate\" \n"
     2254          ssh  130.73.232.102  -l $usern  ". /usr/share/modules/init/bash; module load mpt; cd $TEMPDIR; make -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
     2255          [[ ! -f a.out ]]  &&  compile_error=true
     2256          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
     2257       elif [[ $localhost = lcsgih ]]
     2258       then
     2259          printf "      compiler is called via ssh on \"hicegate\" \n"
     2260          ssh  130.75.4.102  -l $usern  ". /usr/share/modules/init/bash; module load mpt; cd $TEMPDIR; make -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" 2>&1 "
     2261#          ssh  130.75.4.102  -l $usern  ". /usr/share/modules/init/bash; module load mvapich2; cd $TEMPDIR; make -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" 2>&1 "
     2262#          print  ". /usr/share/modules/init/bash; module load mpt; cd $TEMPDIR; make -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" " | ssh  ${usern}@130.75.4.102  2>&1
     2263          [[ ! -f a.out ]]  &&  compile_error=true
     2264          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
    22512265       else
    22522266          [[ $localhost = lctit ]]  &&  export LM_LICENSE_FILE=27050@tggls
     
    22602274
    22612275  # WORKAROUND: REMOVE IF CONSTRUCT LATER, BUT KEEP THE EXIT!
    2262           if [[ $localhost != lcsgib  &&  $localhost != lcsgih ]]
    2263           then
     2276#          if [[ $localhost != lcsgib  &&  $localhost != lcsgih ]]
     2277#          then
    22642278             exit
    2265           else
    2266              locat=normal
    2267           fi
     2279#          else
     2280#             locat=normal
     2281#          fi
    22682282       else
    22692283          printf "$striche\n  *** compilation finished \n"
     
    28392853                if [[ $host = lcsgih  ||  $host = lcsgib ]]
    28402854                then
    2841                    ulimit -s 30000   # A too large stack size causes problems
     2855#                   ulimit -s 300000   # A too large stack size causes problems
    28422856#                   export MV2_NUM_PORTS=2
    28432857#                   export MV2_CPU_MAPPING=0:1:2:3
    2844 #                   mpiexec    ./palm  $ROPTS
    2845                    mpiexec_mpt -np $ii   ./palm  $ROPTS
     2858#                   mpiexec    ./a.out  $ROPTS
     2859                   mpiexec_mpt -np $ii   ./a.out  $ROPTS
    28462860                elif [[ $host = lcxt4 ]]
    28472861                then
     
    28592873                printf "\n\n"
    28602874
    2861                 if [[ $host = lcxt4 ]]
     2875                if [[ $host = lcsgih  ||  $host = lcsgib ]]
     2876                then
     2877
     2878                   mpiexec  -n $iii  a.out  $ROPTS  <  runfile_atmos &
     2879                   mpiexec  -n $iii  a.out  $ROPTS  <  runfile_ocean &
     2880#                   head  -n $iii  $PBS_NODEFILE  >  nodefile_atmos
     2881#                   echo "--- nodefile_atmos:"
     2882#                   cat nodefile_atmos
     2883#                   tail  -n $iii  $PBS_NODEFILE  >  nodefile_ocean
     2884#                   echo "--- nodefile_ocean:"
     2885#                   cat nodefile_ocean
     2886#                   export  PBS_NODEFILE=${PWD}/nodefile_atmos
     2887#                   mpiexec_mpt -np $iii   ./a.out  $ROPTS  <  runfile_atmos &
     2888#                   export  PBS_NODEFILE=${PWD}/nodefile_ocean
     2889#                   mpiexec_mpt -np $iii   ./a.out  $ROPTS  <  runfile_ocean &
     2890
     2891
     2892                elif [[ $host = lcxt4 ]]
    28622893                then
    28632894                   aprun  -n $iii  -N $tasks_per_node  a.out < runfile_atmos  $ROPTS  &
Note: See TracChangeset for help on using the changeset viewer.