Changeset 221 for palm/trunk/SCRIPTS/mbuild
- Timestamp:
- Jan 12, 2009 3:32:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mbuild
r215 r221 798 798 799 799 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 800 826 # LADER-OPTIONEN ERMITTELN 801 827 line="" … … 887 913 line=$(echo "$line" | cut -c51-) 888 914 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 889 920 column1="loader options:"; column2=$loader_options 890 921 printf "| $column1$column2 | \n" … … 1082 1113 then 1083 1114 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_protokoll1115 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 1085 1116 # 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 1086 1117 # 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.