- Timestamp:
- Dec 13, 2017 12:33:49 PM (7 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/.palm.config.crayh
r2554 r2693 26 26 %compiler_options -em -O3 -hnoomp -hnoacc -hfp3 -hdynamic 27 27 %linker_options -em -O3 -hnoomp -hnoacc -hfp3 -hdynamic -dynamic 28 %execute_command aprun -n {{MPI_TASKS}} -N {{TASKS_PER_NODE}} palm 28 %execute_command aprun -n {{mpi_tasks}} -N {{tasks_per_node}} palm 29 %execute_command_for_combine aprun -n 1 -N 1 ./combine_plot_fields.x 29 30 %memory 2300 30 31 %module_commands module load fftw cray-hdf5-parallel cray-netcdf-hdf5parallel 31 32 %login_init_cmd module switch craype-ivybridge craype-haswell 32 33 # 33 # BATCH-directives to be used for batch jobs .34 # BATCH-directives to be used for batch jobs 34 35 BD:#!/bin/bash 35 BD:#PBS -A {{ PROJECT_ACCOUNT}}36 BD:#PBS -N {{ JOB_ID}}37 BD:#PBS -l walltime={{ CPU_HOURS}}:{{CPU_MINUTES}}:{{CPU_SECONDS}}38 BD:#PBS -l nodes={{ NODES}}:ppn={{TASKS_PER_NODE}}39 BD:#PBS -o {{ JOBFILE}}36 BD:#PBS -A {{project_account}} 37 BD:#PBS -N {{job_id}} 38 BD:#PBS -l walltime={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}} 39 BD:#PBS -l nodes={{nodes}}:ppn={{tasks_per_node}} 40 BD:#PBS -o {{job_protocol_file}} 40 41 BD:#PBS -j oe 41 BD:#PBS -q {{ QUEUE}}42 BD:#PBS -q {{queue}} 42 43 # 43 44 # BATCH-directives for batch jobs used to send back the jobfile from a remote to a local host 44 45 BDT:#!/bin/bash 45 BDT:#PBS -A {{ PROJECT_ACCOUNT}}46 BDT:#PBS -A {{project_account}} 46 47 BDT:#PBS -N job_protocol_transfer 47 48 BDT:#PBS -l walltime=00:30:00 48 49 BDT:#PBS -l nodes=1:ppn=1 49 BDT:#PBS -o {{ JOB_TRANSFER_PROTOCOL_FILE}}50 BDT:#PBS -o {{job_transfer_protocol_file}} 50 51 BDT:#PBS -j oe 51 52 BDT:#PBS -q dataq -
palm/trunk/SCRIPTS/.palm.config.default
r2481 r2693 18 18 %linker_options -openmp -fpe0 -O3 -xHost -fp-model source -ftz -fno-alias -no-prec-div -no-prec-sqrt -ip -nbs -I /muksoft/packages/fftw/3.3.4/include -L/muksoft/packages/fftw/3.3.4/lib64 -lfftw3 -I /muksoft/packages/netcdf/4_intel/include -L/muksoft/packages/netcdf/4_intel/lib -lnetcdf -lnetcdff 19 19 %hostfile auto 20 %execute_command mpiexec -machinefile hostfile -n {{ MPI_TASKS}} palm20 %execute_command mpiexec -machinefile hostfile -n {{mpi_tasks}} palm 21 21 # 22 22 #---------------------------------------------------------------------------- -
palm/trunk/SCRIPTS/.palm.config.default.in
r2690 r2693 37 37 %compiler_options @PALM_COMPILER_OPTIONS@ 38 38 %linker_options @PALM_LINKER_OPTIONS@ 39 %execute_command mpirun -n {{ MPI_TASKS}} ./palm39 %execute_command mpirun -n {{mpi_tasks}} ./palm 40 40 #%memory 2300 41 41 #%module_commands module load fftw cray-hdf5-parallel cray-netcdf-hdf5parallel … … 45 45 # Directives to be used for batch jobs 46 46 # Lines must start with "BD:". If $-characters are required, hide them with \ 47 # Internal variables can be used as {{ VARIABLE_NAME}}. Please see documentation.47 # Internal variables can be used as {{variable_name}}. Please see documentation. 48 48 #------------------------------------------------------------------------------- 49 49 BD:#!/bin/bash 50 BD:#PBS -N {{ JOB_ID}}51 BD:#PBS -l walltime={{ CPU_HOURS}}:{{CPU_MINUTES}}:{{CPU_SECONDS}}52 BD:#PBS -l nodes={{ NODES}}:ppn={{TASKS_PER_NODE}}53 BD:#PBS -o {{ JOBFILE}}50 BD:#PBS -N {{job_id}} 51 BD:#PBS -l walltime={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}} 52 BD:#PBS -l nodes={{nodes}}:ppn={{tasks_per_node}} 53 BD:#PBS -o {{job_protocol_file}} 54 54 BD:#PBS -j oe 55 BD:#PBS -q {{ QUEUE}}55 BD:#PBS -q {{queue}} 56 56 # 57 57 #------------------------------------------------------------------------------- 58 58 # Directives for batch jobs used to send back the jobfiles from a remote to a local host 59 59 # Lines must start with "BDT:". If $-characters are required, excape them with triple backslash 60 # Internal variables can be used as {{ VARIABLE_NAME}}. Please see documentation.60 # Internal variables can be used as {{variable_name}}. Please see documentation. 61 61 #------------------------------------------------------------------------------- 62 62 BDT:#!/bin/bash … … 64 64 BDT:#PBS -l walltime=00:30:00 65 65 BDT:#PBS -l nodes=1:ppn=1 66 BDT:#PBS -o {{ JOB_TRANSFER_PROTOCOL_FILE}}66 BDT:#PBS -o {{job_transfer_protocol_file}} 67 67 BDT:#PBS -j oe 68 68 BDT:#PBS -q dataq -
palm/trunk/SCRIPTS/.palm.config.idefix
r2554 r2693 29 29 %module_commands module load intel-compiler/2017.1.132 mvapich2/2.2/intel fftw/3.3.6-pl1/mvapich2-intel hdf5-parallel/1.10.0-patch1/intel netcdf4_hdf5parallel/4411c_443f/intel 30 30 # 31 %execute_command mpirun -machinefile hostfile -n {{ MPI_TASKS}} palm31 %execute_command mpirun -machinefile hostfile -n {{mpi_tasks}} palm 32 32 # 33 33 # 34 34 # BATCH-directives to be used for batch jobs. 35 35 BD:#!/bin/bash 36 BD:#PBS -N{{ JOB_ID}}37 BD:#PBS -l walltime={{ CPU_HOURS}}:{{CPU_MINUTES}}:{{CPU_SECONDS}}38 BD:#PBS -l ncpus={{ CORES}}39 BD:#PBS -o{{ JOBFILE}}36 BD:#PBS -N{{job_id}} 37 BD:#PBS -l walltime={{cpu_hours}}:{{cpu_minutes}}:{{cpu_seconds}} 38 BD:#PBS -l ncpus={{cores}} 39 BD:#PBS -o{{job_protocol_file}} 40 40 BD:#PBS -j oe 41 BD:#PBS -q{{ QUEUE}}41 BD:#PBS -q{{queue}} 42 42 # 43 43 # BATCH-directives for batch jobs used to send back the jobfile from a remote to a local host … … 46 46 BDT:#PBS -l walltime=00:30:00 47 47 BDT:#PBS -l ncpus=1 48 BDT:#PBS -o{{ JOB_TRANSFER_PROTOCOL_FILE}}48 BDT:#PBS -o{{job_transfer_protocol_file}} 49 49 BDT:#PBS -j oe 50 50 BDT:#PBS -q workq -
palm/trunk/SCRIPTS/.palm.config.imuk
r2481 r2693 5 5 %base_data ~/palm/current_version/JOBS 6 6 %base_directory $HOME/palm/current_version 7 %fast_io_catalog /localdata/raasch 7 8 %source_path $HOME/palm/current_version/trunk/SOURCE 8 9 %user_source_path $base_directory/JOBS/$fname/USER_CODE … … 10 11 %local_ip 130.75.105.103 11 12 %local_username raasch 12 %fast_io_catalog /localdata/raasch13 13 %compiler_name mpif90 14 14 %compiler_name_ser ifort … … 18 18 %linker_options -openmp -fpe0 -O3 -xHost -fp-model source -ftz -fno-alias -no-prec-div -no-prec-sqrt -ip -nbs -I /muksoft/packages/fftw/3.3.4/include -L/muksoft/packages/fftw/3.3.4/lib64 -lfftw3 -I /muksoft/packages/netcdf/4_intel/include -L/muksoft/packages/netcdf/4_intel/lib -lnetcdf -lnetcdff 19 19 %hostfile auto 20 %execute_command mpiexec -machinefile hostfile -n {{ MPI_TASKS}} palm20 %execute_command mpiexec -machinefile hostfile -n {{mpi_tasks}} palm 21 21 # 22 22 #---------------------------------------------------------------------------- -
palm/trunk/SCRIPTS/palmrun
r2670 r2693 27 27 # ----------------- 28 28 # $Id$ 29 # replacement of variables given by {{<variable>}} in configuration file is now 30 # done in a more general way, variable names are written in small letters 31 # 32 # 2670 2017-12-06 16:32:19Z raasch 29 33 # test printouts removed 30 34 # … … 2041 2045 2042 2046 # REPLACE PARAMETERS IN THE EXECUTION COMMAND WITH REAL VALUES 2043 line=`echo "${execute_command}" | sed 's/{{ MPI_TASKS}}/$mpi_tasks/g' | sed 's/{{TASKS_PER_NODE}}/$tasks_per_node/g'`2044 line2=`echo "${execute_command}" | sed 's/{{ MPI_TASKS}}/1/g' | sed 's/{{TASKS_PER_NODE}}/1/g' | sed 's/palm/combine_plot_fields.x/g'`2047 line=`echo "${execute_command}" | sed 's/{{/$/g' | sed 's/}}//g'` 2048 line2=`echo "${execute_command}" | sed 's/{{mpi_tasks}}/1/g' | sed 's/{{tasks_per_node}}/1/g' | sed 's/palm/combine_plot_fields.x/g'` 2045 2049 eval line=\"$line\" 2046 2050 execute_command="$line" … … 2700 2704 do 2701 2705 (( i = i + 1 )) 2702 line=`echo "${batch_directive[$i]}" | sed 's/{{ JOB_ID}}/$job_id/g' | sed 's/{{JOBFILE}}/$job_protocol_file/g' | sed 's/{{CPU_HOURS}}/$cpu_hours/g' | sed 's/{{CPU_MINUTES}}/$cpu_minutes/g' | sed 's/{{CPU_SECONDS}}/$cpu_seconds/g' | sed 's/{{NODES}}/$nodes/g' | sed 's/{{CORES}}/$cores/g' | sed 's/{{TASKS_PER_NODE}}/$tasks_per_node/g' | sed 's/{{HOST_CONFIGURATION}}/${host_configuration}/g' | sed 's/{{FNAME}}/$fname/g' | sed 's/{{QUEUE}}/$queue/g' | sed 's/{{MEMORY}}/$memory/g' | sed 's/{{PROJECT_ACCOUNT}}/$project_account/g' | sed 's/{{PREVIOUS_JOB}}/$previous_job/g' | sed 's/{{TEMPDIR}}/$tempdir/g'`2706 line=`echo "${batch_directive[$i]}" | sed 's/{{/$/g' | sed 's/}}//g'` 2703 2707 eval line=\"$line\" 2704 2708 echo "$line" >> $jobfile … … 2722 2726 do 2723 2727 (( i = i + 1 )) 2724 line=`echo "${batch_directive_transfer[$i]}" | sed 's/{{ JOB_ID}}/$job_id/g' | sed 's/{{JOBFILE}}/$job_protocol_file/g' | sed 's/{{JOB_TRANSFER_PROTOCOL_FILE}}/$job_transfer_protocol_file/g' | sed 's/{{CPU_HOURS}}/$cpu_hours/g' | sed 's/{{CPU_MINUTES}}/$cpu_minutes/g' | sed 's/{{CPU_SECONDS}}/$cpu_seconds/g' | sed 's/{{NODES}}/$nodes/g' | sed 's/{{TASKS_PER_NODE}}/$tasks_per_node/g' | sed 's/{{HOST_CONFIGURATION}}/${host_configuration}/g' | sed 's/{{FNAME}}/$fname/g' | sed 's/{{PROJECT_ACCOUNT}}/$project_account/g'`2728 line=`echo "${batch_directive_transfer[$i]}" | sed 's/{{/$/g' | sed 's/}}//g'` 2725 2729 eval line=\"$line\" 2726 2730 echo "$line" >> $jobfile
Note: See TracChangeset
for help on using the changeset viewer.