- Timestamp:
- Jul 10, 2013 4:22:07 PM (11 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/.mrun.config.forwind
r1152 r1202 10 10 # by "/iwes/" if your user directory resides in /iwes/. 11 11 ################################################################################ 12 %output_data /data/work/ fw/<REPLACE BY YOUR USERNAME>/palm/current_version/JOBS12 %output_data /data/work/gpfs/fw/<REPLACE BY YOUR USERNAME>/palm/current_version/JOBS 13 13 %source_path $base_directory/trunk/SOURCE 14 14 %add_source_path $base_directory/USER_CODE/$fname … … 66 66 ################################################################################ 67 67 %remote_username <USERNAME_FLOW> lcflow parallel 68 %tmp_user_catalog /data/work/ fw/$remote_username/tmp lcflow parallel69 %tmp_data_catalog /data/work/ fw/$remote_username/palm_restart_data lcflow parallel68 %tmp_user_catalog /data/work/gpfs/fw/$remote_username/tmp lcflow parallel 69 %tmp_data_catalog /data/work/gpfs/fw/$remote_username/palm_restart_data lcflow parallel 70 70 %compiler_name mpiifort lcflow parallel 71 71 %compiler_name_ser ifort lcflow parallel … … 77 77 %lopts -xhost:-O3:-fpp:-r8:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-sqrt:-ip:-nbs:-static-intel:-Wl,-rpath:/cm/shared/apps/intel/ics-2011.0.013/composerxe-2011.0.084/compiler/lib/intel64 lcflow parallel 78 78 %login_init_cmd .:/etc/bashrc lcflow parallel 79 %modules sge/6.2u5p2:netcdf/4.2.1.1/intel/64/2011.0.013:netcdf-fortran/4.2/intel/64/2011.0.013:intel/ics/64/2011.0.013:intel/impi/64/4. 0.1.007:hdf5/1.8.9/intel/64/2011.0.013:qt4 lcflow parallel79 %modules sge/6.2u5p2:netcdf/4.2.1.1/intel/64/2011.0.013:netcdf-fortran/4.2/intel/64/2011.0.013:intel/ics/64/2011.0.013:intel/impi/64/4.1.0.024:hdf5/1.8.9/intel/64/2011.0.013:qt4 lcflow parallel 80 80 %disc_space 50 lcflow parallel 81 81 # … … 108 108 # List of input-files 109 109 #---------------------------------------------------------------------------- 110 PARIN in:job d3# $base_data/$fname/INPUT _p3d 111 PARIN in:job d3f $base_data/$fname/INPUT _p3df 112 TOPOGRAPHY_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _topo 113 BININ in:loc:flpe d3f:rec $base_data/$fname/RESTART _d3d 114 PARTICLE_RESTART_DATA_IN in:loc:flpe prtf $base_data/$fname/RESTART _rprt 115 DATA_1D_PR_NETCDF in:locopt prf $output_data/$fname/OUTPUT _pr nc 116 DATA_1D_SP_NETCDF in:locopt spf $output_data/$fname/OUTPUT _sp nc 117 DATA_1D_TS_NETCDF in:locopt tsf $output_data/$fname/OUTPUT _ts nc 118 DATA_1D_PTS_NETCDF in:locopt ptsf $output_data/$fname/OUTPUT _pts nc 119 DATA_2D_XY_NETCDF in:locopt xyf $output_data/$fname/OUTPUT _xy nc 120 DATA_2D_XY_AV_NETCDF in:locopt xyf $output_data/$fname/OUTPUT _xy_av nc 121 DATA_2D_XZ_NETCDF in:locopt xzf $output_data/$fname/OUTPUT _xz nc 122 DATA_2D_XZ_AV_NETCDF in:locopt xzf $output_data/$fname/OUTPUT _xz_av nc 123 DATA_2D_YZ_NETCDF in:locopt yzf $output_data/$fname/OUTPUT _yz nc 124 DATA_3D_NETCDF in:locopt 3df $output_data/$fname/OUTPUT _3d nc 125 DATA_3D_AV_NETCDF in:locopt 3df $output_data/$fname/OUTPUT _3d_av nc 126 DATA_PRT_NETCDF in:locopt:pe prtf $output_data/$fname/OUTPUT _prt 110 PARIN in:job d3# $base_data/$fname/INPUT _p3d 111 PARIN in:job d3f $base_data/$fname/INPUT _p3df 112 TOPOGRAPHY_DATA in:locopt d3#:d3f $base_data/$fname/INPUT _topo 113 BININ in:loc:flpe d3f:rec $base_data/$fname/RESTART _d3d 114 PARTICLE_RESTART_DATA_IN in:loc:flpe prtf $base_data/$fname/RESTART _rprt 115 DATA_1D_PR_NETCDF in:locopt prf $output_data/$fname/OUTPUT _pr nc 116 DATA_1D_SP_NETCDF in:locopt spf $output_data/$fname/OUTPUT _sp nc 117 DATA_1D_TS_NETCDF in:locopt tsf $output_data/$fname/OUTPUT _ts nc 118 DATA_1D_PTS_NETCDF in:locopt ptsf $output_data/$fname/OUTPUT _pts nc 119 DATA_2D_XY_NETCDF in:locopt xyf $output_data/$fname/OUTPUT _xy nc 120 DATA_2D_XY_AV_NETCDF in:locopt xyf $output_data/$fname/OUTPUT _xy_av nc 121 DATA_2D_XZ_NETCDF in:locopt xzf $output_data/$fname/OUTPUT _xz nc 122 DATA_2D_XZ_AV_NETCDF in:locopt xzf $output_data/$fname/OUTPUT _xz_av nc 123 DATA_2D_YZ_NETCDF in:locopt yzf $output_data/$fname/OUTPUT _yz nc 124 DATA_2D_YZ_AV_NETCDF in:locopt yzf $output_data/$fname/OUTPUT _yz_av nc 125 DATA_3D_NETCDF in:locopt 3df $output_data/$fname/OUTPUT _3d nc 126 DATA_3D_AV_NETCDF in:locopt 3df $output_data/$fname/OUTPUT _3d_av nc 127 DATA_PRT_NETCDF in:locopt:pe prtf $output_data/$fname/OUTPUT _prt nc 127 128 # 128 129 #---------------------------------------------------------------------------- … … 139 140 CPU_MEASURES out:loc:tra d3f $base_data/$fname/MONITORING _cpu 140 141 # 141 DATA_1D_PR_NETCDF out:loc pr# $output_data/$fname/OUTPUT _pr nc142 DATA_1D_PR_NETCDF out:loc prf $output_data/$fname/OUTPUT _pr nc143 DATA_1D_SP_NETCDF out:loc sp# $output_data/$fname/OUTPUT _sp nc144 DATA_1D_SP_NETCDF out:loc spf $output_data/$fname/OUTPUT _sp nc145 DATA_1D_TS_NETCDF out:loc ts# $output_data/$fname/OUTPUT _ts nc146 DATA_1D_TS_NETCDF out:loc tsf $output_data/$fname/OUTPUT _ts nc147 DATA_1D_PTS_NETCDF out:loc pts# $output_data/$fname/OUTPUT _pts nc148 DATA_1D_PTS_NETCDF out:loc ptsf $output_data/$fname/OUTPUT _pts nc149 DATA_2D_XY_NETCDF out:loc xy#:xyf $output_data/$fname/OUTPUT _xy nc150 DATA_2D_XY_AV_NETCDF out:loc xy#:xyf $output_data/$fname/OUTPUT _xy_av nc151 DATA_2D_XZ_NETCDF out:loc xz#:xzf $output_data/$fname/OUTPUT _xz nc152 DATA_2D_XZ_AV_NETCDF out:loc xz#:xzf $output_data/$fname/OUTPUT _xz_av nc153 DATA_2D_YZ_NETCDF out:loc yz#:yzf $output_data/$fname/OUTPUT _yz nc154 DATA_2D_YZ_AV_NETCDF out:loc yz#:yzf $output_data/$fname/OUTPUT _yz_av nc155 DATA_3D_NETCDF out:loc 3d#:3df $output_data/$fname/OUTPUT _3d nc156 DATA_3D_AV_NETCDF out:loc 3d#:3df $output_data/$fname/OUTPUT _3d_av nc142 DATA_1D_PR_NETCDF out:loc pr# $output_data/$fname/OUTPUT _pr nc 143 DATA_1D_PR_NETCDF out:loc prf $output_data/$fname/OUTPUT _pr nc 144 DATA_1D_SP_NETCDF out:loc sp# $output_data/$fname/OUTPUT _sp nc 145 DATA_1D_SP_NETCDF out:loc spf $output_data/$fname/OUTPUT _sp nc 146 DATA_1D_TS_NETCDF out:loc ts# $output_data/$fname/OUTPUT _ts nc 147 DATA_1D_TS_NETCDF out:loc tsf $output_data/$fname/OUTPUT _ts nc 148 DATA_1D_PTS_NETCDF out:loc pts# $output_data/$fname/OUTPUT _pts nc 149 DATA_1D_PTS_NETCDF out:loc ptsf $output_data/$fname/OUTPUT _pts nc 150 DATA_2D_XY_NETCDF out:loc xy#:xyf $output_data/$fname/OUTPUT _xy nc 151 DATA_2D_XY_AV_NETCDF out:loc xy#:xyf $output_data/$fname/OUTPUT _xy_av nc 152 DATA_2D_XZ_NETCDF out:loc xz#:xzf $output_data/$fname/OUTPUT _xz nc 153 DATA_2D_XZ_AV_NETCDF out:loc xz#:xzf $output_data/$fname/OUTPUT _xz_av nc 154 DATA_2D_YZ_NETCDF out:loc yz#:yzf $output_data/$fname/OUTPUT _yz nc 155 DATA_2D_YZ_AV_NETCDF out:loc yz#:yzf $output_data/$fname/OUTPUT _yz_av nc 156 DATA_3D_NETCDF out:loc 3d#:3df $output_data/$fname/OUTPUT _3d nc 157 DATA_3D_AV_NETCDF out:loc 3d#:3df $output_data/$fname/OUTPUT _3d_av nc 157 158 DATA_MASK_01_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m01 nc 158 159 DATA_MASK_01_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m01_av nc … … 195 196 DATA_MASK_20_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m20 nc 196 197 DATA_MASK_20_AV_NETCDF out:loc ma#:maf $output_data/$fname/OUTPUT _m20_av nc 197 DATA_PRT_NETCDF out:loc:pe prt#:prtf $output_data/$fname/OUTPUT _prt nc 198 DATA_PRT_NETCDF out:loc:pe prt#:prtf $output_data/$fname/OUTPUT _prt nc 198 DATA_PRT_NETCDF out:loc:pe prt#:prtf $output_data/$fname/OUTPUT _prt nc 199 199 DATA_DVR out:loc:pe dvr $output_data/$fname/OUTPUT _dvr 200 200 # -
palm/trunk/SCRIPTS/batch_scp
r1100 r1202 22 22 # Current revisions: 23 23 # ------------------ 24 # 24 # adjustments for Forwind cluster (lcflow): using absolute paths for ssh 25 25 # 26 26 # Former revisions: … … 258 258 259 259 260 # Using absolute paths for ssh on lcflow (nodes "cfd_*") as the paths of the 261 # job scheduler have changed 262 if [[ $(echo $local_host | cut -c1-3) = "cfd" ]] 263 then 264 SSH_BIN=/usr/bin/ssh 265 else 266 SSH_BIN=ssh 267 fi 268 269 260 270 # PRUEFEN, OB LOKALE DATEI/LOKALES VERZEICHNIS VORHANDEN BZW. NICHT VORHANDEN 261 271 if [[ $get = false ]] … … 317 327 ssh $SSH_PORTOPT $local_user@gaiad "ssh $SSH_PORTOPT $1 -l $remote_user \"unset LANG; cd $3; ls -1; echo '*** list complete'\" " > $filelist 2>&1 318 328 else 319 ssh$SSH_PORTOPT $1 -l $remote_user "unset LANG; cd $3; ls -1; echo '*** list complete'" > $filelist 2>&1329 $SSH_BIN $SSH_PORTOPT $1 -l $remote_user "unset LANG; cd $3; ls -1; echo '*** list complete'" > $filelist 2>&1 320 330 fi 321 331 ssh_status=$? … … 527 537 ssh $SSH_PORTOPT $local_user@gaiad "ssh $1 -l $remote_user \"cd $3\" " > $filelist 528 538 else 529 ssh$SSH_PORTOPT $1 -l $remote_user "cd $3" > $filelist539 $SSH_BIN $SSH_PORTOPT $1 -l $remote_user "cd $3" > $filelist 530 540 fi 531 541 if [[ $? != 0 ]] … … 608 618 remote_size=`ssh $SSH_PORTOPT $local_user@gaiad "ssh $SSH_PORTOPT $1 -l $remote_user \"ls -al $catalog_name$4$zyklusnr\" "` 609 619 else 610 remote_size=` ssh$SSH_PORTOPT $1 -l $remote_user "ls -al $catalog_name$4$zyklusnr"`620 remote_size=`$SSH_BIN $SSH_PORTOPT $1 -l $remote_user "ls -al $catalog_name$4$zyklusnr"` 611 621 fi 612 622 remote_size=`echo $remote_size | cut -d" " -f5` … … 638 648 remote_size=`ssh $SSH_PORTOPT $local_user@gaiad "ssh $SSH_PORTOPT $1 -l $remote_user \"ls -al ${catalog_name}batch_scp_append_file.$random\" "` 639 649 else 640 remote_size=` ssh$SSH_PORTOPT $1 -l $remote_user "ls -al ${catalog_name}batch_scp_append_file.$random"`650 remote_size=`$SSH_BIN $SSH_PORTOPT $1 -l $remote_user "ls -al ${catalog_name}batch_scp_append_file.$random"` 641 651 fi 642 652 remote_size=`echo $remote_size | cut -d" " -f5` … … 657 667 ssh $SSH_PORTOPT $local_user@gaiad "ssh $SSH_PORTOPT $1 -l $remote_user \"cd $3; cat batch_scp_append_file.$random >> $4$zyklusnr; rm batch_scp_append_file.$random; echo '*** append complete'\" " > $filelist 658 668 else 659 ssh$SSH_PORTOPT $1 -l $remote_user "cd $3; cat batch_scp_append_file.$random >> $4$zyklusnr; rm batch_scp_append_file.$random; echo '*** append complete'" > $filelist669 $SSH_BIN $SSH_PORTOPT $1 -l $remote_user "cd $3; cat batch_scp_append_file.$random >> $4$zyklusnr; rm batch_scp_append_file.$random; echo '*** append complete'" > $filelist 660 670 fi 661 671 if [[ $? != 0 ]] … … 677 687 ssh $SSH_PORTOPT $local_user@gaiad "ssh $1 -l $remote_user \"mkdir -p $3\" " 678 688 else 679 ssh$SSH_PORTOPT $1 -l $remote_user "mkdir -p $3"689 $SSH_BIN $SSH_PORTOPT $1 -l $remote_user "mkdir -p $3" 680 690 fi 681 691 if [[ $? != 0 ]] -
palm/trunk/SCRIPTS/subjob
r1200 r1202 23 23 # Current revisions: 24 24 # ------------------ 25 # 25 # adjustments for Forwind cluster (lcflow) 26 26 # 27 27 # Former revisions: … … 837 837 elif [[ $remote_host = lcflow ]] 838 838 then 839 if [ $memory -gt 1 900 ]; then839 if [ $memory -gt 1800 ]; then 840 840 use_himem="" 841 841 else … … 844 844 if [[ $numprocs != 0 ]] 845 845 then 846 pe_set="#$ -pe impi $numprocs"847 else 848 pe_set="#$ -pe impi 1"846 pe_set="#$ -pe impi41 $numprocs" 847 else 848 pe_set="#$ -pe impi41 1" 849 849 fi 850 850 if [[ $queue = default ]] … … 1454 1454 echo "SGEPREFIX -cwd" >> $job_to_send 1455 1455 echo "SGEPREFIX -l h_rt=01:00:00" >> $job_to_send 1456 echo "SGEPREFIX -l h_vmem=100M" >> $job_to_send 1456 echo "SGEPREFIX -l h_vmem=500M" >> $job_to_send 1457 echo "SGEPREFIX -l excl_flow=false" >> $job_to_send 1457 1458 echo "SGEPREFIX -j y" >> $job_to_send 1458 1459 echo "SGEPREFIX -o ${local_host}_${job_name}_scpjob_$kennung" >> $job_to_send … … 1521 1522 then 1522 1523 echo "mv scpjob.$kennung $job_catalog" >> $job_to_send 1523 echo " ssh ${remote_username}@${remote_addres} \"$init_cmds $module_calls cd $job_catalog; $submcom scpjob.$kennung\" " >> $job_to_send1524 echo "/usr/bin/ssh ${remote_username}@${remote_addres} \"$init_cmds $module_calls cd $job_catalog; $submcom scpjob.$kennung\" " >> $job_to_send 1524 1525 else 1525 1526 echo "$submcom scpjob.$kennung" >> $job_to_send … … 1626 1627 elif [[ $remote_host = lcflow ]] 1627 1628 then 1628 ssh $SSH_PORTOPT $remote_addres -l $remote_user "$init_cmds $module_calls cd $job_catalog; $submcom $job_on_remhost"1629 /usr/bin/ssh $SSH_PORTOPT $remote_addres -l $remote_user "$init_cmds $module_calls cd $job_catalog; $submcom $job_on_remhost" 1629 1630 else 1630 1631 ssh $SSH_PORTOPT $remote_addres -l $remote_user "cd $job_catalog; $submcom $job_on_remhost; rm $job_on_remhost"
Note: See TracChangeset
for help on using the changeset viewer.