Changeset 170
- Timestamp:
- May 22, 2008 12:51:21 PM (17 years ago)
- Location:
- palm/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/.mrun.config.default
r131 r170 27 27 %compiler_name mpif90 lcmuk parallel 28 28 %compiler_name_ser ifort lcmuk parallel 29 %cpp_options -D MPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit:-D__intel_openmp_bug lcmuk parallel30 %netcdf_inc -I:/muksoft /packages/netcdf/linux/include lcmuk parallel31 %netcdf_lib -L/muksoft /packages/netcdf/linux/lib:-lnetcdf lcmuk parallel32 %fopts -axW:-cpp:-openmp:-r8:-nbs:-convert:little_endian lcmuk parallel33 %lopts -axW:-cpp:-openmp:-r8:-nbs:-Vaxlib lcmuk parallel29 %cpp_options -D__mpi2:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit:-D__intel_openmp_bug lcmuk parallel 30 %netcdf_inc -I:/muksoft_64/packages/netcdf/3.6.2/include lcmuk parallel 31 %netcdf_lib -L/muksoft_64/packages/netcdf/3.6.2/lib:-lnetcdf lcmuk parallel 32 %fopts -axW:-cpp:-openmp:-r8:-nbs:-convert:little_endian:-I:/muksoft/packages/mpich2/2.1.0.4/include lcmuk parallel 33 %lopts -axW:-cpp:-openmp:-r8:-nbs:-Vaxlib:-L:/muksoft/packages/mpich2/2.1.0.4/lib lcmuk parallel 34 34 #%hostfile $base_directory/.hostfile lcmuk parallel 35 35 # -
palm/trunk/SOURCE/read_var_list.f90
r159 r170 583 583 584 584 INTEGER :: idum, max_pr_user_on_file, nz_on_file, & 585 statistic_regions_on_file 585 statistic_regions_on_file, tmp_mpru, tmp_sr 586 586 587 587 REAL, DIMENSION(:,:,:), ALLOCATABLE :: hom_sum_on_file … … 645 645 ENDIF 646 646 READ ( 13 ) max_pr_user_on_file 647 IF ( max_pr_user_on_file >max_pr_user ) THEN647 IF ( max_pr_user_on_file /= max_pr_user ) THEN 648 648 IF ( myid == 0 ) THEN 649 PRINT*, '+++ read_parts_of_var_list: too manyuser profiles on res', &650 'tart data file '649 PRINT*, '+++ read_parts_of_var_list: number of user profiles on res', & 650 'tart data file differs from the current run' 651 651 PRINT*, ' max_pr_user on file = "', & 652 652 max_pr_user_on_file, '"' … … 654 654 max_pr_user, '"' 655 655 ENDIF 656 CALL local_stop 656 tmp_mpru = MIN( max_pr_user_on_file, max_pr_user ) 657 ELSE 658 tmp_mpru = max_pr_user 657 659 ENDIF 658 660 … … 666 668 IF ( statistic_regions_on_file > statistic_regions ) THEN 667 669 IF ( myid == 0 ) THEN 668 PRINT*, '+++ read_parts_of_var_list: too many statistic regions on', & 669 ' restart data file' 670 PRINT*, ' statistic regions on file = "', & 671 max_pr_user_on_file, '"' 672 PRINT*, ' statistic regions from run = "', & 673 max_pr_user, '"' 670 PRINT*, '+++ read_parts_of_var_list: WARNING: statistic regions on', & 671 ' restart data file differ from the current run' 672 PRINT*, ' statistic regions on file = "', & 673 statistic_regions_on_file, '"' 674 PRINT*, ' statistic regions from run = "', & 675 statistivc_regions, '"' 676 PRINT*, ' statistic data may be lost!' 674 677 ENDIF 675 CALL local_stop 678 tmp_sr = MIN( statistic_regions_on_file, statistic_regions ) 679 ELSE 680 tmp_sr = statistic_regions 676 681 ENDIF 677 682 … … 703 708 0:statistic_regions_on_file) ) 704 709 READ ( 13 ) hom_on_file 705 hom = hom_on_file(:,:,1:pr_palm+max_pr_user,0:statistic_regions) 710 hom(:,:,1:pr_palm+tmp_mpru,0:tmp_sr) = & 711 hom_on_file(:,:,1:pr_palm+tmp_mpru,0:tmp_sr) 706 712 DEALLOCATE( hom_on_file ) 707 713 … … 710 716 0:statistic_regions_on_file) ) 711 717 READ ( 13 ) hom_sum_on_file 712 hom_sum = hom_sum_on_file(:,1:pr_palm+max_pr_user,&713 0:statistic_regions)718 hom_sum(:,1:pr_palm+tmp_mpru,0:tmp_sr) = & 719 hom_sum_on_file(:,1:pr_palm+tmp_mpru,0:tmp_sr) 714 720 DEALLOCATE( hom_sum_on_file ) 715 721
Note: See TracChangeset
for help on using the changeset viewer.