Changeset 27 for palm/trunk/SCRIPTS/mbuild
- Timestamp:
- Feb 28, 2007 11:03:00 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mbuild
r25 r27 79 79 # 07/02/07 - Siggi - adapted for RIAM (neck) 80 80 # 10/02/07 - Siggi - all hpmuk-related code removed 81 # 28/02/07 - Siggi - compilation of utility programs added (option -u) 81 # 28/02/07 - Siggi - compilation of utility programs and transfer of 82 # scripts to remote hosts added (option -u) 82 83 83 84 … … 810 811 811 812 813 # BEI BENUTZUNG EINES PARALLELEN COMPILERS MUSS AUCH EIN 814 # SERIELLER COMPILERNAME ERMITTELT WERDEN 815 if [[ $(echo $remote_host_string | grep -c parallel) = 1 ]] 816 then 817 line="" 818 grep "$remote_host_string" $config_file | grep "%compiler_name_ser" | while read line1 819 do 820 if [[ $(echo $line1 | cut -d" " -s -f3-) = "$remote_host_string" ]] 821 then 822 line="$line1" 823 fi 824 done 825 826 if [[ "$line" = "" || $(echo $line | cut -c1) = "#" ]] 827 then 828 printf "\n +++ no seriel compiler name found in configuration file" 829 printf "\n for \"$remote_host_string\" " 830 locat=config_file; exit 831 else 832 compiler_name_ser=`echo $line | cut -d" " -s -f2` 833 fi 834 else 835 compiler_name_ser=$compiler_name 836 fi 837 838 812 839 813 840 # PRAEPROZESSOR-DIREKTIVEN SETZEN … … 1241 1268 1242 1269 printf "\n\n" 1243 echo " *** copying utility programs to \"${remote_addres}:${remote_ud}/\" "1244 cd ${local_source_path}/../ UTIL1270 echo " *** copying scripts and utility programs to \"${remote_addres}:${remote_ud}/\" " 1271 cd ${local_source_path}/../SCRIPTS 1245 1272 1246 1273 if [[ $remote_host != lctit ]] … … 1253 1280 fi 1254 1281 1282 # KOPIEREN DER SCRIPTE 1283 if [[ $local_host = decalpha ]] 1284 then 1285 # DECALPHA BENUTZT BEI NICHTANGABE DES VOLLSTÄNDIGEN PFADES 1286 # IRGENDEIN ANDERES SCP (WAS NICHT FUNKTIONIERT). AUSSERDEM 1287 # KOENNEN DOLLAR-ZEICHEN NICHT BENUTZT WERDEN 1288 remote_ud=`echo $remote_ud | sed 's/\$HOME\///'` 1289 /bin/scp batch_scp mbuild mrun subjob ${remote_username}@${remote_addres}:${remote_ud}/../SCRIPTS > /dev/null 1290 else 1291 scp Makefile *.f90 ${remote_username}@${remote_addres}:${remote_ud}/../SCRIPTS > /dev/null 1292 fi 1293 1294 cd - > /dev/null 1295 cd ${local_source_path}/../UTIL 1296 1297 1298 # KOPIEREN DER UTILITY-PROGRAMME 1255 1299 if [[ $local_host = decalpha ]] 1256 1300 then … … 1274 1318 if [[ $remote_host = nech ]] 1275 1319 then 1276 make_call_string="sxmake F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$compiler_options\" LDFLAGS=\"$loader_options\" "1320 make_call_string="sxmake F90=$compiler_name F90_SER=$compiler_name_ser COPT=\"$cpp_options\" F90FLAGS=\"$compiler_options\" LDFLAGS=\"$loader_options\" " 1277 1321 else 1278 make_call_string="make F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$compiler_options\" LDFLAGS=\"$loader_options\" "1322 make_call_string="make F90=$compiler_name F90_SER=$compiler_name_ser COPT=\"$cpp_options\" F90FLAGS=\"$compiler_options\" LDFLAGS=\"$loader_options\" " 1279 1323 fi 1280 1324
Note: See TracChangeset
for help on using the changeset viewer.