Changeset 179
- Timestamp:
- Jul 16, 2008 11:47:48 AM (16 years ago)
- Location:
- palm/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r172 r179 147 147 # adjustments for lcxt4 (Bergen Center for Computational 148 148 # Science) 149 # 14/07/08 - Siggi - adjustments for lcsgih 149 150 150 151 # VARIABLENVEREINBARUNGEN + DEFAULTWERTE … … 1825 1826 lopts="$lopts $netcdf_lib $dvrp_lib" 1826 1827 ROPTS="$ropts" 1827 if [[ ( $(echo $host | cut -c1-3) = nec || $(echo $host | cut -c1-3) = ibm || $host = lc tit || $host = lcfimm || $host = lcxt4 ) && -n $numprocs ]]1828 if [[ ( $(echo $host | cut -c1-3) = nec || $(echo $host | cut -c1-3) = ibm || $host = lcsgih || $host = lcsgib || $host = lctit || $host = lcfimm || $host = lcxt4 ) && -n $numprocs ]] 1828 1829 then 1829 1830 XOPT="-X $numprocs" … … 2754 2755 # COPY HOSTFILE FROM SOURCE DIRECTORY OR CREATE IT, IF IT 2755 2756 # DOES NOT EXIST 2756 if [[ -f $hostfile ]] 2757 then 2758 cp $hostfile hostfile 2759 else 2760 (( ii = 1 )) 2761 while (( ii <= $numprocs / $threads_per_task )) 2762 do 2763 echo $localhost_realname >> hostfile 2764 (( ii = ii + 1 )) 2765 done 2766 fi 2757 if [[ $host != lcsgih && $host != lcsgib ]] 2758 then 2759 if [[ -f $hostfile ]] 2760 then 2761 cp $hostfile hostfile 2762 else 2763 (( ii = 1 )) 2764 while (( ii <= $numprocs / $threads_per_task )) 2765 do 2766 echo $localhost_realname >> hostfile 2767 (( ii = ii + 1 )) 2768 done 2769 fi 2770 eval zeile=\"`head -n $ii hostfile`\" 2771 printf "\n *** running on: $zeile" 2772 fi 2773 2767 2774 (( ii = $numprocs / $threads_per_task )) 2768 eval zeile=\"`head -n $ii hostfile`\"2769 printf "\n *** running on: $zeile"2770 2775 export OMP_NUM_THREADS=$threads_per_task 2776 echo "OMP_NUM_THREADS=$OMP_NUM_THREADS" 2771 2777 if [[ $threads_per_task != 1 ]] 2772 2778 then … … 2776 2782 then 2777 2783 printf "\n\n" 2778 if [[ $host = lcxt4 ]] 2784 if [[ $host = lcsgih || $host = lcsgib ]] 2785 then 2786 echo " --- Content of \$PBS_NODEFILE:" 2787 cat $PBS_NODEFILE 2788 echo " --- end content" 2789 mpirun -machinefile $PBS_NODEFILE -np $ii a.out $ROPTS 2790 elif [[ $host = lcxt4 ]] 2779 2791 then 2780 2792 aprun -n $ii -N $tasks_per_node a.out $ROPTS -
palm/trunk/SCRIPTS/subjob
r169 r179 92 92 # 15/05/08 - Siggi - adjustments for lcxt4 (Bergen Center for Computational 93 93 # Science) 94 # 14/07/08 - Siggi - adjustments for lcsgih 94 95 95 96 … … 171 172 (hexagon.bccs.uib.no) local_addres=129.177.20.113; local_host=lcxt4;; 172 173 (hreg*-en0|hanni*-en0) local_addres=130.75.4.10; local_host=ibmh;; 174 (h01*) local_addres=10.152.0.7; local_host=lcsgih;; 173 175 (irifi) local_addres=130.75.105.104; local_host=lcmuk;; 174 176 (levanto) local_addres=130.75.105.45; local_host=lcmuk;; … … 180 182 (quanero) local_addres=130.75.105.107; local_host=lcmuk;; 181 183 (scirocco) local_addres=172.20.25.41; local_host=lcmuk;; 184 (service100) local_addres=10.152.0.7; local_host=lcsgih;; 182 185 (sun1|sun2) local_addres=130.75.6.1; local_host=unics;; 186 (r1*) local_addres=10.152.0.7; local_host=lcsgih;; 183 187 (tgg*) local_addres=172.17.75.161; local_host=lctit;; 184 188 (vorias) local_addres=172.20.25.43; local_host=lcmuk;; … … 306 310 (ibmy) queue=parallel; remote_addres=165.132.26.58; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 307 311 (lcfimm) remote_addres=172.20.4.2; submcom=/opt/torque/bin/qsub;; 312 (lcsgih) remote_addres=10.152.0.7; submcom=/opt/moab/bin/msub;; 308 313 (lctit) queue=lctit; remote_addres=172.17.75.161; submcom=/n1ge/TITECH_GRID/tools/bin/n1ge;; 309 314 (lcxt4) remote_addres=129.177.20.113; submcom=/opt/torque/2.3.0/bin/qsub;; … … 661 666 fi 662 667 668 elif [[ $remote_host = lcsgih ]] 669 then 670 671 if [[ $numprocs != 0 ]] 672 then 673 cat > $job_to_send << %%END%% 674 #PBS -S /bin/bash 675 #PBS -N $job_name 676 #PBS -l walltime=$timestring 677 #PBS -l nodes=$nodes:ppn=${tasks_per_node}:xe 678 #PBS -l naccesspolicy=singlejob 679 #PBS -o $remote_dayfile 680 #PBS -j oe 681 682 . /usr/share/modules/init/bash 683 module load mvapich/mvapich-0.9.9-intel 684 module load netcdf 685 export LD_LIBRARY_PATH=/sw/intel/fce/10.1.015/lib:/sw/dataformats/netcdf/3.6.2/lib:$LD_LIBRARY_PATH 686 687 echo ld_library_path=$LD_LIBRARY_PATH 688 689 %%END%% 690 691 else 692 cat > $job_to_send << %%END%% 693 #PBS -S /bin/bash 694 #PBS -N $job_name 695 #PBS -l walltime=$timestring 696 #PBS -l ncpus=1 697 #PBS -o $remote_dayfile 698 #PBS -e $remote_dayfile 699 700 %%END%% 701 702 fi 703 663 704 elif [[ $remote_host = lcxt4 ]] 664 705 then -
palm/trunk/SOURCE/CURRENT_MODIFICATIONS
r177 r179 106 106 Bugfix: a stop command was missing in some cases of the parallel branch (local_stop) 107 107 Bugfix in volume flow control for non-cyclic boundary conditions (pres) 108 Bugfix: misplaced #endif directives (combine_plot_fields) 108 109 109 110 -
palm/trunk/UTIL/combine_plot_fields.f90
r139 r179 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! Bugfix: three misplaced #endif directives 7 7 ! 8 8 ! Former revisions: … … 298 298 ENDDO ! av = 0, 1 299 299 300 ENDIF 301 #endif 300 #endif 301 ENDIF 302 302 303 303 ! … … 420 420 ENDIF 421 421 422 ENDIF 423 #endif 422 #endif 423 ENDIF 424 424 425 425 ENDDO … … 608 608 ENDDO ! av=0,1 609 609 610 #endif 610 611 ENDIF 611 #endif612 612 613 613 ! … … 736 736 INTEGER, INTENT(IN) :: errno 737 737 738 #if defined( __netcdf ) 738 739 IF ( nc_stat /= NF90_NOERR ) THEN 739 740 PRINT*, '+++ combine_plot_fields netcdf: ', av, errno, & 740 741 TRIM( nf90_strerror( nc_stat ) ) 741 742 ENDIF 743 #endif 742 744 743 745 END SUBROUTINE handle_netcdf_error
Note: See TracChangeset
for help on using the changeset viewer.