Ignore:
Timestamp:
Mar 1, 2010 8:30:24 AM (15 years ago)
Author:
raasch
Message:

New:
---
Output in NetCDF4-format. New d3par-parameter netcdf_data_format.

(check_open, check_parameters, close_file, data_output_2d, data_output_3d, header, modules, netcdf, parin)

Modules to be loaded for compilation (mbuild) or job execution (mrun)
can be given in the configuration file using variable modules. Example:

%modules ifort/11.0.069:netcdf lcsgih parallel

This method replaces the (undocumented) mpilib-variable.

WARNING: All fixed settings of modules in the scripts mbuild, mrun, and subjob
have been removed! Please set the modules variable appropriately in your
configuration file. (mbuild, mrun, subjob)

Changed:


Parameters netcdf_64bit and netcdf_64bit_3d have been removed. Use
netcdf_data_format = 2 for choosing the classic 64bit-offset format (this is
the default). The offset-format can not be set independently for the
3d-output-data any more.

Parameters netcdf_format_mask, netcdf_format_mask_av, and variables
nc_format_mask, format_parallel_io removed. They are replaced by the new
parameter netcdf_data_format. (check_open, close_file,
data_output_mask, header, init_masks, modules, parin)

Errors:


bugfix in trunk/UTIL/Makefile: forgot to compile for interpret_config

Bugfix: timeseries data have to be collected by PE0 (user_statistics)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r475 r493  
    198198     # 03/02/10 - Siggi  - make options (mopts) to be set by configuration file
    199199     #                     implemented
     200     # 08/02/10 - Siggi  - loading of modules now controlled via configuration
     201     #                     file (modules)
    200202
    201203
     
    261263    mc=`echo $mc | cut -f2- -d"/"`
    262264 done
    263  module_files=""
     265 module_calls=""
    264266 mrun_script_name=$mc
    265267 netcdf_inc=""
     
    20722074
    20732075
     2076    # set module load command and export for subjob
     2077 if [[ "$modules" != "" ]]
     2078 then
     2079    export module_calls="module load ${modules};"
     2080 fi
     2081
     2082
    20742083    # SET DEFAULT VALUE FOR MPI MODULE TO BE USED ON SGI-ALTIX
    20752084 if [[ $host = lcsgib  ||  $host = lcsgih ]]
    20762085 then
    2077     [[ "$mpilib" = "" ]]  &&  export mpilib=mpt
     2086    if [[ $(echo $modules | grep -c mpt ) != 0 ]]
     2087    then
     2088       mpilib=mpt
     2089    elif [[ $(echo $modules | grep -c mvapich ) != 0 ]]
     2090    then
     2091       mpilib=mvapich
     2092    fi
    20782093 fi
    20792094
     
    21252140    if [[ "$mopts" != "" ]]
    21262141    then
    2127        spalte1=make-options:; spalte2=$mopts
     2142       spalte1="make options:"; spalte2=$mopts
    21282143       printf "| $spalte1$spalte2 | \n"
    21292144       zeile=$(echo "$mopts" | cut -c41-)
     
    21372152    fi
    21382153
    2139     spalte1=cpp-directives:; spalte2=$cpp_options
     2154    spalte1="cpp directives:"; spalte2=$cpp_options
    21402155    printf "| $spalte1$spalte2 | \n"
    21412156    zeile=$(echo "$cpp_options" | cut -c41-)
     
    21482163    done
    21492164
    2150     spalte1=compiler-options:; spalte2="$fopts"
     2165    spalte1="compiler options:"; spalte2="$fopts"
    21512166    printf "| $spalte1$spalte2 | \n"
    21522167    zeile=$(echo "$fopts" | cut -c41-)
     
    21592174    done
    21602175
    2161     spalte1=linker-options:; spalte2=$lopts
     2176    spalte1="linker options:"; spalte2=$lopts
    21622177    printf "| $spalte1$spalte2 | \n"
    21632178    zeile=$(echo "$lopts" | cut -c41-)
     2179    while [[ "$zeile" != "" ]]
     2180    do
     2181       spalte1=""
     2182       spalte2=$zeile
     2183       printf "| $spalte1$spalte2 | \n"
     2184       zeile=$(echo "$zeile" | cut -c41-)
     2185    done
     2186
     2187    spalte1="modules to be load:"; spalte2=$modules
     2188    printf "| $spalte1$spalte2 | \n"
     2189    zeile=$(echo "$modules" | cut -c41-)
    21642190    while [[ "$zeile" != "" ]]
    21652191    do
     
    23002326    tmpcreate=true
    23012327
     2328       # set striping on lustre file system
     2329#    if [[ $localhost = lcsgih ]]
     2330#    then
     2331#       lfs setstripe -s 8192k -c 16  $TEMPDIR
     2332#       lfs getstripe $TEMPDIR
     2333#    fi
     2334
    23022335
    23032336       # SAEMTLICHE QUELLTEXT-DATEIEN BZW. AUSFUEHRBARES PROGRAMM IN
     
    24302463       printf "      compilername:             $compiler_name\n"
    24312464       printf "      compiler options:         $fopts\n"
    2432        printf "      preprocessor-directives:  $cpp_options \n"
    2433        printf "      linker-options:           $lopts \n"
     2465       printf "      preprocessor directives:  $cpp_options \n"
     2466       printf "      linker options:           $lopts \n"
     2467       if [[ "$modules" != "" ]]
     2468       then
     2469          printf "      modules to be load:       $modules \n"
     2470       fi
    24342471       printf "      source code files:        $source_list \n"
    24352472
    24362473       if [[ $localhost = nech ]]
    24372474       then
    2438           ssh  136.172.44.192 -l $usern ". /SX/opt/etc/initsx.sh; cd \$HOME/work/${usern}.$kennung; sxmake $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
     2475          ssh  136.172.44.192 -l $usern ". /SX/opt/etc/initsx.sh; $module_calls cd \$HOME/work/${usern}.$kennung; sxmake $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
    24392476          cp  $TEMPDIR_COMPILE/a.out  .
    24402477          [[ $? != 0 ]]  &&  compile_error=true
     
    24432480       then
    24442481          printf "      compiler is called via ssh on \"plogin1\" \n"
    2445           ssh  plogin1  -l $usern  "export PATH=/sw/ibm/xlf/12.1.0.3/usr/bin:$PATH; cd $TEMPDIR; make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
     2482          ssh  plogin1  -l $usern  "export PATH=/sw/ibm/xlf/12.1.0.3/usr/bin:$PATH; $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
    24462483          [[ ! -f a.out ]]  &&  compile_error=true
    24472484          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
    24482485       elif [[ $localhost = lcsgib ]]
    24492486       then
    2450           printf "      compiler is called via ssh on \"bicegate\" using module \"$mpilib\" \n"
    2451           ssh  130.73.232.103  -l $usern  ". /usr/share/modules/init/bash; module load ifort/11.0.069; module load $mpilib; cd $TEMPDIR; make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
     2487          printf "      compiler is called via ssh on \"bicegate\" \n"
     2488          ssh  130.73.232.103  -l $usern  ". /usr/share/modules/init/bash; $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" "
    24522489          [[ ! -f a.out ]]  &&  compile_error=true
    24532490          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
    24542491       elif [[ $localhost = lcsgih ]]
    24552492       then
    2456           printf "      compiler is called via ssh on \"hicegate2\" using module \"$mpilib\" \n"
    2457           ssh  130.75.4.103    -l $usern  ". /usr/share/modules/init/bash; module load ifort/11.0.069; module load $mpilib; cd $TEMPDIR; make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" 2>&1 "
     2493          printf "      compiler is called via ssh on \"hicegate2\" \n"
     2494          ssh  130.75.4.103    -l $usern  ". /usr/share/modules/init/bash; $module_calls cd $TEMPDIR; make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT=\"$cpp_options\"  F90FLAGS=\"$fopts\"  LDFLAGS=\"$lopts\" 2>&1 "
    24582495          [[ ! -f a.out ]]  &&  compile_error=true
    24592496          continue   # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN
    24602497       else
    24612498          [[ $localhost = lctit ]]  &&  export LM_LICENSE_FILE=27050@tggls
     2499          [[ "$module_calls" != "" ]]  &&  eval $module_calls
    24622500          make $mopts -f Makefile PROG=a.out  F90=$compiler_name  COPT="$cpp_options"  F90FLAGS="$fopts"  LDFLAGS="$lopts"
    24632501       fi
Note: See TracChangeset for help on using the changeset viewer.