Ignore:
Timestamp:
Jan 12, 2009 3:32:23 PM (14 years ago)
Author:
raasch
Message:

new environment variable mpilib in configuration file, used by mrun, mbuild, and subjob; small bugfix concerning t<0 in init_cloud_physics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mbuild

    r215 r221  
    798798
    799799
     800       # MPI LIBRARY ERMITTELN
     801    line=""
     802    found=false
     803    grep  "$remote_host_string" $config_file | grep "%mpilib"  >  $tmp_mbuild
     804    while read line1
     805    do
     806
     807       if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]]
     808       then
     809          line="$line1"
     810       fi
     811
     812       if [[ "$line" != ""  &&  $(echo $line | cut -c1) != "#" ]]
     813       then
     814             # EVENTUELLE DOPPELPUNKTE AUS DIREKTIVENSTRING ENTFERNEN
     815          mpilib=`echo $line | cut -d" " -s -f2`
     816          found=true
     817       fi
     818
     819    done < $tmp_mbuild
     820
     821    [[ $found = false ]]  &&  mpilib=mpt
     822
     823
     824
     825
    800826       # LADER-OPTIONEN ERMITTELN
    801827    line=""
     
    887913       line=$(echo "$line" | cut -c51-)
    888914    done
     915    if [[ $( echo $remote_host | cut -c1-5 ) = lcsgi ]]
     916    then
     917       column1="mpi library:"; column2=$mpilib
     918       printf "| $column1$column2 | \n"
     919    fi
    889920    column1="loader options:"; column2=$loader_options
    890921    printf "| $column1$column2 | \n"
     
    10821113             then
    10831114
    1084                 print ". /usr/share/modules/init/bash; module load mpt/1.21; cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
     1115                print ". /usr/share/modules/init/bash; module load $mpilib; cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
    10851116#                print ". /usr/share/modules/init/bash; module load mvapich2/1.2rc1-intel; cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
    10861117#                print ". /usr/share/modules/init/bash; module load mvapich2; cd ${remote_md}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh  ${remote_username}@${remote_addres} 2>&1 | tee ${remote_host}_last_make_protokoll
Note: See TracChangeset for help on using the changeset viewer.